bit_wallet 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitmodules +1 -1
- data/Gemfile +6 -0
- data/README.md +1 -0
- data/bit_wallet.gemspec +1 -1
- data/lib/bit_wallet/account.rb +20 -0
- data/lib/bit_wallet/transaction.rb +9 -8
- data/lib/bit_wallet/version.rb +1 -1
- data/spec/bit_wallet/account_spec.rb +16 -0
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_be_able_to_override_the_min_conf.yml +87 -13
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_default_to_the_config_min_conf.yml +87 -13
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_return_the_balance_of_the_account.yml +93 -19
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/should_default_to_list_10_transactions.yml +146 -72
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_6/should_list_the_6_most_recent_transactions.yml +119 -45
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/_to_is_a_BitWallet_Address/should_send_it_to_the_address_of_the_given_BitWallet_Address.yml +101 -27
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/account_does_not_have_enough_money/should_fail_with_the_InsufficientFunds_error.yml +96 -22
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/should_send_money_to_the_given_address.yml +98 -24
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_many/should_send_the_amounts_of_money_to_the_specified_accounts.yml +262 -0
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_total_received/should_return_the_total_amount_received_by_the_address.yml +4 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/addresses/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_be_assigned_that_name.yml +87 -13
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_have_a_default_name.yml +4 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/when_the_account_name_already_exists/should_return_that_same_address.yml +87 -13
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/wallet/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_includes_account_name_account_/should_return_true_if_the_array_includes_the_account.yml +121 -10
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_new/should_create_a_new_BitWallet_Account_with_a_default_address.yml +121 -10
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_with_balance/should_return_accounts_with_a_balance_0.yml +480 -36
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/wallet/.yml +118 -7
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/_total_received/should_return_the_total_amount_received_by_the_address.yml +8 -8
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/account/.yml +8 -8
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/address_given_already_exists/should_not_create_an_address.yml +4 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/no_address_is_given/should_create_an_address.yml +8 -8
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/_new/with_address_string_given/should_return_an_Address_with_the_given_address_string.yml +4 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/_new/without_any_address_string_given/should_return_an_Address_that_points_to_the_same_account.yml +8 -8
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/account/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/new/.yml +8 -8
- data/spec/fixtures/vcr_cassettes/BitWallet_Transaction/on_initialization/should_be_able_to_take_a_bitcoind_hash.yml +235 -13
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_accounts/should_return_array_of_BitWallet_Accounts.yml +268 -9
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_allow_overriding_of_the_transaction_limit.yml +280 -58
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_return_the_most_recent_transactions_of_all_accounts_defaulting_to_10_transactions.yml +297 -75
- metadata +8 -8
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_5/should_list_the_5_most_recent_transactions.yml +0 -447
@@ -21,22 +21,22 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
- Sun, 07 Apr 2013
|
24
|
+
- Sun, 07 Apr 2013 10:03:42 +0000
|
25
25
|
Connection:
|
26
26
|
- keep-alive
|
27
27
|
Content-Length:
|
28
|
-
- '
|
28
|
+
- '194'
|
29
29
|
Content-Type:
|
30
30
|
- application/json
|
31
31
|
Server:
|
32
32
|
- bitcoin-json-rpc/v0.7.2-beta
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
|
-
string: ! '{"result":{"":
|
35
|
+
string: ! '{"result":{"":8314.28200000,"1":0.00000000,"accountname":0.00000000,"moneyd":0.00000000,"name":0.00000000,"nomoney":0.00000000,"nona":0.00000000,"numba":0.00000000},"error":null,"id":"jsonrpc"}
|
36
36
|
|
37
37
|
'
|
38
38
|
http_version:
|
39
|
-
recorded_at: Sun, 07 Apr 2013
|
39
|
+
recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
|
40
40
|
- request:
|
41
41
|
method: post
|
42
42
|
uri: http://admin1:123@localhost:19001/
|
@@ -58,7 +58,7 @@ http_interactions:
|
|
58
58
|
message: OK
|
59
59
|
headers:
|
60
60
|
Date:
|
61
|
-
- Sun, 07 Apr 2013
|
61
|
+
- Sun, 07 Apr 2013 10:03:42 +0000
|
62
62
|
Connection:
|
63
63
|
- keep-alive
|
64
64
|
Content-Length:
|
@@ -69,11 +69,11 @@ http_interactions:
|
|
69
69
|
- bitcoin-json-rpc/v0.7.2-beta
|
70
70
|
body:
|
71
71
|
encoding: US-ASCII
|
72
|
-
string: ! '{"result":"
|
72
|
+
string: ! '{"result":"mvLuWyXhkkyn4cHfKbV5Hv3bMyU1gpgbaW","error":null,"id":"jsonrpc"}
|
73
73
|
|
74
74
|
'
|
75
75
|
http_version:
|
76
|
-
recorded_at: Sun, 07 Apr 2013
|
76
|
+
recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
|
77
77
|
- request:
|
78
78
|
method: post
|
79
79
|
uri: http://admin1:123@localhost:19001/
|
@@ -95,7 +95,7 @@ http_interactions:
|
|
95
95
|
message: OK
|
96
96
|
headers:
|
97
97
|
Date:
|
98
|
-
- Sun, 07 Apr 2013
|
98
|
+
- Sun, 07 Apr 2013 10:03:42 +0000
|
99
99
|
Connection:
|
100
100
|
- keep-alive
|
101
101
|
Content-Length:
|
@@ -106,17 +106,239 @@ http_interactions:
|
|
106
106
|
- bitcoin-json-rpc/v0.7.2-beta
|
107
107
|
body:
|
108
108
|
encoding: US-ASCII
|
109
|
-
string: ! '{"result":"
|
109
|
+
string: ! '{"result":"mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP","error":null,"id":"jsonrpc"}
|
110
110
|
|
111
111
|
'
|
112
112
|
http_version:
|
113
|
-
recorded_at: Sun, 07 Apr 2013
|
113
|
+
recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
|
114
114
|
- request:
|
115
115
|
method: post
|
116
116
|
uri: http://admin1:123@localhost:19001/
|
117
117
|
body:
|
118
118
|
encoding: US-ASCII
|
119
|
-
string: ! '{"method":"
|
119
|
+
string: ! '{"method":"getnewaddress","params":["accountname"],"id":"jsonrpc"}'
|
120
|
+
headers:
|
121
|
+
Accept:
|
122
|
+
- ! '*/*; q=0.5, application/xml'
|
123
|
+
Accept-Encoding:
|
124
|
+
- gzip, deflate
|
125
|
+
Content-Length:
|
126
|
+
- '66'
|
127
|
+
User-Agent:
|
128
|
+
- Ruby
|
129
|
+
response:
|
130
|
+
status:
|
131
|
+
code: 200
|
132
|
+
message: OK
|
133
|
+
headers:
|
134
|
+
Date:
|
135
|
+
- Sun, 07 Apr 2013 10:03:42 +0000
|
136
|
+
Connection:
|
137
|
+
- keep-alive
|
138
|
+
Content-Length:
|
139
|
+
- '76'
|
140
|
+
Content-Type:
|
141
|
+
- application/json
|
142
|
+
Server:
|
143
|
+
- bitcoin-json-rpc/v0.7.2-beta
|
144
|
+
body:
|
145
|
+
encoding: US-ASCII
|
146
|
+
string: ! '{"result":"n4oW6iDqVuFxdkkByvtytzb6GWEEe9t2gm","error":null,"id":"jsonrpc"}
|
147
|
+
|
148
|
+
'
|
149
|
+
http_version:
|
150
|
+
recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
|
151
|
+
- request:
|
152
|
+
method: post
|
153
|
+
uri: http://admin1:123@localhost:19001/
|
154
|
+
body:
|
155
|
+
encoding: US-ASCII
|
156
|
+
string: ! '{"method":"getnewaddress","params":["moneyd"],"id":"jsonrpc"}'
|
157
|
+
headers:
|
158
|
+
Accept:
|
159
|
+
- ! '*/*; q=0.5, application/xml'
|
160
|
+
Accept-Encoding:
|
161
|
+
- gzip, deflate
|
162
|
+
Content-Length:
|
163
|
+
- '61'
|
164
|
+
User-Agent:
|
165
|
+
- Ruby
|
166
|
+
response:
|
167
|
+
status:
|
168
|
+
code: 200
|
169
|
+
message: OK
|
170
|
+
headers:
|
171
|
+
Date:
|
172
|
+
- Sun, 07 Apr 2013 10:03:42 +0000
|
173
|
+
Connection:
|
174
|
+
- keep-alive
|
175
|
+
Content-Length:
|
176
|
+
- '76'
|
177
|
+
Content-Type:
|
178
|
+
- application/json
|
179
|
+
Server:
|
180
|
+
- bitcoin-json-rpc/v0.7.2-beta
|
181
|
+
body:
|
182
|
+
encoding: US-ASCII
|
183
|
+
string: ! '{"result":"micm97SpPNBFwLRYXG7ezGu8wiKUq8K4Lf","error":null,"id":"jsonrpc"}
|
184
|
+
|
185
|
+
'
|
186
|
+
http_version:
|
187
|
+
recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
|
188
|
+
- request:
|
189
|
+
method: post
|
190
|
+
uri: http://admin1:123@localhost:19001/
|
191
|
+
body:
|
192
|
+
encoding: US-ASCII
|
193
|
+
string: ! '{"method":"getnewaddress","params":["name"],"id":"jsonrpc"}'
|
194
|
+
headers:
|
195
|
+
Accept:
|
196
|
+
- ! '*/*; q=0.5, application/xml'
|
197
|
+
Accept-Encoding:
|
198
|
+
- gzip, deflate
|
199
|
+
Content-Length:
|
200
|
+
- '59'
|
201
|
+
User-Agent:
|
202
|
+
- Ruby
|
203
|
+
response:
|
204
|
+
status:
|
205
|
+
code: 200
|
206
|
+
message: OK
|
207
|
+
headers:
|
208
|
+
Date:
|
209
|
+
- Sun, 07 Apr 2013 10:03:42 +0000
|
210
|
+
Connection:
|
211
|
+
- keep-alive
|
212
|
+
Content-Length:
|
213
|
+
- '76'
|
214
|
+
Content-Type:
|
215
|
+
- application/json
|
216
|
+
Server:
|
217
|
+
- bitcoin-json-rpc/v0.7.2-beta
|
218
|
+
body:
|
219
|
+
encoding: US-ASCII
|
220
|
+
string: ! '{"result":"msCmfDydFKDivBKaMHNBLxag7SyMFdo9V1","error":null,"id":"jsonrpc"}
|
221
|
+
|
222
|
+
'
|
223
|
+
http_version:
|
224
|
+
recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
|
225
|
+
- request:
|
226
|
+
method: post
|
227
|
+
uri: http://admin1:123@localhost:19001/
|
228
|
+
body:
|
229
|
+
encoding: US-ASCII
|
230
|
+
string: ! '{"method":"getnewaddress","params":["nomoney"],"id":"jsonrpc"}'
|
231
|
+
headers:
|
232
|
+
Accept:
|
233
|
+
- ! '*/*; q=0.5, application/xml'
|
234
|
+
Accept-Encoding:
|
235
|
+
- gzip, deflate
|
236
|
+
Content-Length:
|
237
|
+
- '62'
|
238
|
+
User-Agent:
|
239
|
+
- Ruby
|
240
|
+
response:
|
241
|
+
status:
|
242
|
+
code: 200
|
243
|
+
message: OK
|
244
|
+
headers:
|
245
|
+
Date:
|
246
|
+
- Sun, 07 Apr 2013 10:03:42 +0000
|
247
|
+
Connection:
|
248
|
+
- keep-alive
|
249
|
+
Content-Length:
|
250
|
+
- '76'
|
251
|
+
Content-Type:
|
252
|
+
- application/json
|
253
|
+
Server:
|
254
|
+
- bitcoin-json-rpc/v0.7.2-beta
|
255
|
+
body:
|
256
|
+
encoding: US-ASCII
|
257
|
+
string: ! '{"result":"mg3UMv523TrmskwPFSB46Ww4K8xcuy2PkR","error":null,"id":"jsonrpc"}
|
258
|
+
|
259
|
+
'
|
260
|
+
http_version:
|
261
|
+
recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
|
262
|
+
- request:
|
263
|
+
method: post
|
264
|
+
uri: http://admin1:123@localhost:19001/
|
265
|
+
body:
|
266
|
+
encoding: US-ASCII
|
267
|
+
string: ! '{"method":"getnewaddress","params":["nona"],"id":"jsonrpc"}'
|
268
|
+
headers:
|
269
|
+
Accept:
|
270
|
+
- ! '*/*; q=0.5, application/xml'
|
271
|
+
Accept-Encoding:
|
272
|
+
- gzip, deflate
|
273
|
+
Content-Length:
|
274
|
+
- '59'
|
275
|
+
User-Agent:
|
276
|
+
- Ruby
|
277
|
+
response:
|
278
|
+
status:
|
279
|
+
code: 200
|
280
|
+
message: OK
|
281
|
+
headers:
|
282
|
+
Date:
|
283
|
+
- Sun, 07 Apr 2013 10:03:42 +0000
|
284
|
+
Connection:
|
285
|
+
- keep-alive
|
286
|
+
Content-Length:
|
287
|
+
- '76'
|
288
|
+
Content-Type:
|
289
|
+
- application/json
|
290
|
+
Server:
|
291
|
+
- bitcoin-json-rpc/v0.7.2-beta
|
292
|
+
body:
|
293
|
+
encoding: US-ASCII
|
294
|
+
string: ! '{"result":"msHk9YgML1jhyW7rFL4BeQeJcKhccjgLji","error":null,"id":"jsonrpc"}
|
295
|
+
|
296
|
+
'
|
297
|
+
http_version:
|
298
|
+
recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
|
299
|
+
- request:
|
300
|
+
method: post
|
301
|
+
uri: http://admin1:123@localhost:19001/
|
302
|
+
body:
|
303
|
+
encoding: US-ASCII
|
304
|
+
string: ! '{"method":"getnewaddress","params":["numba"],"id":"jsonrpc"}'
|
305
|
+
headers:
|
306
|
+
Accept:
|
307
|
+
- ! '*/*; q=0.5, application/xml'
|
308
|
+
Accept-Encoding:
|
309
|
+
- gzip, deflate
|
310
|
+
Content-Length:
|
311
|
+
- '60'
|
312
|
+
User-Agent:
|
313
|
+
- Ruby
|
314
|
+
response:
|
315
|
+
status:
|
316
|
+
code: 200
|
317
|
+
message: OK
|
318
|
+
headers:
|
319
|
+
Date:
|
320
|
+
- Sun, 07 Apr 2013 10:03:42 +0000
|
321
|
+
Connection:
|
322
|
+
- keep-alive
|
323
|
+
Content-Length:
|
324
|
+
- '76'
|
325
|
+
Content-Type:
|
326
|
+
- application/json
|
327
|
+
Server:
|
328
|
+
- bitcoin-json-rpc/v0.7.2-beta
|
329
|
+
body:
|
330
|
+
encoding: US-ASCII
|
331
|
+
string: ! '{"result":"mjnpdVL7cuh9oUnfS27TZ1S7LNEXvuV6pW","error":null,"id":"jsonrpc"}
|
332
|
+
|
333
|
+
'
|
334
|
+
http_version:
|
335
|
+
recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
|
336
|
+
- request:
|
337
|
+
method: post
|
338
|
+
uri: http://admin1:123@localhost:19001/
|
339
|
+
body:
|
340
|
+
encoding: US-ASCII
|
341
|
+
string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",1,0],"id":"jsonrpc"}'
|
120
342
|
headers:
|
121
343
|
Accept:
|
122
344
|
- ! '*/*; q=0.5, application/xml'
|
@@ -132,7 +354,7 @@ http_interactions:
|
|
132
354
|
message: OK
|
133
355
|
headers:
|
134
356
|
Date:
|
135
|
-
- Sun, 07 Apr 2013
|
357
|
+
- Sun, 07 Apr 2013 10:03:43 +0000
|
136
358
|
Connection:
|
137
359
|
- keep-alive
|
138
360
|
Content-Length:
|
@@ -143,17 +365,17 @@ http_interactions:
|
|
143
365
|
- bitcoin-json-rpc/v0.7.2-beta
|
144
366
|
body:
|
145
367
|
encoding: US-ASCII
|
146
|
-
string: ! '{"result":"
|
368
|
+
string: ! '{"result":"976aeeffaa7fbfb064cb04f2752724f97ce3288c01e6d8c342be43b37ccb8f7d","error":null,"id":"jsonrpc"}
|
147
369
|
|
148
370
|
'
|
149
371
|
http_version:
|
150
|
-
recorded_at: Sun, 07 Apr 2013
|
372
|
+
recorded_at: Sun, 07 Apr 2013 10:03:43 GMT
|
151
373
|
- request:
|
152
374
|
method: post
|
153
375
|
uri: http://admin1:123@localhost:19001/
|
154
376
|
body:
|
155
377
|
encoding: US-ASCII
|
156
|
-
string: ! '{"method":"sendfrom","params":["","
|
378
|
+
string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",2,0],"id":"jsonrpc"}'
|
157
379
|
headers:
|
158
380
|
Accept:
|
159
381
|
- ! '*/*; q=0.5, application/xml'
|
@@ -169,7 +391,7 @@ http_interactions:
|
|
169
391
|
message: OK
|
170
392
|
headers:
|
171
393
|
Date:
|
172
|
-
- Sun, 07 Apr 2013
|
394
|
+
- Sun, 07 Apr 2013 10:03:43 +0000
|
173
395
|
Connection:
|
174
396
|
- keep-alive
|
175
397
|
Content-Length:
|
@@ -180,17 +402,17 @@ http_interactions:
|
|
180
402
|
- bitcoin-json-rpc/v0.7.2-beta
|
181
403
|
body:
|
182
404
|
encoding: US-ASCII
|
183
|
-
string: ! '{"result":"
|
405
|
+
string: ! '{"result":"34f8f7c42a976985643544b3cea570b3eb5be313497930fafddf9aeefab5bc02","error":null,"id":"jsonrpc"}
|
184
406
|
|
185
407
|
'
|
186
408
|
http_version:
|
187
|
-
recorded_at: Sun, 07 Apr 2013
|
409
|
+
recorded_at: Sun, 07 Apr 2013 10:03:43 GMT
|
188
410
|
- request:
|
189
411
|
method: post
|
190
412
|
uri: http://admin1:123@localhost:19001/
|
191
413
|
body:
|
192
414
|
encoding: US-ASCII
|
193
|
-
string: ! '{"method":"sendfrom","params":["","
|
415
|
+
string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",3,0],"id":"jsonrpc"}'
|
194
416
|
headers:
|
195
417
|
Accept:
|
196
418
|
- ! '*/*; q=0.5, application/xml'
|
@@ -206,7 +428,7 @@ http_interactions:
|
|
206
428
|
message: OK
|
207
429
|
headers:
|
208
430
|
Date:
|
209
|
-
- Sun, 07 Apr 2013
|
431
|
+
- Sun, 07 Apr 2013 10:03:43 +0000
|
210
432
|
Connection:
|
211
433
|
- keep-alive
|
212
434
|
Content-Length:
|
@@ -217,17 +439,17 @@ http_interactions:
|
|
217
439
|
- bitcoin-json-rpc/v0.7.2-beta
|
218
440
|
body:
|
219
441
|
encoding: US-ASCII
|
220
|
-
string: ! '{"result":"
|
442
|
+
string: ! '{"result":"854e17b5b8e6c3ff09b7245e034b3433a9d4a868327a338df0cc8836c6795341","error":null,"id":"jsonrpc"}
|
221
443
|
|
222
444
|
'
|
223
445
|
http_version:
|
224
|
-
recorded_at: Sun, 07 Apr 2013
|
446
|
+
recorded_at: Sun, 07 Apr 2013 10:03:43 GMT
|
225
447
|
- request:
|
226
448
|
method: post
|
227
449
|
uri: http://admin1:123@localhost:19001/
|
228
450
|
body:
|
229
451
|
encoding: US-ASCII
|
230
|
-
string: ! '{"method":"sendfrom","params":["","
|
452
|
+
string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",4,0],"id":"jsonrpc"}'
|
231
453
|
headers:
|
232
454
|
Accept:
|
233
455
|
- ! '*/*; q=0.5, application/xml'
|
@@ -243,7 +465,7 @@ http_interactions:
|
|
243
465
|
message: OK
|
244
466
|
headers:
|
245
467
|
Date:
|
246
|
-
- Sun, 07 Apr 2013
|
468
|
+
- Sun, 07 Apr 2013 10:03:44 +0000
|
247
469
|
Connection:
|
248
470
|
- keep-alive
|
249
471
|
Content-Length:
|
@@ -254,17 +476,17 @@ http_interactions:
|
|
254
476
|
- bitcoin-json-rpc/v0.7.2-beta
|
255
477
|
body:
|
256
478
|
encoding: US-ASCII
|
257
|
-
string: ! '{"result":"
|
479
|
+
string: ! '{"result":"8c1dde26bee7a4719267f959d45eded422b011a9ec88adc8846944166ba6d065","error":null,"id":"jsonrpc"}
|
258
480
|
|
259
481
|
'
|
260
482
|
http_version:
|
261
|
-
recorded_at: Sun, 07 Apr 2013
|
483
|
+
recorded_at: Sun, 07 Apr 2013 10:03:44 GMT
|
262
484
|
- request:
|
263
485
|
method: post
|
264
486
|
uri: http://admin1:123@localhost:19001/
|
265
487
|
body:
|
266
488
|
encoding: US-ASCII
|
267
|
-
string: ! '{"method":"sendfrom","params":["","
|
489
|
+
string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",5,0],"id":"jsonrpc"}'
|
268
490
|
headers:
|
269
491
|
Accept:
|
270
492
|
- ! '*/*; q=0.5, application/xml'
|
@@ -280,7 +502,7 @@ http_interactions:
|
|
280
502
|
message: OK
|
281
503
|
headers:
|
282
504
|
Date:
|
283
|
-
- Sun, 07 Apr 2013
|
505
|
+
- Sun, 07 Apr 2013 10:03:44 +0000
|
284
506
|
Connection:
|
285
507
|
- keep-alive
|
286
508
|
Content-Length:
|
@@ -291,17 +513,17 @@ http_interactions:
|
|
291
513
|
- bitcoin-json-rpc/v0.7.2-beta
|
292
514
|
body:
|
293
515
|
encoding: US-ASCII
|
294
|
-
string: ! '{"result":"
|
516
|
+
string: ! '{"result":"4845199c96eefb0a58a30125e4c5ad28c16cb8ff00b1b050b1fc669801f5c247","error":null,"id":"jsonrpc"}
|
295
517
|
|
296
518
|
'
|
297
519
|
http_version:
|
298
|
-
recorded_at: Sun, 07 Apr 2013
|
520
|
+
recorded_at: Sun, 07 Apr 2013 10:03:44 GMT
|
299
521
|
- request:
|
300
522
|
method: post
|
301
523
|
uri: http://admin1:123@localhost:19001/
|
302
524
|
body:
|
303
525
|
encoding: US-ASCII
|
304
|
-
string: ! '{"method":"sendfrom","params":["","
|
526
|
+
string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",6,0],"id":"jsonrpc"}'
|
305
527
|
headers:
|
306
528
|
Accept:
|
307
529
|
- ! '*/*; q=0.5, application/xml'
|
@@ -317,7 +539,7 @@ http_interactions:
|
|
317
539
|
message: OK
|
318
540
|
headers:
|
319
541
|
Date:
|
320
|
-
- Sun, 07 Apr 2013
|
542
|
+
- Sun, 07 Apr 2013 10:03:44 +0000
|
321
543
|
Connection:
|
322
544
|
- keep-alive
|
323
545
|
Content-Length:
|
@@ -328,17 +550,17 @@ http_interactions:
|
|
328
550
|
- bitcoin-json-rpc/v0.7.2-beta
|
329
551
|
body:
|
330
552
|
encoding: US-ASCII
|
331
|
-
string: ! '{"result":"
|
553
|
+
string: ! '{"result":"bfe30a91c097e370e4e2d96ebce20ff16bcc36793daaccb628d4bd8b03f86f5a","error":null,"id":"jsonrpc"}
|
332
554
|
|
333
555
|
'
|
334
556
|
http_version:
|
335
|
-
recorded_at: Sun, 07 Apr 2013
|
557
|
+
recorded_at: Sun, 07 Apr 2013 10:03:44 GMT
|
336
558
|
- request:
|
337
559
|
method: post
|
338
560
|
uri: http://admin1:123@localhost:19001/
|
339
561
|
body:
|
340
562
|
encoding: US-ASCII
|
341
|
-
string: ! '{"method":"sendfrom","params":["","
|
563
|
+
string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",7,0],"id":"jsonrpc"}'
|
342
564
|
headers:
|
343
565
|
Accept:
|
344
566
|
- ! '*/*; q=0.5, application/xml'
|
@@ -354,7 +576,7 @@ http_interactions:
|
|
354
576
|
message: OK
|
355
577
|
headers:
|
356
578
|
Date:
|
357
|
-
- Sun, 07 Apr 2013
|
579
|
+
- Sun, 07 Apr 2013 10:03:44 +0000
|
358
580
|
Connection:
|
359
581
|
- keep-alive
|
360
582
|
Content-Length:
|
@@ -365,17 +587,17 @@ http_interactions:
|
|
365
587
|
- bitcoin-json-rpc/v0.7.2-beta
|
366
588
|
body:
|
367
589
|
encoding: US-ASCII
|
368
|
-
string: ! '{"result":"
|
590
|
+
string: ! '{"result":"f87e3b531e74145ea068515b2c51a3cc9115b7a11a2f044a353960d056fb5a8e","error":null,"id":"jsonrpc"}
|
369
591
|
|
370
592
|
'
|
371
593
|
http_version:
|
372
|
-
recorded_at: Sun, 07 Apr 2013
|
594
|
+
recorded_at: Sun, 07 Apr 2013 10:03:44 GMT
|
373
595
|
- request:
|
374
596
|
method: post
|
375
597
|
uri: http://admin1:123@localhost:19001/
|
376
598
|
body:
|
377
599
|
encoding: US-ASCII
|
378
|
-
string: ! '{"method":"sendfrom","params":["","
|
600
|
+
string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",8,0],"id":"jsonrpc"}'
|
379
601
|
headers:
|
380
602
|
Accept:
|
381
603
|
- ! '*/*; q=0.5, application/xml'
|
@@ -391,7 +613,7 @@ http_interactions:
|
|
391
613
|
message: OK
|
392
614
|
headers:
|
393
615
|
Date:
|
394
|
-
- Sun, 07 Apr 2013
|
616
|
+
- Sun, 07 Apr 2013 10:03:45 +0000
|
395
617
|
Connection:
|
396
618
|
- keep-alive
|
397
619
|
Content-Length:
|
@@ -402,17 +624,17 @@ http_interactions:
|
|
402
624
|
- bitcoin-json-rpc/v0.7.2-beta
|
403
625
|
body:
|
404
626
|
encoding: US-ASCII
|
405
|
-
string: ! '{"result":"
|
627
|
+
string: ! '{"result":"66dd534544d8ea562d5fbd776f5af8770964985431668ce7692c44aaca245b6e","error":null,"id":"jsonrpc"}
|
406
628
|
|
407
629
|
'
|
408
630
|
http_version:
|
409
|
-
recorded_at: Sun, 07 Apr 2013
|
631
|
+
recorded_at: Sun, 07 Apr 2013 10:03:45 GMT
|
410
632
|
- request:
|
411
633
|
method: post
|
412
634
|
uri: http://admin1:123@localhost:19001/
|
413
635
|
body:
|
414
636
|
encoding: US-ASCII
|
415
|
-
string: ! '{"method":"sendfrom","params":["","
|
637
|
+
string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",9,0],"id":"jsonrpc"}'
|
416
638
|
headers:
|
417
639
|
Accept:
|
418
640
|
- ! '*/*; q=0.5, application/xml'
|
@@ -428,7 +650,7 @@ http_interactions:
|
|
428
650
|
message: OK
|
429
651
|
headers:
|
430
652
|
Date:
|
431
|
-
- Sun, 07 Apr 2013
|
653
|
+
- Sun, 07 Apr 2013 10:03:45 +0000
|
432
654
|
Connection:
|
433
655
|
- keep-alive
|
434
656
|
Content-Length:
|
@@ -439,17 +661,17 @@ http_interactions:
|
|
439
661
|
- bitcoin-json-rpc/v0.7.2-beta
|
440
662
|
body:
|
441
663
|
encoding: US-ASCII
|
442
|
-
string: ! '{"result":"
|
664
|
+
string: ! '{"result":"a5468d6939bbb404e9d04bff95ea3e7be8dcf9257332d3a00ce96052c4710de4","error":null,"id":"jsonrpc"}
|
443
665
|
|
444
666
|
'
|
445
667
|
http_version:
|
446
|
-
recorded_at: Sun, 07 Apr 2013
|
668
|
+
recorded_at: Sun, 07 Apr 2013 10:03:45 GMT
|
447
669
|
- request:
|
448
670
|
method: post
|
449
671
|
uri: http://admin1:123@localhost:19001/
|
450
672
|
body:
|
451
673
|
encoding: US-ASCII
|
452
|
-
string: ! '{"method":"sendfrom","params":["","
|
674
|
+
string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",10,0],"id":"jsonrpc"}'
|
453
675
|
headers:
|
454
676
|
Accept:
|
455
677
|
- ! '*/*; q=0.5, application/xml'
|
@@ -465,7 +687,7 @@ http_interactions:
|
|
465
687
|
message: OK
|
466
688
|
headers:
|
467
689
|
Date:
|
468
|
-
- Sun, 07 Apr 2013
|
690
|
+
- Sun, 07 Apr 2013 10:03:45 +0000
|
469
691
|
Connection:
|
470
692
|
- keep-alive
|
471
693
|
Content-Length:
|
@@ -476,17 +698,17 @@ http_interactions:
|
|
476
698
|
- bitcoin-json-rpc/v0.7.2-beta
|
477
699
|
body:
|
478
700
|
encoding: US-ASCII
|
479
|
-
string: ! '{"result":"
|
701
|
+
string: ! '{"result":"79ff3000442409f4130e2de0a961a3053aead25da3710294dc1dd64c293c926b","error":null,"id":"jsonrpc"}
|
480
702
|
|
481
703
|
'
|
482
704
|
http_version:
|
483
|
-
recorded_at: Sun, 07 Apr 2013
|
705
|
+
recorded_at: Sun, 07 Apr 2013 10:03:45 GMT
|
484
706
|
- request:
|
485
707
|
method: post
|
486
708
|
uri: http://admin1:123@localhost:19001/
|
487
709
|
body:
|
488
710
|
encoding: US-ASCII
|
489
|
-
string: ! '{"method":"sendfrom","params":["","
|
711
|
+
string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",11,0],"id":"jsonrpc"}'
|
490
712
|
headers:
|
491
713
|
Accept:
|
492
714
|
- ! '*/*; q=0.5, application/xml'
|
@@ -502,7 +724,7 @@ http_interactions:
|
|
502
724
|
message: OK
|
503
725
|
headers:
|
504
726
|
Date:
|
505
|
-
- Sun, 07 Apr 2013
|
727
|
+
- Sun, 07 Apr 2013 10:03:45 +0000
|
506
728
|
Connection:
|
507
729
|
- keep-alive
|
508
730
|
Content-Length:
|
@@ -513,11 +735,11 @@ http_interactions:
|
|
513
735
|
- bitcoin-json-rpc/v0.7.2-beta
|
514
736
|
body:
|
515
737
|
encoding: US-ASCII
|
516
|
-
string: ! '{"result":"
|
738
|
+
string: ! '{"result":"ce85623184721ea3288d5f54331072c4e4b1a73827100b1d6ecdcfe4268e9e04","error":null,"id":"jsonrpc"}
|
517
739
|
|
518
740
|
'
|
519
741
|
http_version:
|
520
|
-
recorded_at: Sun, 07 Apr 2013
|
742
|
+
recorded_at: Sun, 07 Apr 2013 10:03:45 GMT
|
521
743
|
- request:
|
522
744
|
method: post
|
523
745
|
uri: http://admin1:123@localhost:19001/
|
@@ -539,20 +761,20 @@ http_interactions:
|
|
539
761
|
message: OK
|
540
762
|
headers:
|
541
763
|
Date:
|
542
|
-
- Sun, 07 Apr 2013
|
764
|
+
- Sun, 07 Apr 2013 10:03:45 +0000
|
543
765
|
Connection:
|
544
766
|
- keep-alive
|
545
767
|
Content-Length:
|
546
|
-
- '
|
768
|
+
- '1290'
|
547
769
|
Content-Type:
|
548
770
|
- application/json
|
549
771
|
Server:
|
550
772
|
- bitcoin-json-rpc/v0.7.2-beta
|
551
773
|
body:
|
552
774
|
encoding: US-ASCII
|
553
|
-
string: ! '{"result":[{"account":"","address":"
|
775
|
+
string: ! '{"result":[{"account":"","address":"mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP","category":"send","amount":-9.00000000,"fee":-0.00050000,"confirmations":0,"txid":"a5468d6939bbb404e9d04bff95ea3e7be8dcf9257332d3a00ce96052c4710de4","time":1365329025,"timereceived":1365329025},{"account":"1","address":"mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP","category":"receive","amount":10.00000000,"confirmations":0,"txid":"79ff3000442409f4130e2de0a961a3053aead25da3710294dc1dd64c293c926b","time":1365329025,"timereceived":1365329025},{"account":"","address":"mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP","category":"send","amount":-10.00000000,"fee":-0.00050000,"confirmations":0,"txid":"79ff3000442409f4130e2de0a961a3053aead25da3710294dc1dd64c293c926b","time":1365329025,"timereceived":1365329025},{"account":"1","address":"mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP","category":"receive","amount":11.00000000,"confirmations":0,"txid":"ce85623184721ea3288d5f54331072c4e4b1a73827100b1d6ecdcfe4268e9e04","time":1365329025,"timereceived":1365329025},{"account":"","address":"mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP","category":"send","amount":-11.00000000,"fee":-0.00050000,"confirmations":0,"txid":"ce85623184721ea3288d5f54331072c4e4b1a73827100b1d6ecdcfe4268e9e04","time":1365329025,"timereceived":1365329025}],"error":null,"id":"jsonrpc"}
|
554
776
|
|
555
777
|
'
|
556
778
|
http_version:
|
557
|
-
recorded_at: Sun, 07 Apr 2013
|
779
|
+
recorded_at: Sun, 07 Apr 2013 10:03:45 GMT
|
558
780
|
recorded_with: VCR 2.4.0
|