grin-wallet/api/tests/slates/v1_res.slate
Yeastplume 47ee03cadd
V2 slate versioning enablement (#85)
* fix for command line listener port override

* reduce parameter query size

* Add slate versioning

* rustfmt

* bump version number

* Add tests for slate version conversion

* rustfmt

* Updates and test addition based on bdap's review

* rustfmt
2019-04-23 11:29:59 +01:00

1955 lines
38 KiB
Text

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