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:01:20 +0000
26
+ - Tue, 04 Mar 2014 14:05:00 +0000
25
27
  Connection:
26
28
  - keep-alive
27
29
  Content-Length:
28
- - '109'
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":{"":8426.29200000,"1":0.00000000,"name":0.00000000,"nona":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:01:20 GMT
41
+ recorded_at: Tue, 04 Mar 2014 14:05:00 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:01:20 +0000
65
+ - Tue, 04 Mar 2014 14:05:00 +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":"mpJYbgMc5Lp63R23fMsSZLp8XpL9QLkjDf","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:01:20 GMT
80
+ recorded_at: Tue, 04 Mar 2014 14:05:00 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:01:20 +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":"mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9","error":null,"id":"jsonrpc"}
110
-
111
- '
112
- http_version:
113
- recorded_at: Sun, 07 Apr 2013 10:01:20 GMT
114
- - request:
115
- method: post
116
- uri: http://admin1:123@localhost:19001/
117
- body:
118
- encoding: US-ASCII
119
- string: ! '{"method":"getnewaddress","params":["name"],"id":"jsonrpc"}'
120
- headers:
121
- Accept:
122
- - ! '*/*; q=0.5, application/xml'
123
- Accept-Encoding:
124
- - gzip, deflate
125
94
  Content-Length:
126
- - '59'
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:01:21 +0000
104
+ - Tue, 04 Mar 2014 14:05:00 +0000
136
105
  Connection:
137
106
  - keep-alive
138
107
  Content-Length:
@@ -143,59 +112,24 @@ http_interactions:
143
112
  - bitcoin-json-rpc/v0.7.2-beta
144
113
  body:
145
114
  encoding: US-ASCII
146
- string: ! '{"result":"mtDGW9uZrRTErptEW1UnHeYLh5J3H4TyDB","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:01:21 GMT
119
+ recorded_at: Tue, 04 Mar 2014 14:05:00 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":["nona"],"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
- - '59'
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:01:21 +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":"mt4r2DTg2zRqbAboQG3t5sTJu1VG9wtoom","error":null,"id":"jsonrpc"}
184
-
185
- '
186
- http_version:
187
- recorded_at: Sun, 07 Apr 2013 10:01:21 GMT
188
- - request:
189
- method: post
190
- uri: http://admin1:123@localhost:19001/
191
- body:
192
- encoding: US-ASCII
193
- string: ! '{"method":"sendfrom","params":["","mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9",1,0],"id":"jsonrpc"}'
194
- headers:
195
- Accept:
196
- - ! '*/*; q=0.5, application/xml'
197
- Accept-Encoding:
198
- - gzip, deflate
199
133
  Content-Length:
200
134
  - '91'
201
135
  User-Agent:
@@ -206,7 +140,7 @@ http_interactions:
206
140
  message: OK
207
141
  headers:
208
142
  Date:
209
- - Sun, 07 Apr 2013 10:01:21 +0000
143
+ - Tue, 04 Mar 2014 14:05:00 +0000
210
144
  Connection:
211
145
  - keep-alive
212
146
  Content-Length:
@@ -217,22 +151,24 @@ http_interactions:
217
151
  - bitcoin-json-rpc/v0.7.2-beta
218
152
  body:
219
153
  encoding: US-ASCII
220
- string: ! '{"result":"123ef5ffaf9a98ef740a511f4e496823841d08fa54fa65e4507441c7cb8d96f2","error":null,"id":"jsonrpc"}
154
+ string: ! '{"result":"9532bc899b72b7f26deeed5076e5cb183026dc9836d3475e46a0b5a6b63fb0d4","error":null,"id":"jsonrpc"}
221
155
 
222
156
  '
223
157
  http_version:
224
- recorded_at: Sun, 07 Apr 2013 10:01:21 GMT
158
+ recorded_at: Tue, 04 Mar 2014 14:05:00 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":"sendfrom","params":["","mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9",2,0],"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
170
+ Content-Type:
171
+ - application/json
236
172
  Content-Length:
237
173
  - '91'
