bit_wallet 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +8 -8
  2. data/CHANGELOG.md +4 -0
  3. data/bit_wallet.gemspec +1 -1
  4. data/lib/bit_wallet/version.rb +1 -1
  5. data/lib/bit_wallet/wallet.rb +0 -2
  6. data/spec/bit_wallet/accounts_spec.rb +32 -30
  7. data/spec/bit_wallet/wallet_spec.rb +48 -32
  8. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_be_able_to_override_the_min_conf.yml +15 -83
  9. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_default_to_the_config_min_conf.yml +15 -83
  10. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_return_the_balance_of_the_account.yml +23 -87
  11. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/should_default_to_list_10_transactions.yml +85 -129
  12. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_6/should_list_the_6_most_recent_transactions.yml +67 -117
  13. 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 +32 -94
  14. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/account_does_not_have_enough_money/should_fail_with_the_InsufficientFunds_error.yml +26 -90
  15. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/should_send_money_to_the_given_address.yml +29 -91
  16. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_many/should_send_the_amounts_of_money_to_the_specified_accounts.yml +30 -16
  17. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_total_received/should_return_the_total_amount_received_by_the_address.yml +6 -4
  18. data/spec/fixtures/vcr_cassettes/BitWallet_Account/addresses/.yml +6 -4
  19. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_be_assigned_that_name.yml +15 -83
  20. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_have_a_default_name.yml +6 -4
  21. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/when_the_account_name_already_exists/should_return_that_same_address.yml +15 -83
  22. data/spec/fixtures/vcr_cassettes/BitWallet_Account/wallet/.yml +6 -4
  23. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_includes_account_name_account_/should_return_true_if_the_array_includes_the_account.yml +15 -120
  24. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_new/should_create_a_new_BitWallet_Account_with_a_default_address.yml +15 -120
  25. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_with_balance/should_return_accounts_with_a_balance_0.yml +19 -370
  26. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/wallet/.yml +11 -118
  27. data/spec/fixtures/vcr_cassettes/BitWallet_Address/_total_received/should_return_the_total_amount_received_by_the_address.yml +11 -7
  28. data/spec/fixtures/vcr_cassettes/BitWallet_Address/account/.yml +11 -7
  29. data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/address_given_already_exists/should_not_create_an_address.yml +6 -4
  30. data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/no_address_is_given/should_create_an_address.yml +11 -7
  31. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/_new/with_address_string_given/should_return_an_Address_with_the_given_address_string.yml +6 -4
  32. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/_new/without_any_address_string_given/should_return_an_Address_that_points_to_the_same_account.yml +11 -7
  33. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/account/.yml +6 -4
  34. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/new/.yml +11 -7
  35. data/spec/fixtures/vcr_cassettes/BitWallet_Transaction/on_initialization/should_be_able_to_take_a_bitcoind_hash.yml +15 -231
  36. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_accounts/should_return_array_of_BitWallet_Accounts.yml +11 -266
  37. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_move/should_move_funds_from_one_account_to_another.yml +25 -13
  38. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_allow_overriding_of_the_transaction_limit.yml +82 -274
  39. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_return_the_most_recent_transactions_of_all_accounts_defaulting_to_10_transactions.yml +82 -274
  40. metadata +4 -4
@@ -11,6 +11,8 @@ http_interactions:
11
11
  - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
+ Content-Type:
15
+ - application/json
14
16
  Content-Length:
15
17
  - '53'
16
18
  User-Agent:
@@ -21,22 +23,22 @@ http_interactions:
21
23
  message: OK
22
24
  headers:
23
25
  Date:
24
- - Sun, 07 Apr 2013 10:03:42 +0000
26
+ - Tue, 04 Mar 2014 14:05:54 +0000
25
27
  Connection:
26
28
  - keep-alive
27
29
  Content-Length:
28
- - '194'
30
+ - '58'
29
31
  Content-Type:
30
32
  - application/json
31
33
  Server:
