grin-wallet/libwallet/tests/slates/v0.slate
Yeastplume 02655afca8
Slate version conversions (#13)
* add slate upgrading/downgrading

* add slate versions

* slate versioning compilation and tests

* transaction slate responses downgrade themselves to the version of the caller

* add command line arg for target slate version output

* v2 versioning comment info

* doctest fixes
2019-03-12 16:48:14 +00:00

1027 lines
16 KiB
Text

{
"num_participants": 2,
"id": "e0c69803-db50-40d9-a968-496e86660cd4",
"tx": {
"offset": [
168,
83,
175,
235,
241,
93,
140,
17,
31,
101,
64,
89,
148,
9,
69,
180,
120,
44,
56,
102,
3,
151,
37,
119,
7,
181,
62,
191,
219,
64,
58,
82
],
"body": {
"inputs": [
{
"features": "Plain",
"commit": [
9,
211,
4,
174,
214,
48,
15,
129,
36,
235,
139,
45,
70,
204,
30,
10,
123,
122,
155,
144,
66,
185,
203,
53,
224,
32,
221,
149,
82,
223,
156,
105,
124
]
},
{
"features": "Plain",
"commit": [
9,
211,
204,
145,
93,
195,
23,
72,
93,
200,
187,
245,
236,
70,
105,
164,
11,
185,
211,
48,
12,
150,
223,
51,
132,
209,
22,
221,
173,
73,
141,
13,
177
]
}
],
"outputs": [
{
"features": "Plain",
"commit": [
8,
211,
69,
62,
181,
206,
53,
161,
182,
187,
194,
167,
169,
175,
227,
36,
131,
119,
76,
1,
31,
153,
117,
244,
35,
147,
70,
143,
165,
205,
67,
73,
167
],
"proof": [
219,
32,
104,
52,
192,
34,
238,
193,
243,
70,
166,
123,
87,
25,
65,
241,
182,
134,
122,
228,
189,
129,
137,
202,
6,
75,
105,
11,
50,
54,
126,
69,
74,
74,
90,
221,
81,
118,
28,
71,
43,
14,
9,
148,
206,
127,
0,
87,
139,
192,
106,
231,
185,
175,
223,
140,
226,
17,
133,
70,
119,
25,
118,
217,
0,
70,
66,
20,
211,
184,
49,
254,
116,
169,
72,
118,
152,
10,
146,
131,
21,
175,
181,
194,
175,
1,
143,
93,
89,
94,
86,
253,
116,
6,
88,
176,
196,
242,
212,
244,
99,
228,
1,
203,
236,
39,
4,
179,
16,
5,
205,
141,
125,
135,
69,
130,
144,
163,
102,
140,
194,
232,
44,
43,
8,
103,
217,
145,
7,
37,
68,
249,
232,
200,
5,
5,
108,
151,
255,
102,
204,
5,
44,
242,
169,
102,
103,
104,
208,
214,
138,
205,
198,
234,
31,
200,
15,
185,
181,
230,
225,
147,
102,
199,
180,
154,
218,
56,
179,
104,
192,
195,
227,
247,
57,
119,
223,
0,
63,
12,
103,
68,
115,
123,
49,
176,
88,
199,
212,
226,
118,
110,
151,
238,
4,
20,
126,
240,
75,
226,
41,
6,
240,
135,
132,
34,
5,
129,
60,
125,
129,
117,
152,
198,
137,
200,
64,
8,
125,
53,
204,
156,
233,
169,
143,
82,
230,
140,
102,
189,
222,
5,
33,
172,
248,
20,
115,
126,
253,
7,
38,
84,
114,
143,
65,
142,
100,
148,
167,
235,
127,
166,
48,
94,
199,
213,
114,
171,
185,
29,
59,
250,
191,
114,
21,
231,
126,
12,
156,
243,
55,
105,
87,
47,
249,
168,
103,
26,
36,
224,
160,
67,
2,
230,
172,
92,
238,
153,
40,
236,
17,
215,
201,
134,
30,
209,
135,
24,
20,
42,
21,
99,
150,
121,
85,
228,
40,
228,
19,
76,
109,
222,
136,
189,
190,
161,
18,
72,
174,
153,
215,
132,
165,
101,
146,
160,
101,
18,
41,
72,
178,
194,
251,
139,
226,
92,
17,
147,
69,
185,
250,
125,
178,
239,
189,
252,
248,
70,
233,
186,
71,
239,
255,
61,
0,
36,
189,
185,
152,
233,
59,
202,
190,
26,
0,
34,
43,
163,
107,
136,
236,
79,
124,
42,
33,
81,
191,
0,
178,
37,
246,
161,
75,
77,
230,
102,
88,
218,
236,
170,
33,
152,
19,
245,
26,
146,
57,
238,
201,
97,
198,
113,
49,
6,
182,
76,
79,
31,
248,
81,
229,
71,
149,
34,
14,
227,
205,
197,
149,
49,
240,
172,
192,
80,
225,
124,
132,
139,
33,
185,
22,
181,
113,
178,
246,
176,
147,
252,
206,
192,
70,
88,
125,
10,
23,
24,
200,
43,
215,
167,
142,
34,
34,
63,
225,
72,
77,
236,
132,
24,
32,
19,
153,
80,
220,
232,
76,
151,
101,
155,
14,
172,
27,
250,
95,
206,
133,
213,
96,
47,
72,
13,
113,
77,
202,
177,
69,
156,
79,
41,
226,
116,
107,
204,
180,
73,
77,
128,
9,
53,
221,
198,
48,
245,
50,
87,
100,
159,
21,
68,
112,
32,
3,
165,
131,
213,
84,
34,
233,
87,
25,
47,
174,
191,
252,
184,
216,
131,
236,
107,
178,
19,
44,
134,
36,
157,
107,
80,
237,
174,
132,
243,
192,
104,
66,
178,
113,
66,
103,
36,
156,
141,
245,
142,
46,
220,
58,
202,
105,
223,
246,
110,
227,
47,
181,
217,
61,
185,
21,
109,
243,
115,
171,
81,
223,
44,
9,
71,
66,
81,
123,
70,
255,
149,
41,
140,
174,
195,
70,
65,
81,
234,
145,
200,
168,
254,
116,
187,
96,
255,
185,
76,
124,
151,
74,
166,
203,
46,
71,
221,
30,
224,
95,
71,
30,
45,
47,
11,
85,
94,
254,
23,
48,
39,
105,
19,
151,
96,
188,
17,
12,
151,
148,
83,
247,
191,
171,
67,
179,
243,
203,
164,
217,
76,
138,
94,
235,
88,
38,
75,
181,
193,
109,
230,
172,
187,
201,
197,
108,
176,
105,
231,
225,
172,
31,
120,
56,
208,
166,
66,
64,
23,
184,
213,
99
]
}
],
"kernels": [
{
"features": "HeightLocked",
"fee": 7000000,
"lock_height": 70194,
"excess": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"excess_sig": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
]
}
},
"amount": 84825921007,
"fee": 7000000,
"height": 70194,
"lock_height": 70194,
"participant_data": [
{
"id": 0,
"public_blind_excess": [
3,
145,
248,
252,
116,
187,
95,
244,
222,
55,
51,
82,
231,
222,
224,
8,
96,
212,
251,
120,
237,
122,
153,
118,
85,
133,
175,
152,
13,
138,
49,
198,
21
],
"public_nonce": [
2,
6,
86,
44,
33,
167,
243,
160,
3,
98,
39,
34,
238,
147,
196,
236,
187,
236,
234,
212,
166,
173,
142,
229,
217,
48,
181,
28,
164,
166,
202,
109,
1
],
"part_sig": null,
"message": null,
"message_sig": null
}
]
}