238
174
  User-Agent:
@@ -243,7 +179,7 @@ http_interactions:
243
179
  message: OK
244
180
  headers:
245
181
  Date:
246
- - Sun, 07 Apr 2013 10:01:21 +0000
182
+ - Tue, 04 Mar 2014 14:05:00 +0000
247
183
  Connection:
248
184
  - keep-alive
249
185
  Content-Length:
@@ -254,22 +190,24 @@ http_interactions:
254
190
  - bitcoin-json-rpc/v0.7.2-beta
255
191
  body:
256
192
  encoding: US-ASCII
257
- string: ! '{"result":"8c9466fe53167cfea8cecaa6a966172e44ea56b5e21bbe9d31797b2760e949fa","error":null,"id":"jsonrpc"}
193
+ string: ! '{"result":"737ba5984490e3a365fd36f795869898f018d683e4851d0ce514268f101654ef","error":null,"id":"jsonrpc"}
258
194
 
259
195
  '
260
196
  http_version:
261
- recorded_at: Sun, 07 Apr 2013 10:01:21 GMT
197
+ recorded_at: Tue, 04 Mar 2014 14:05:00 GMT
262
198
  - request:
263
199
  method: post
264
200
  uri: http://admin1:123@localhost:19001/
265
201
  body:
266
202
  encoding: US-ASCII
267
- string: ! '{"method":"sendfrom","params":["","mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9",3,0],"id":"jsonrpc"}'
203
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",3,0],"id":"jsonrpc"}'
268
204
  headers:
269
205
  Accept:
270
206
  - ! '*/*; q=0.5, application/xml'
271
207
  Accept-Encoding:
272
208
  - gzip, deflate
209
+ Content-Type:
210
+ - application/json
273
211
  Content-Length:
274
212
  - '91'
275
213
  User-Agent:
@@ -280,7 +218,7 @@ http_interactions:
280
218
  message: OK
281
219
  headers:
282
220
  Date:
283
- - Sun, 07 Apr 2013 10:01:21 +0000
221
+ - Tue, 04 Mar 2014 14:05:00 +0000
284
222
  Connection:
285
223
  - keep-alive
286
224
  Content-Length:
@@ -291,22 +229,24 @@ http_interactions:
291
229
  - bitcoin-json-rpc/v0.7.2-beta
292
230
  body:
293
231
  encoding: US-ASCII
294
- string: ! '{"result":"a003cac652fe505109712d64a43654e17d0d24c34997038ffd785d722a24073f","error":null,"id":"jsonrpc"}
232
+ string: ! '{"result":"ea86199db8820c7e7cfda04fc474905b8bde9c558ca0514fed90b406d0ccb26a","error":null,"id":"jsonrpc"}
295
233
 
296
234
  '
297
235
  http_version:
298
- recorded_at: Sun, 07 Apr 2013 10:01:21 GMT
236
+ recorded_at: Tue, 04 Mar 2014 14:05:00 GMT
299
237
  - request:
300
238
  method: post
301
239
  uri: http://admin1:123@localhost:19001/
302
240
  body:
303
241
  encoding: US-ASCII
304
- string: ! '{"method":"sendfrom","params":["","mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9",4,0],"id":"jsonrpc"}'
242
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",4,0],"id":"jsonrpc"}'
305
243
  headers:
306
244
  Accept:
307
245
  - ! '*/*; q=0.5, application/xml'
308
246
  Accept-Encoding:
309
247
  - gzip, deflate
248
+ Content-Type:
249
+ - application/json
310
250
  Content-Length:
311
251
  - '91'
312
252
  User-Agent:
@@ -317,7 +257,7 @@ http_interactions:
317
257
  message: OK
318
258
  headers:
319
259
  Date:
320
- - Sun, 07 Apr 2013 10:01:21 +0000
260
+ - Tue, 04 Mar 2014 14:05:00 +0000
321
261
  Connection:
322
262
  - keep-alive
323
263
  Content-Length:
@@ -328,22 +268,24 @@ http_interactions:
328
268
  - bitcoin-json-rpc/v0.7.2-beta