32
34
  - bitcoin-json-rpc/v0.7.2-beta
33
35
  body:
34
36
  encoding: US-ASCII
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"}
37
+ string: ! '{"result":{"":8800.00000000},"error":null,"id":"jsonrpc"}
36
38
 
37
39
  '
38
40
  http_version:
39
- recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
41
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
40
42
  - request:
41
43
  method: post
42
44
  uri: http://admin1:123@localhost:19001/
@@ -48,6 +50,8 @@ http_interactions:
48
50
  - ! '*/*; q=0.5, application/xml'
49
51
  Accept-Encoding:
50
52
  - gzip, deflate
53
+ Content-Type:
54
+ - application/json
51
55
  Content-Length:
52
56
  - '55'
53
57
  User-Agent:
@@ -58,7 +62,7 @@ http_interactions:
58
62
  message: OK
59
63
  headers:
60
64
  Date:
61
- - Sun, 07 Apr 2013 10:03:42 +0000
65
+ - Tue, 04 Mar 2014 14:05:54 +0000
62
66
  Connection:
63
67
  - keep-alive
64
68
  Content-Length:
@@ -69,11 +73,11 @@ http_interactions:
69
73
  - bitcoin-json-rpc/v0.7.2-beta
70
74
  body:
71
75
  encoding: US-ASCII
72
- string: ! '{"result":"mvLuWyXhkkyn4cHfKbV5Hv3bMyU1gpgbaW","error":null,"id":"jsonrpc"}
76
+ string: ! '{"result":"mi487X6jj8ggY6FAoG8ibv7qomcq9TXL1U","error":null,"id":"jsonrpc"}
73
77
 
74
78
  '
75
79
  http_version:
76
- recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
80
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
77
81
  - request:
78
82
  method: post
79
83
  uri: http://admin1:123@localhost:19001/
@@ -85,45 +89,10 @@ http_interactions:
85
89
  - ! '*/*; q=0.5, application/xml'
86
90
  Accept-Encoding:
87
91
  - gzip, deflate
88
- Content-Length:
89
- - '56'
90
- User-Agent:
91
- - Ruby
92
- response:
93
- status:
94
- code: 200
95
- message: OK
96
- headers:
97
- Date:
98
- - Sun, 07 Apr 2013 10:03:42 +0000
99
- Connection:
100
- - keep-alive
101
- Content-Length:
102
- - '76'
103
92
  Content-Type:
104
93
  - application/json
105
- Server:
106
- - bitcoin-json-rpc/v0.7.2-beta
107
- body:
108
- encoding: US-ASCII
109
- string: ! '{"result":"mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP","error":null,"id":"jsonrpc"}
110
-
111
- '
112
- http_version:
113
- recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
114
- - request:
115
- method: post
116
- uri: http://admin1:123@localhost:19001/
117
- body:
118
- encoding: US-ASCII
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
94
  Content-Length:
126
- - '66'
95
+ - '56'
127
96
  User-Agent:
128
97
  - Ruby
129
98
  response:
@@ -132,7 +101,7 @@ http_interactions:
132
101
  message: OK
133
102
  headers:
134
103
  Date:
135
- - Sun, 07 Apr 2013 10:03:42 +0000
104
+ - Tue, 04 Mar 2014 14:05:54 +0000
136
105
  Connection:
137
106
  - keep-alive
138
107
  Content-Length:
@@ -143,61 +112,26 @@ http_interactions:
143
112
  - bitcoin-json-rpc/v0.7.2-beta
144
113
  body:
145
114
  encoding: US-ASCII
146
- string: ! '{"result":"n4oW6iDqVuFxdkkByvtytzb6GWEEe9t2gm","error":null,"id":"jsonrpc"}
115
+ string: ! '{"result":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","error":null,"id":"jsonrpc"}
147
116
 
148
117
  '
149
118
  http_version:
150
- recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
119
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
151
120
  - request:
152
121
  method: post
153
122
  uri: http://admin1:123@localhost:19001/