329
269
  body:
330
270
  encoding: US-ASCII
331
- string: ! '{"result":"d8881f10d5b3198223ca8e03385f49412b2d07eba07cc23e72ae478efdda0061","error":null,"id":"jsonrpc"}
271
+ string: ! '{"result":"255c3d96ae385f3cb14fb07e705205c3daedd0822a1b48f1a52f8723d45c63d2","error":null,"id":"jsonrpc"}
332
272
 
333
273
  '
334
274
  http_version:
335
- recorded_at: Sun, 07 Apr 2013 10:01:21 GMT
275
+ recorded_at: Tue, 04 Mar 2014 14:05:00 GMT
336
276
  - request:
337
277
  method: post
338
278
  uri: http://admin1:123@localhost:19001/
339
279
  body:
340
280
  encoding: US-ASCII
341
- string: ! '{"method":"sendfrom","params":["","mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9",5,0],"id":"jsonrpc"}'
281
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",5,0],"id":"jsonrpc"}'
342
282
  headers:
343
283
  Accept:
344
284
  - ! '*/*; q=0.5, application/xml'
345
285
  Accept-Encoding:
346
286
  - gzip, deflate
287
+ Content-Type:
288
+ - application/json
347
289
  Content-Length:
348
290
  - '91'
349
291
  User-Agent:
@@ -354,7 +296,7 @@ http_interactions:
354
296
  message: OK
355
297
  headers:
356
298
  Date:
357
- - Sun, 07 Apr 2013 10:01:21 +0000
299
+ - Tue, 04 Mar 2014 14:05:00 +0000
358
300
  Connection:
359
301
  - keep-alive
360
302
  Content-Length:
@@ -365,22 +307,24 @@ http_interactions:
365
307
  - bitcoin-json-rpc/v0.7.2-beta
366
308
  body:
367
309
  encoding: US-ASCII
368
- string: ! '{"result":"c634c0c20e8c693d36b187b8876da81c07e863fddbace50f546fa0141a5aed28","error":null,"id":"jsonrpc"}
310
+ string: ! '{"result":"b62aed8139061d092e8abe5ab4f6d373440421eb6b9ee3166202a8c78bdd0fd1","error":null,"id":"jsonrpc"}
369
311
 
370
312
  '
371
313
  http_version:
372
- recorded_at: Sun, 07 Apr 2013 10:01:21 GMT
314
+ recorded_at: Tue, 04 Mar 2014 14:05:00 GMT
373
315
  - request:
374
316
  method: post
375
317
  uri: http://admin1:123@localhost:19001/
376
318
  body:
377
319
  encoding: US-ASCII
378
- string: ! '{"method":"sendfrom","params":["","mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9",6,0],"id":"jsonrpc"}'
320
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",6,0],"id":"jsonrpc"}'
379
321
  headers:
380
322
  Accept:
381
323
  - ! '*/*; q=0.5, application/xml'
382
324
  Accept-Encoding:
383
325
  - gzip, deflate
326
+ Content-Type:
327
+ - application/json
384
328
  Content-Length:
385
329
  - '91'
386
330
  User-Agent:
@@ -391,7 +335,7 @@ http_interactions:
391
335
  message: OK
392
336
  headers:
393
337
  Date:
394
- - Sun, 07 Apr 2013 10:01:21 +0000
338
+ - Tue, 04 Mar 2014 14:05:00 +0000
395
339
  Connection:
396
340
  - keep-alive
397
341
  Content-Length:
@@ -402,22 +346,24 @@ http_interactions:
402
346
  - bitcoin-json-rpc/v0.7.2-beta
403
347
  body:
404
348
  encoding: US-ASCII
405
- string: ! '{"result":"8e791d11ae9df179c2ce07bee586f002550dd9248bf97c0acbdd748a9b024bef","error":null,"id":"jsonrpc"}
349
+ string: ! '{"result":"2d494aef4d90ffe547159ceff2e8ebee329266eb97afd777808940dea653542b","error":null,"id":"jsonrpc"}
406
350
 
407
351
  '
408
352
  http_version:
409
- recorded_at: Sun, 07 Apr 2013 10:01:21 GMT
353
+ recorded_at: Tue, 04 Mar 2014 14:05:00 GMT
410
354
  - request:
411
355
  method: post
412
356
  uri: http://admin1:123@localhost:19001/
413
357
  body:
414
358
  encoding: US-ASCII
415
- string: ! '{"method":"sendfrom","params":["","mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9",7,0],"id":"jsonrpc"}'
359
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",7,0],"id":"jsonrpc"}'
416
360
  headers:
417
361
  Accept:
418
362
  - ! '*/*; q=0.5, application/xml'
419
363
  Accept-Encoding:
420
364
  - gzip, deflate
365
+ Content-Type:
366
+ - application/json
421
367
  Content-Length:
422
368
  - '91'
423
369
  User-Agent:
@@ -428,7 +374,7 @@ http_interactions:
428
374
  message: OK
429
375
  headers:
430
376
  Date:
431
- - Sun, 07 Apr 2013 10:01:21 +0000
377
+ - Tue, 04 Mar 2014 14:05:00 +0000
432
378
  Connection:
433
379
  - keep-alive
434
380
  Content-Length:
@@ -439,22 +385,24 @@ http_interactions:
439
385
  - bitcoin-json-rpc/v0.7.2-beta
440
386
  body:
441
387
  encoding: US-ASCII
442
- string: ! '{"result":"e4cd79fe5d1555386fade079be3d2165e05b7615f5731af6e5714b3c73b85f32","error":null,"id":"jsonrpc"}
388
+ string: ! '{"result":"22253d3d40f9e160b2cafba4422c55cee6815c77bb9041260d06e6084fff5237","error":null,"id":"jsonrpc"}
443
389
 
444
390
  '
445
391
  http_version:
446
- recorded_at: Sun, 07 Apr 2013 10:01:21 GMT
392
+ recorded_at: Tue, 04 Mar 2014 14:05:00 GMT
447
393
  - request:
448
394
  method: post
449
395
  uri: http://admin1:123@localhost:19001/
450
396
  body:
451
397
  encoding: US-ASCII
452
- string: ! '{"method":"sendfrom","params":["","mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9",8,0],"id":"jsonrpc"}'
398
+ string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",8,0],"id":"jsonrpc"}'
453
399
  headers:
454
400
  Accept:
455
401
  - ! '*/*; q=0.5, application/xml'
456
402
  Accept-Encoding:
457
403
  - gzip, deflate
404
+ Content-Type:
405
+ - application/json
458
406
  Content-Length:
459
407
  - '91'
460
408
  User-Agent:
@@ -465,7 +413,7 @@ http_interactions:
465
413
  message: OK
466
414
  headers:
467
415
  Date:
468
- - Sun, 07 Apr 2013 10:01:21 +0000
416
+ - Tue, 04 Mar 2014 14:05:00 +0000
469
417
  Connection:
470
418
  - keep-alive
471
419
  Content-Length:
@@ -476,11 +424,11 @@ http_interactions:
476
424
  - bitcoin-json-rpc/v0.7.2-beta
477
425
  body:
478
426
  encoding: US-ASCII
479
- string: ! '{"result":"85168871234439c6c45155362c73b81fc8e7b3a9e18f273dd36614296f59ecda","error":null,"id":"jsonrpc"}
427
+ string: ! '{"result":"510f8afb16247b0f855ad68f1fc36e1a4b2ee247641261a60cd95b07485011cf","error":null,"id":"jsonrpc"}
480
428
 
481
429
  '
482
430
  http_version:
483
- recorded_at: Sun, 07 Apr 2013 10:01:21 GMT
431
+ recorded_at: Tue, 04 Mar 2014 14:05:00 GMT
484
432
  - request:
485
433
  method: post
486
434
  uri: http://admin1:123@localhost:19001/
@@ -492,6 +440,8 @@ http_interactions:
492
440
  - ! '*/*; q=0.5, application/xml'