154
123
  body:
155
124
  encoding: US-ASCII
156
- string: ! '{"method":"getnewaddress","params":["moneyd"],"id":"jsonrpc"}'
125
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",1,0],"id":"jsonrpc"}'
157
126
  headers:
158
127
  Accept:
159
128
  - ! '*/*; q=0.5, application/xml'
160
129
  Accept-Encoding:
161
130
  - 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
131
  Content-Type:
178
132
  - 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
133
  Content-Length:
200
- - '59'
134
+ - '91'
201
135
  User-Agent:
202
136
  - Ruby
203
137
  response:
@@ -206,72 +140,37 @@ http_interactions:
206
140
  message: OK
207
141
  headers:
208
142
  Date:
209
- - Sun, 07 Apr 2013 10:03:42 +0000
143
+ - Tue, 04 Mar 2014 14:05:54 +0000
210
144
  Connection:
211
145
  - keep-alive
212
146
  Content-Length:
213
- - '76'
147
+ - '106'
214
148
  Content-Type:
215
149
  - application/json
216
150
  Server:
217
151
  - bitcoin-json-rpc/v0.7.2-beta
218
152
  body:
219
153
  encoding: US-ASCII
220
- string: ! '{"result":"msCmfDydFKDivBKaMHNBLxag7SyMFdo9V1","error":null,"id":"jsonrpc"}
154
+ string: ! '{"result":"be817888b2f16d43250ed368a1c9f6681d1a184604afa01debfdac1c7533da41","error":null,"id":"jsonrpc"}
221
155
 
222
156
  '
223
157
  http_version:
224
- recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
158
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
225
159
  - request:
226
160
  method: post
227
161
  uri: http://admin1:123@localhost:19001/
228
162
  body:
229
163
  encoding: US-ASCII
230
- string: ! '{"method":"getnewaddress","params":["nomoney"],"id":"jsonrpc"}'
164
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",2,0],"id":"jsonrpc"}'
231
165
  headers:
232
166
  Accept:
233
167
  - ! '*/*; q=0.5, application/xml'
234
168
  Accept-Encoding:
235
169
  - 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
170
  Content-Type:
252
171
  - 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
172
  Content-Length:
274
- - '59'
173
+ - '91'
275
174
  User-Agent:
276
175
  - Ruby
277
176
  response:
@@ -280,70 +179,35 @@ http_interactions:
280
179
  message: OK
281
180
  headers:
282
181
  Date:
283
- - Sun, 07 Apr 2013 10:03:42 +0000
182
+ - Tue, 04 Mar 2014 14:05:54 +0000
284
183
  Connection:
285
184
  - keep-alive
286
185
  Content-Length:
287
- - '76'
186
+ - '106'
288
187
  Content-Type:
289
188
  - application/json
290
189
  Server:
291
190
  - bitcoin-json-rpc/v0.7.2-beta
292
191
  body:
293
192
  encoding: US-ASCII
294
- string: ! '{"result":"msHk9YgML1jhyW7rFL4BeQeJcKhccjgLji","error":null,"id":"jsonrpc"}
193
+ string: ! '{"result":"24c696c646d276f33f80858affe5fb02b248af0e255174719dd34ae499c3da04","error":null,"id":"jsonrpc"}
295
194
 
296
195
  '
297
196
  http_version:
298
- recorded_at: Sun, 07 Apr 2013 10:03:42 GMT
197
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
299
198
  - request:
300
199
  method: post
301
200
  uri: http://admin1:123@localhost:19001/
302
201
  body:
303
202
  encoding: US-ASCII
304
- string: ! '{"method":"getnewaddress","params":["numba"],"id":"jsonrpc"}'
203
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",3,0],"id":"jsonrpc"}'
305
204
  headers:
306
205
  Accept:
307
206
  - ! '*/*; q=0.5, application/xml'
308
207
  Accept-Encoding:
309
208
  - 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
209
  Content-Type:
326
210
  - 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"}'
342
- headers:
343
- Accept:
344
- - ! '*/*; q=0.5, application/xml'
345
- Accept-Encoding:
346
- - gzip, deflate
347
211
  Content-Length:
348
212
  - '91'
349
213
  User-Agent:
@@ -354,7 +218,7 @@ http_interactions:
354
218
  message: OK
355
219
  headers:
356
220
  Date:
357
- - Sun, 07 Apr 2013 10:03:43 +0000
221
+ - Tue, 04 Mar 2014 14:05:54 +0000
358
222
  Connection:
359
223
  - keep-alive
360
224
  Content-Length:
@@ -365,59 +229,24 @@ http_interactions:
365
229
  - bitcoin-json-rpc/v0.7.2-beta
366
230
  body:
367
231
  encoding: US-ASCII
368
- string: ! '{"result":"976aeeffaa7fbfb064cb04f2752724f97ce3288c01e6d8c342be43b37ccb8f7d","error":null,"id":"jsonrpc"}
232
+ string: ! '{"result":"b17a5e4f37e3e26873d7be16c25a290580b6822109eacaf6c24b88cbf7741f20","error":null,"id":"jsonrpc"}
369
233
 
370
234
  '
371
235
  http_version:
372
- recorded_at: Sun, 07 Apr 2013 10:03:43 GMT
236
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
373
237
  - request:
374
238
  method: post
375
239
  uri: http://admin1:123@localhost:19001/
376
240
  body:
377
241
  encoding: US-ASCII
378
- string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",2,0],"id":"jsonrpc"}'
242
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",4,0],"id":"jsonrpc"}'
379
243
  headers:
380
244
  Accept:
381
245
  - ! '*/*; q=0.5, application/xml'
382
246
  Accept-Encoding:
383
247
  - gzip, deflate
384
- Content-Length:
385
- - '91'
386
- User-Agent:
387
- - Ruby
388
- response:
389
- status:
390
- code: 200
391
- message: OK
392
- headers:
393
- Date:
394
- - Sun, 07 Apr 2013 10:03:43 +0000
395
- Connection:
396
- - keep-alive
397
- Content-Length:
398
- - '106'
399
248
  Content-Type:
400
249
  - application/json
401
- Server:
402
- - bitcoin-json-rpc/v0.7.2-beta
403
- body:
404
- encoding: US-ASCII
405
- string: ! '{"result":"34f8f7c42a976985643544b3cea570b3eb5be313497930fafddf9aeefab5bc02","error":null,"id":"jsonrpc"}
406
-
407
- '
408
- http_version:
409
- recorded_at: Sun, 07 Apr 2013 10:03:43 GMT
410
- - request:
411
- method: post
412
- uri: http://admin1:123@localhost:19001/
413
- body:
414
- encoding: US-ASCII
415
- string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",3,0],"id":"jsonrpc"}'
416
- headers:
417
- Accept:
418
- - ! '*/*; q=0.5, application/xml'
419
- Accept-Encoding:
420
- - gzip, deflate
421
250
  Content-Length:
422
251
  - '91'
423
252
  User-Agent:
@@ -428,7 +257,7 @@ http_interactions:
428
257
  message: OK
429
258
  headers:
430
259
  Date:
431
- - Sun, 07 Apr 2013 10:03:43 +0000
260
+ - Tue, 04 Mar 2014 14:05:54 +0000
432
261
  Connection:
433
262
  - keep-alive
434
263
  Content-Length:
@@ -439,59 +268,24 @@ http_interactions:
439
268
  - bitcoin-json-rpc/v0.7.2-beta
440
269
  body:
441
270
  encoding: US-ASCII
442
- string: ! '{"result":"854e17b5b8e6c3ff09b7245e034b3433a9d4a868327a338df0cc8836c6795341","error":null,"id":"jsonrpc"}
271
+ string: ! '{"result":"3f49d6db4c3a0c031f6b790539a845bcb0c49a22a58d408f83d7b3c096651fcb","error":null,"id":"jsonrpc"}
443
272
 