493
441
  Accept-Encoding:
494
442
  - gzip, deflate
443
+ Content-Type:
444
+ - application/json
495
445
  Content-Length:
496
446
  - '61'
497
447
  User-Agent:
@@ -502,7 +452,7 @@ http_interactions:
502
452
  message: OK
503
453
  headers:
504
454
  Date:
505
- - Sun, 07 Apr 2013 10:01:21 +0000
455
+ - Tue, 04 Mar 2014 14:05:00 +0000
506
456
  Connection:
507
457
  - keep-alive
508
458
  Content-Length:
@@ -513,9 +463,9 @@ http_interactions:
513
463
  - bitcoin-json-rpc/v0.7.2-beta
514
464
  body:
515
465
  encoding: US-ASCII
516
- string: ! '{"result":[{"account":"1","address":"mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9","category":"receive","amount":3.00000000,"confirmations":0,"txid":"a003cac652fe505109712d64a43654e17d0d24c34997038ffd785d722a24073f","time":1365328881,"timereceived":1365328881},{"account":"1","address":"mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9","category":"receive","amount":4.00000000,"confirmations":0,"txid":"d8881f10d5b3198223ca8e03385f49412b2d07eba07cc23e72ae478efdda0061","time":1365328881,"timereceived":1365328881},{"account":"1","address":"mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9","category":"receive","amount":5.00000000,"confirmations":0,"txid":"c634c0c20e8c693d36b187b8876da81c07e863fddbace50f546fa0141a5aed28","time":1365328881,"timereceived":1365328881},{"account":"1","address":"mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9","category":"receive","amount":6.00000000,"confirmations":0,"txid":"8e791d11ae9df179c2ce07bee586f002550dd9248bf97c0acbdd748a9b024bef","time":1365328881,"timereceived":1365328881},{"account":"1","address":"mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9","category":"receive","amount":7.00000000,"confirmations":0,"txid":"e4cd79fe5d1555386fade079be3d2165e05b7615f5731af6e5714b3c73b85f32","time":1365328881,"timereceived":1365328881},{"account":"1","address":"mqJHCXEhuMEEm27L2WyzYb2DgSVxzEyGD9","category":"receive","amount":8.00000000,"confirmations":0,"txid":"85168871234439c6c45155362c73b81fc8e7b3a9e18f273dd36614296f59ecda","time":1365328881,"timereceived":1365328881}],"error":null,"id":"jsonrpc"}
466
+ string: ! '{"result":[{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":3.00000000,"confirmations":0,"txid":"ea86199db8820c7e7cfda04fc474905b8bde9c558ca0514fed90b406d0ccb26a","time":1393941900,"timereceived":1393941900},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":4.00000000,"confirmations":0,"txid":"255c3d96ae385f3cb14fb07e705205c3daedd0822a1b48f1a52f8723d45c63d2","time":1393941900,"timereceived":1393941900},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":5.00000000,"confirmations":0,"txid":"b62aed8139061d092e8abe5ab4f6d373440421eb6b9ee3166202a8c78bdd0fd1","time":1393941900,"timereceived":1393941900},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":6.00000000,"confirmations":0,"txid":"2d494aef4d90ffe547159ceff2e8ebee329266eb97afd777808940dea653542b","time":1393941900,"timereceived":1393941900},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":7.00000000,"confirmations":0,"txid":"22253d3d40f9e160b2cafba4422c55cee6815c77bb9041260d06e6084fff5237","time":1393941900,"timereceived":1393941900},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":8.00000000,"confirmations":0,"txid":"510f8afb16247b0f855ad68f1fc36e1a4b2ee247641261a60cd95b07485011cf","time":1393941900,"timereceived":1393941900}],"error":null,"id":"jsonrpc"}
517
467
 
518
468
  '
519
469
  http_version:
520
- recorded_at: Sun, 07 Apr 2013 10:01:21 GMT
521
- recorded_with: VCR 2.4.0
470
+ recorded_at: Tue, 04 Mar 2014 14:05:00 GMT
471
+ recorded_with: VCR 2.8.0