444
273
  '
445
274
  http_version:
446
- recorded_at: Sun, 07 Apr 2013 10:03:43 GMT
275
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
447
276
  - request:
448
277
  method: post
449
278
  uri: http://admin1:123@localhost:19001/
450
279
  body:
451
280
  encoding: US-ASCII
452
- string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",4,0],"id":"jsonrpc"}'
281
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",5,0],"id":"jsonrpc"}'
453
282
  headers:
454
283
  Accept:
455
284
  - ! '*/*; q=0.5, application/xml'
456
285
  Accept-Encoding:
457
286
  - gzip, deflate
458
- Content-Length:
459
- - '91'
460
- User-Agent:
461
- - Ruby
462
- response:
463
- status:
464
- code: 200
465
- message: OK
466
- headers:
467
- Date:
468
- - Sun, 07 Apr 2013 10:03:44 +0000
469
- Connection:
470
- - keep-alive
471
- Content-Length:
472
- - '106'
473
287
  Content-Type:
474
288
  - application/json
475
- Server:
476
- - bitcoin-json-rpc/v0.7.2-beta
477
- body:
478
- encoding: US-ASCII
479
- string: ! '{"result":"8c1dde26bee7a4719267f959d45eded422b011a9ec88adc8846944166ba6d065","error":null,"id":"jsonrpc"}
480
-
481
- '
482
- http_version:
483
- recorded_at: Sun, 07 Apr 2013 10:03:44 GMT
484
- - request:
485
- method: post
486
- uri: http://admin1:123@localhost:19001/
487
- body:
488
- encoding: US-ASCII
489
- string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",5,0],"id":"jsonrpc"}'
490
- headers:
491
- Accept:
492
- - ! '*/*; q=0.5, application/xml'
493
- Accept-Encoding:
494
- - gzip, deflate
495
289
  Content-Length:
496
290
  - '91'
497
291
  User-Agent:
@@ -502,7 +296,7 @@ http_interactions:
502
296
  message: OK
503
297
  headers:
504
298
  Date:
505
- - Sun, 07 Apr 2013 10:03:44 +0000
299
+ - Tue, 04 Mar 2014 14:05:54 +0000
506
300
  Connection:
507
301
  - keep-alive
508
302
  Content-Length:
@@ -513,22 +307,24 @@ http_interactions:
513
307
  - bitcoin-json-rpc/v0.7.2-beta
514
308
  body:
515
309
  encoding: US-ASCII
516
- string: ! '{"result":"4845199c96eefb0a58a30125e4c5ad28c16cb8ff00b1b050b1fc669801f5c247","error":null,"id":"jsonrpc"}
310
+ string: ! '{"result":"b16c2c9307fe7cc068a372513416ba807c3fa0bac2b7ef10c608b3fbd2b28c64","error":null,"id":"jsonrpc"}
517
311
 
518
312
  '
519
313
  http_version:
520
- recorded_at: Sun, 07 Apr 2013 10:03:44 GMT
314
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
521
315
  - request:
522
316
  method: post
523
317
  uri: http://admin1:123@localhost:19001/
524
318
  body:
525
319
  encoding: US-ASCII
526
- string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",6,0],"id":"jsonrpc"}'
320
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",6,0],"id":"jsonrpc"}'
527
321
  headers:
528
322
  Accept:
529
323
  - ! '*/*; q=0.5, application/xml'
530
324
  Accept-Encoding:
531
325
  - gzip, deflate
326
+ Content-Type:
327
+ - application/json
532
328
  Content-Length:
533
329
  - '91'
534
330
  User-Agent:
@@ -539,7 +335,7 @@ http_interactions:
539
335
  message: OK
540
336
  headers:
541
337
  Date:
542
- - Sun, 07 Apr 2013 10:03:44 +0000
338
+ - Tue, 04 Mar 2014 14:05:54 +0000
543
339
  Connection:
544
340
  - keep-alive
545
341
  Content-Length:
@@ -550,22 +346,24 @@ http_interactions:
550
346
  - bitcoin-json-rpc/v0.7.2-beta
551
347
  body:
552
348
  encoding: US-ASCII
553
- string: ! '{"result":"bfe30a91c097e370e4e2d96ebce20ff16bcc36793daaccb628d4bd8b03f86f5a","error":null,"id":"jsonrpc"}
349
+ string: ! '{"result":"0bb424d466cb6073d7df704020323e42723e0fb44ac0508d992e80f73d5e1195","error":null,"id":"jsonrpc"}
554
350
 
555
351
  '
556
352
  http_version:
557
- recorded_at: Sun, 07 Apr 2013 10:03:44 GMT
353
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
558
354
  - request:
559
355
  method: post
560
356
  uri: http://admin1:123@localhost:19001/
561
357
  body:
562
358
  encoding: US-ASCII
563
- string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",7,0],"id":"jsonrpc"}'
359
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",7,0],"id":"jsonrpc"}'
564
360
  headers:
565
361
  Accept:
566
362
  - ! '*/*; q=0.5, application/xml'
567
363
  Accept-Encoding:
568
364
  - gzip, deflate
365
+ Content-Type:
366
+ - application/json
569
367
  Content-Length:
570
368
  - '91'
571
369
  User-Agent:
@@ -576,7 +374,7 @@ http_interactions:
576
374
  message: OK
577
375
  headers:
578
376
  Date:
579
- - Sun, 07 Apr 2013 10:03:44 +0000
377
+ - Tue, 04 Mar 2014 14:05:54 +0000
580
378
  Connection:
581
379
  - keep-alive
582
380
  Content-Length:
@@ -587,22 +385,24 @@ http_interactions:
587
385
  - bitcoin-json-rpc/v0.7.2-beta
588
386
  body:
589
387
  encoding: US-ASCII
590
- string: ! '{"result":"f87e3b531e74145ea068515b2c51a3cc9115b7a11a2f044a353960d056fb5a8e","error":null,"id":"jsonrpc"}
388
+ string: ! '{"result":"886a5dabd40f95d75d95af909888cd52bc39f574bd8900bbd4b1d4eb9a2429c8","error":null,"id":"jsonrpc"}
591
389
 
592
390
  '
593
391
  http_version:
594
- recorded_at: Sun, 07 Apr 2013 10:03:44 GMT
392
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
595
393
  - request:
596
394
  method: post
597
395
  uri: http://admin1:123@localhost:19001/
598
396
  body:
599
397
  encoding: US-ASCII
600
- string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",8,0],"id":"jsonrpc"}'
398
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",8,0],"id":"jsonrpc"}'
601
399
  headers:
602
400
  Accept:
603
401
  - ! '*/*; q=0.5, application/xml'
604
402
  Accept-Encoding:
605
403
  - gzip, deflate
404
+ Content-Type:
405
+ - application/json
606
406
  Content-Length:
607
407
  - '91'
608
408
  User-Agent:
@@ -613,7 +413,7 @@ http_interactions:
613
413
  message: OK
614
414
  headers:
615
415
  Date:
616
- - Sun, 07 Apr 2013 10:03:45 +0000
416
+ - Tue, 04 Mar 2014 14:05:54 +0000
617
417
  Connection:
618
418
  - keep-alive
619
419
  Content-Length:
@@ -624,22 +424,24 @@ http_interactions:
624
424
  - bitcoin-json-rpc/v0.7.2-beta
625
425
  body:
626
426
  encoding: US-ASCII
627
- string: ! '{"result":"66dd534544d8ea562d5fbd776f5af8770964985431668ce7692c44aaca245b6e","error":null,"id":"jsonrpc"}
427
+ string: ! '{"result":"ba4247d3e593903eced6f16bf194145fdf2a67e9fe134b4530a470424605e6ac","error":null,"id":"jsonrpc"}
628
428
 
629
429
  '
630
430
  http_version:
631
- recorded_at: Sun, 07 Apr 2013 10:03:45 GMT
431
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
632
432
  - request:
633
433
  method: post
634
434
  uri: http://admin1:123@localhost:19001/
635
435
  body:
636
436
  encoding: US-ASCII
637
- string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",9,0],"id":"jsonrpc"}'
437
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",9,0],"id":"jsonrpc"}'
638
438
  headers:
639
439
  Accept:
640
440
  - ! '*/*; q=0.5, application/xml'
641
441
  Accept-Encoding:
642
442
  - gzip, deflate
443
+ Content-Type:
444
+ - application/json
643
445
  Content-Length:
644
446
  - '91'
645
447
  User-Agent:
@@ -650,7 +452,7 @@ http_interactions:
650
452
  message: OK
651
453
  headers:
652
454
  Date:
653
- - Sun, 07 Apr 2013 10:03:45 +0000
455
+ - Tue, 04 Mar 2014 14:05:54 +0000
654
456
  Connection:
655
457
  - keep-alive
656
458
  Content-Length:
@@ -661,22 +463,24 @@ http_interactions:
661
463
  - bitcoin-json-rpc/v0.7.2-beta
662
464
  body:
663
465
  encoding: US-ASCII
664
- string: ! '{"result":"a5468d6939bbb404e9d04bff95ea3e7be8dcf9257332d3a00ce96052c4710de4","error":null,"id":"jsonrpc"}
466
+ string: ! '{"result":"a0773c4c0dbbc78bb35f59159b6c32079194c41ca4f0170789d9cea6d8590808","error":null,"id":"jsonrpc"}
665
467
 
666
468
  '
667
469
  http_version:
668
- recorded_at: Sun, 07 Apr 2013 10:03:45 GMT
470
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
669
471
  - request:
670
472
  method: post
671
473
  uri: http://admin1:123@localhost:19001/
672
474
  body:
673
475
  encoding: US-ASCII
674
- string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",10,0],"id":"jsonrpc"}'
476
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",10,0],"id":"jsonrpc"}'
675
477
  headers:
676
478
  Accept:
677
479
  - ! '*/*; q=0.5, application/xml'
678
480
  Accept-Encoding:
679
481
  - gzip, deflate
482
+ Content-Type:
483
+ - application/json
680
484
  Content-Length:
681
485
  - '92'
682
486
  User-Agent:
@@ -687,7 +491,7 @@ http_interactions:
687
491
  message: OK
688
492
  headers:
689
493
  Date:
690
- - Sun, 07 Apr 2013 10:03:45 +0000
494
+ - Tue, 04 Mar 2014 14:05:54 +0000
691
495
  Connection:
692
496
  - keep-alive
693
497
  Content-Length:
@@ -698,22 +502,24 @@ http_interactions:
698
502
  - bitcoin-json-rpc/v0.7.2-beta
699
503
  body:
700
504
  encoding: US-ASCII
701
- string: ! '{"result":"79ff3000442409f4130e2de0a961a3053aead25da3710294dc1dd64c293c926b","error":null,"id":"jsonrpc"}
505
+ string: ! '{"result":"20f6669c351dfac454f9a686fedb2e7bb3f9926c51479173f4419c77c9f85686","error":null,"id":"jsonrpc"}
702
506
 
703
507
  '
704
508
  http_version:
705
- recorded_at: Sun, 07 Apr 2013 10:03:45 GMT
509
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
706
510
  - request:
707
511
  method: post
708
512
  uri: http://admin1:123@localhost:19001/
709
513
  body:
710
514
  encoding: US-ASCII
711
- string: ! '{"method":"sendfrom","params":["","mn6NUL16RdkKaoh6oR55BGwSnN7kG1RmiP",11,0],"id":"jsonrpc"}'
515
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",11,0],"id":"jsonrpc"}'
712
516
  headers:
713
517
  Accept:
714
518
  - ! '*/*; q=0.5, application/xml'
715
519
  Accept-Encoding:
716
520
  - gzip, deflate
521
+ Content-Type:
522
+ - application/json
717
523
  Content-Length:
718
524
  - '92'
719
525
  User-Agent:
@@ -724,7 +530,7 @@ http_interactions:
724
530
  message: OK
725
531
  headers:
726
532
  Date:
727
- - Sun, 07 Apr 2013 10:03:45 +0000
533
+ - Tue, 04 Mar 2014 14:05:54 +0000
728
534
  Connection:
729
535
  - keep-alive
730
536
  Content-Length:
@@ -735,11 +541,11 @@ http_interactions:
735
541
  - bitcoin-json-rpc/v0.7.2-beta
736
542
  body:
737
543
  encoding: US-ASCII
738
- string: ! '{"result":"ce85623184721ea3288d5f54331072c4e4b1a73827100b1d6ecdcfe4268e9e04","error":null,"id":"jsonrpc"}
544
+ string: ! '{"result":"765c1841595bf9204b198ca9a5457a1236f516b79a903077d61b8bd7a562c075","error":null,"id":"jsonrpc"}
739
545
 
740
546
  '
741
547
  http_version:
742
- recorded_at: Sun, 07 Apr 2013 10:03:45 GMT
548
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
743
549
  - request:
744
550
  method: post
745
551
  uri: http://admin1:123@localhost:19001/
@@ -751,6 +557,8 @@ http_interactions:
751
557
  - ! '*/*; q=0.5, application/xml'
752
558
  Accept-Encoding:
753
559
  - gzip, deflate
560
+ Content-Type:
561
+ - application/json
754
562
  Content-Length:
755
563
  - '61'
756
564
  User-Agent:
@@ -761,20 +569,20 @@ http_interactions:
761
569
  message: OK
762
570
  headers:
763
571
  Date:
764
- - Sun, 07 Apr 2013 10:03:45 +0000
572
+ - Tue, 04 Mar 2014 14:05:54 +0000
765
573
  Connection:
766
574
  - keep-alive
767
575
  Content-Length:
768
- - '1290'
576
+ - '1287'
769
577
  Content-Type:
770
578
  - application/json
771
579
  Server:
772
580
  - bitcoin-json-rpc/v0.7.2-beta
773
581
  body:
774
582
  encoding: US-ASCII
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"}
583
+ string: ! '{"result":[{"account":"","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"send","amount":-9.00000000,"fee":0.00000000,"confirmations":0,"txid":"a0773c4c0dbbc78bb35f59159b6c32079194c41ca4f0170789d9cea6d8590808","time":1393941954,"timereceived":1393941954},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":10.00000000,"confirmations":0,"txid":"20f6669c351dfac454f9a686fedb2e7bb3f9926c51479173f4419c77c9f85686","time":1393941954,"timereceived":1393941954},{"account":"","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"send","amount":-10.00000000,"fee":0.00000000,"confirmations":0,"txid":"20f6669c351dfac454f9a686fedb2e7bb3f9926c51479173f4419c77c9f85686","time":1393941954,"timereceived":1393941954},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":11.00000000,"confirmations":0,"txid":"765c1841595bf9204b198ca9a5457a1236f516b79a903077d61b8bd7a562c075","time":1393941954,"timereceived":1393941954},{"account":"","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"send","amount":-11.00000000,"fee":0.00000000,"confirmations":0,"txid":"765c1841595bf9204b198ca9a5457a1236f516b79a903077d61b8bd7a562c075","time":1393941954,"timereceived":1393941954}],"error":null,"id":"jsonrpc"}
776
584
 
777
585
  '
778
586
  http_version:
779
- recorded_at: Sun, 07 Apr 2013 10:03:45 GMT
780
- recorded_with: VCR 2.4.0
587
+ recorded_at: Tue, 04 Mar 2014 14:05:54 GMT
588
+ recorded_with: VCR 2.8.0