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.
Files changed (41) hide show
  1. data/.gitmodules +1 -1
  2. data/Gemfile +6 -0
  3. data/README.md +1 -0
  4. data/bit_wallet.gemspec +1 -1
  5. data/lib/bit_wallet/account.rb +20 -0
  6. data/lib/bit_wallet/transaction.rb +9 -8
  7. data/lib/bit_wallet/version.rb +1 -1
  8. data/spec/bit_wallet/account_spec.rb +16 -0
  9. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_be_able_to_override_the_min_conf.yml +87 -13
  10. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_default_to_the_config_min_conf.yml +87 -13
  11. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_return_the_balance_of_the_account.yml +93 -19
  12. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/should_default_to_list_10_transactions.yml +146 -72
  13. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_6/should_list_the_6_most_recent_transactions.yml +119 -45
  14. 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
  15. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/account_does_not_have_enough_money/should_fail_with_the_InsufficientFunds_error.yml +96 -22
  16. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/should_send_money_to_the_given_address.yml +98 -24
  17. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_many/should_send_the_amounts_of_money_to_the_specified_accounts.yml +262 -0
  18. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_total_received/should_return_the_total_amount_received_by_the_address.yml +4 -4
  19. data/spec/fixtures/vcr_cassettes/BitWallet_Account/addresses/.yml +4 -4
  20. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_be_assigned_that_name.yml +87 -13
  21. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_have_a_default_name.yml +4 -4
  22. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/when_the_account_name_already_exists/should_return_that_same_address.yml +87 -13
  23. data/spec/fixtures/vcr_cassettes/BitWallet_Account/wallet/.yml +4 -4
  24. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_includes_account_name_account_/should_return_true_if_the_array_includes_the_account.yml +121 -10
  25. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_new/should_create_a_new_BitWallet_Account_with_a_default_address.yml +121 -10
  26. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_with_balance/should_return_accounts_with_a_balance_0.yml +480 -36
  27. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/wallet/.yml +118 -7
  28. data/spec/fixtures/vcr_cassettes/BitWallet_Address/_total_received/should_return_the_total_amount_received_by_the_address.yml +8 -8
  29. data/spec/fixtures/vcr_cassettes/BitWallet_Address/account/.yml +8 -8
  30. data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/address_given_already_exists/should_not_create_an_address.yml +4 -4
  31. data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/no_address_is_given/should_create_an_address.yml +8 -8
  32. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/_new/with_address_string_given/should_return_an_Address_with_the_given_address_string.yml +4 -4
  33. 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
  34. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/account/.yml +4 -4
  35. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/new/.yml +8 -8
  36. data/spec/fixtures/vcr_cassettes/BitWallet_Transaction/on_initialization/should_be_able_to_take_a_bitcoind_hash.yml +235 -13
  37. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_accounts/should_return_array_of_BitWallet_Accounts.yml +268 -9
  38. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_allow_overriding_of_the_transaction_limit.yml +280 -58
  39. 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
  40. metadata +8 -8
  41. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_5/should_list_the_5_most_recent_transactions.yml +0 -447
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: http://admin1:123@localhost:19001/
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: US-ASCII
8
8
  string: ! '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
9
9
  headers:
10
10
  Accept:
@@ -21,27 +21,27 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Thu, 07 Mar 2013 10:20:45 +0000
24
+ - Sun, 07 Apr 2013 10:01:13 +0000
25
25
  Connection:
26
26
  - keep-alive
27
27
  Content-Length:
28
- - '58'
28
+ - '109'
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":{"":8800.00000000},"error":null,"id":"jsonrpc"}
35
+ string: ! '{"result":{"":8492.29750000,"1":0.00000000,"name":0.00000000,"nona":0.00000000},"error":null,"id":"jsonrpc"}
36
36
 
37
37
  '
38
38
  http_version:
39
- recorded_at: Thu, 07 Mar 2013 10:20:45 GMT
39
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
40
40
  - request:
41
41
  method: post
42
42
  uri: http://admin1:123@localhost:19001/
43
43
  body:
44
- encoding: UTF-8
44
+ encoding: US-ASCII
45
45
  string: ! '{"method":"getnewaddress","params":[""],"id":"jsonrpc"}'
46
46
  headers:
47
47
  Accept:
@@ -58,7 +58,7 @@ http_interactions:
58
58
  message: OK
59
59
  headers:
60
60
  Date:
61
- - Thu, 07 Mar 2013 10:20:45 +0000
61
+ - Sun, 07 Apr 2013 10:01:13 +0000
62
62
  Connection:
63
63
  - keep-alive
64
64
  Content-Length:
@@ -69,16 +69,16 @@ http_interactions:
69
69
  - bitcoin-json-rpc/v0.7.2-beta
70
70
  body:
71
71
  encoding: US-ASCII
72
- string: ! '{"result":"mi487X6jj8ggY6FAoG8ibv7qomcq9TXL1U","error":null,"id":"jsonrpc"}
72
+ string: ! '{"result":"n2mC5csBtGGvt38kPRSNFRydE5LAB3EGjz","error":null,"id":"jsonrpc"}
73
73
 
74
74
  '
75
75
  http_version:
76
- recorded_at: Thu, 07 Mar 2013 10:20:45 GMT
76
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
77
77
  - request:
78
78
  method: post
79
79
  uri: http://admin1:123@localhost:19001/
80
80
  body:
81
- encoding: UTF-8
81
+ encoding: US-ASCII
82
82
  string: ! '{"method":"getnewaddress","params":["1"],"id":"jsonrpc"}'
83
83
  headers:
84
84
  Accept:
@@ -95,7 +95,44 @@ http_interactions:
95
95
  message: OK
96
96
  headers:
97
97
  Date:
98
- - Thu, 07 Mar 2013 10:20:45 +0000
98
+ - Sun, 07 Apr 2013 10:01:13 +0000
99
+ Connection:
100
+ - keep-alive
101
+ Content-Length:
102
+ - '76'
103
+ Content-Type:
104
+ - application/json
105
+ Server:
106
+ - bitcoin-json-rpc/v0.7.2-beta
107
+ body:
108
+ encoding: US-ASCII
109
+ string: ! '{"result":"mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P","error":null,"id":"jsonrpc"}
110
+
111
+ '
112
+ http_version:
113
+ recorded_at: Sun, 07 Apr 2013 10:01:13 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
+ Content-Length:
126
+ - '59'
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:01:13 +0000
99
136
  Connection:
100
137
  - keep-alive
101
138
  Content-Length:
@@ -106,17 +143,54 @@ http_interactions:
106
143
  - bitcoin-json-rpc/v0.7.2-beta
107
144
  body:
108
145
  encoding: US-ASCII
109
- string: ! '{"result":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","error":null,"id":"jsonrpc"}
146
+ string: ! '{"result":"mxe4mfiLDchKhWMG4K1SWgss9Y8bfTD3Ep","error":null,"id":"jsonrpc"}
110
147
 
111
148
  '
112
149
  http_version:
113
- recorded_at: Thu, 07 Mar 2013 10:20:45 GMT
150
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
114
151
  - request:
115
152
  method: post
116
153
  uri: http://admin1:123@localhost:19001/
117
154
  body:
118
- encoding: UTF-8
119
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",1,0],"id":"jsonrpc"}'
155
+ encoding: US-ASCII
156
+ string: ! '{"method":"getnewaddress","params":["nona"],"id":"jsonrpc"}'
157
+ headers:
158
+ Accept:
159
+ - ! '*/*; q=0.5, application/xml'
160
+ Accept-Encoding:
161
+ - 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:13 +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":"n2vjYRNZ3F5odZzZNCdBZ2qZN4G3dd2E7X","error":null,"id":"jsonrpc"}
184
+
185
+ '
186
+ http_version:
187
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
188
+ - request:
189
+ method: post
190
+ uri: http://admin1:123@localhost:19001/
191
+ body:
192
+ encoding: US-ASCII
193
+ string: ! '{"method":"sendfrom","params":["","mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P",1,0],"id":"jsonrpc"}'
120
194
  headers:
121
195
  Accept:
122
196
  - ! '*/*; q=0.5, application/xml'
@@ -132,7 +206,7 @@ http_interactions:
132
206
  message: OK
133
207
  headers:
134
208
  Date:
135
- - Thu, 07 Mar 2013 10:20:45 +0000
209
+ - Sun, 07 Apr 2013 10:01:13 +0000
136
210
  Connection:
137
211
  - keep-alive
138
212
  Content-Length:
@@ -143,17 +217,17 @@ http_interactions:
143
217
  - bitcoin-json-rpc/v0.7.2-beta
144
218
  body:
145
219
  encoding: US-ASCII
146
- string: ! '{"result":"87d140913cc57e2447a947d36a02424a8050af1dd560fd932b58ff2901a4f638","error":null,"id":"jsonrpc"}
220
+ string: ! '{"result":"3bc9b83d33b02b9d84a20727de586e4e5a3dde5e7db34c26e554caef9abc1eb6","error":null,"id":"jsonrpc"}
147
221
 
148
222
  '
149
223
  http_version:
150
- recorded_at: Thu, 07 Mar 2013 10:20:45 GMT
224
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
151
225
  - request:
152
226
  method: post
153
227
  uri: http://admin1:123@localhost:19001/
154
228
  body:
155
- encoding: UTF-8
156
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",2,0],"id":"jsonrpc"}'
229
+ encoding: US-ASCII
230
+ string: ! '{"method":"sendfrom","params":["","mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P",2,0],"id":"jsonrpc"}'
157
231
  headers:
158
232
  Accept:
159
233
  - ! '*/*; q=0.5, application/xml'
@@ -169,7 +243,7 @@ http_interactions:
169
243
  message: OK
170
244
  headers:
171
245
  Date:
172
- - Thu, 07 Mar 2013 10:20:45 +0000
246
+ - Sun, 07 Apr 2013 10:01:13 +0000
173
247
  Connection:
174
248
  - keep-alive
175
249
  Content-Length:
@@ -180,17 +254,17 @@ http_interactions:
180
254
  - bitcoin-json-rpc/v0.7.2-beta
181
255
  body:
182
256
  encoding: US-ASCII
183
- string: ! '{"result":"15315e66d067738b346abe5f8f0d831e491ef49407631479bd9bf46fecb61492","error":null,"id":"jsonrpc"}
257
+ string: ! '{"result":"e62dbf4dae346307d2e0bc649088d296d7fe04f68c48fa11d91393b0680c3100","error":null,"id":"jsonrpc"}
184
258
 
185
259
  '
186
260
  http_version:
187
- recorded_at: Thu, 07 Mar 2013 10:20:45 GMT
261
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
188
262
  - request:
189
263
  method: post
190
264
  uri: http://admin1:123@localhost:19001/
191
265
  body:
192
- encoding: UTF-8
193
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",3,0],"id":"jsonrpc"}'
266
+ encoding: US-ASCII
267
+ string: ! '{"method":"sendfrom","params":["","mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P",3,0],"id":"jsonrpc"}'
194
268
  headers:
195
269
  Accept:
196
270
  - ! '*/*; q=0.5, application/xml'
@@ -206,7 +280,7 @@ http_interactions:
206
280
  message: OK
207
281
  headers:
208
282
  Date:
209
- - Thu, 07 Mar 2013 10:20:46 +0000
283
+ - Sun, 07 Apr 2013 10:01:13 +0000
210
284
  Connection:
211
285
  - keep-alive
212
286
  Content-Length:
@@ -217,17 +291,17 @@ http_interactions:
217
291
  - bitcoin-json-rpc/v0.7.2-beta
218
292
  body:
219
293
  encoding: US-ASCII
220
- string: ! '{"result":"c22026592e88ba1655380c4fa1b146aa3d178a5954f2929528951f6c4c4fb374","error":null,"id":"jsonrpc"}
294
+ string: ! '{"result":"99694060f0757e941a0b96066c8c7405815f02390472274243acd3ccfee7f962","error":null,"id":"jsonrpc"}
221
295
 
222
296
  '
223
297
  http_version:
224
- recorded_at: Thu, 07 Mar 2013 10:20:46 GMT
298
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
225
299
  - request:
226
300
  method: post
227
301
  uri: http://admin1:123@localhost:19001/
228
302
  body:
229
- encoding: UTF-8
230
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",4,0],"id":"jsonrpc"}'
303
+ encoding: US-ASCII
304
+ string: ! '{"method":"sendfrom","params":["","mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P",4,0],"id":"jsonrpc"}'
231
305
  headers:
232
306
  Accept:
233
307
  - ! '*/*; q=0.5, application/xml'
@@ -243,7 +317,7 @@ http_interactions:
243
317
  message: OK
244
318
  headers:
245
319
  Date:
246
- - Thu, 07 Mar 2013 10:20:46 +0000
320
+ - Sun, 07 Apr 2013 10:01:13 +0000
247
321
  Connection:
248
322
  - keep-alive
249
323
  Content-Length:
@@ -254,17 +328,17 @@ http_interactions:
254
328
  - bitcoin-json-rpc/v0.7.2-beta
255
329
  body:
256
330
  encoding: US-ASCII
257
- string: ! '{"result":"2eafcfc7d323de387af0737a4758512d4f437b2e2b2e7c3deedc4588eeeffbb2","error":null,"id":"jsonrpc"}
331
+ string: ! '{"result":"8a0c3adeae46dc59fb963b11559b020a37c958c19e89edcea7f594b9e8061150","error":null,"id":"jsonrpc"}
258
332
 
259
333
  '
260
334
  http_version:
261
- recorded_at: Thu, 07 Mar 2013 10:20:46 GMT
335
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
262
336
  - request:
263
337
  method: post
264
338
  uri: http://admin1:123@localhost:19001/
265
339
  body:
266
- encoding: UTF-8
267
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",5,0],"id":"jsonrpc"}'
340
+ encoding: US-ASCII
341
+ string: ! '{"method":"sendfrom","params":["","mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P",5,0],"id":"jsonrpc"}'
268
342
  headers:
269
343
  Accept:
270
344
  - ! '*/*; q=0.5, application/xml'
@@ -280,7 +354,7 @@ http_interactions:
280
354
  message: OK
281
355
  headers:
282
356
  Date:
283
- - Thu, 07 Mar 2013 10:20:46 +0000
357
+ - Sun, 07 Apr 2013 10:01:13 +0000
284
358
  Connection:
285
359
  - keep-alive
286
360
  Content-Length:
@@ -291,17 +365,17 @@ http_interactions:
291
365
  - bitcoin-json-rpc/v0.7.2-beta
292
366
  body:
293
367
  encoding: US-ASCII
294
- string: ! '{"result":"03386c6d45581201a95df847123af252ba832dba370d929c23220c74fa818a49","error":null,"id":"jsonrpc"}
368
+ string: ! '{"result":"2f77d1c3f23544d4d28c40ffac9128fc7dd6a19e2aa3f98b79a63b10caf922da","error":null,"id":"jsonrpc"}
295
369
 
296
370
  '
297
371
  http_version:
298
- recorded_at: Thu, 07 Mar 2013 10:20:46 GMT
372
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
299
373
  - request:
300
374
  method: post
301
375
  uri: http://admin1:123@localhost:19001/
302
376
  body:
303
- encoding: UTF-8
304
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",6,0],"id":"jsonrpc"}'
377
+ encoding: US-ASCII
378
+ string: ! '{"method":"sendfrom","params":["","mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P",6,0],"id":"jsonrpc"}'
305
379
  headers:
306
380
  Accept:
307
381
  - ! '*/*; q=0.5, application/xml'
@@ -317,7 +391,7 @@ http_interactions:
317
391
  message: OK
318
392
  headers:
319
393
  Date:
320
- - Thu, 07 Mar 2013 10:20:46 +0000
394
+ - Sun, 07 Apr 2013 10:01:13 +0000
321
395
  Connection:
322
396
  - keep-alive
323
397
  Content-Length:
@@ -328,17 +402,17 @@ http_interactions:
328
402
  - bitcoin-json-rpc/v0.7.2-beta
329
403
  body:
330
404
  encoding: US-ASCII
331
- string: ! '{"result":"f4ab391c1d0ce7a1e76a5441bdc9eb8f687bf088200bc1d5aefe3b1cc62fd402","error":null,"id":"jsonrpc"}
405
+ string: ! '{"result":"ccf12f830e6d435b1307d23c6149547a97501a0e279f9683eee3b3fd180f19b0","error":null,"id":"jsonrpc"}
332
406
 
333
407
  '
334
408
  http_version:
335
- recorded_at: Thu, 07 Mar 2013 10:20:46 GMT
409
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
336
410
  - request:
337
411
  method: post
338
412
  uri: http://admin1:123@localhost:19001/
339
413
  body:
340
- encoding: UTF-8
341
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",7,0],"id":"jsonrpc"}'
414
+ encoding: US-ASCII
415
+ string: ! '{"method":"sendfrom","params":["","mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P",7,0],"id":"jsonrpc"}'
342
416
  headers:
343
417
  Accept:
344
418
  - ! '*/*; q=0.5, application/xml'
@@ -354,7 +428,7 @@ http_interactions:
354
428
  message: OK
355
429
  headers:
356
430
  Date:
357
- - Thu, 07 Mar 2013 10:20:46 +0000
431
+ - Sun, 07 Apr 2013 10:01:13 +0000
358
432
  Connection:
359
433
  - keep-alive
360
434
  Content-Length:
@@ -365,17 +439,17 @@ http_interactions:
365
439
  - bitcoin-json-rpc/v0.7.2-beta
366
440
  body:
367
441
  encoding: US-ASCII
368
- string: ! '{"result":"b9b90122dee7592a2159f3f18bbf810f2fb13d9a3ee81d002c3e468ff9f2789f","error":null,"id":"jsonrpc"}
442
+ string: ! '{"result":"3256e9cb57722fc05fdd8de8815ed45200b17024ac5c5063bd511561a0f4e349","error":null,"id":"jsonrpc"}
369
443
 
370
444
  '
371
445
  http_version:
372
- recorded_at: Thu, 07 Mar 2013 10:20:46 GMT
446
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
373
447
  - request:
374
448
  method: post
375
449
  uri: http://admin1:123@localhost:19001/
376
450
  body:
377
- encoding: UTF-8
378
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",8,0],"id":"jsonrpc"}'
451
+ encoding: US-ASCII
452
+ string: ! '{"method":"sendfrom","params":["","mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P",8,0],"id":"jsonrpc"}'
379
453
  headers:
380
454
  Accept:
381
455
  - ! '*/*; q=0.5, application/xml'
@@ -391,7 +465,7 @@ http_interactions:
391
465
  message: OK
392
466
  headers:
393
467
  Date:
394
- - Thu, 07 Mar 2013 10:20:46 +0000
468
+ - Sun, 07 Apr 2013 10:01:13 +0000
395
469
  Connection:
396
470
  - keep-alive
397
471
  Content-Length:
@@ -402,17 +476,17 @@ http_interactions:
402
476
  - bitcoin-json-rpc/v0.7.2-beta
403
477
  body:
404
478
  encoding: US-ASCII
405
- string: ! '{"result":"e5abf73a53b81b6df46790e645b9592f17949a5cadfdedefbd4067b40e429f8c","error":null,"id":"jsonrpc"}
479
+ string: ! '{"result":"45af3f06be74108de9804a4abb395144eb64b915c3e8588ea908fb8c862f3ef5","error":null,"id":"jsonrpc"}
406
480
 
407
481
  '
408
482
  http_version:
409
- recorded_at: Thu, 07 Mar 2013 10:20:46 GMT
483
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
410
484
  - request:
411
485
  method: post
412
486
  uri: http://admin1:123@localhost:19001/
413
487
  body:
414
- encoding: UTF-8
415
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",9,0],"id":"jsonrpc"}'
488
+ encoding: US-ASCII
489
+ string: ! '{"method":"sendfrom","params":["","mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P",9,0],"id":"jsonrpc"}'
416
490
  headers:
417
491
  Accept:
418
492
  - ! '*/*; q=0.5, application/xml'
@@ -428,7 +502,7 @@ http_interactions:
428
502
  message: OK
429
503
  headers:
430
504
  Date:
431
- - Thu, 07 Mar 2013 10:20:46 +0000
505
+ - Sun, 07 Apr 2013 10:01:13 +0000
432
506
  Connection:
433
507
  - keep-alive
434
508
  Content-Length:
@@ -439,17 +513,17 @@ http_interactions:
439
513
  - bitcoin-json-rpc/v0.7.2-beta
440
514
  body:
441
515
  encoding: US-ASCII
442
- string: ! '{"result":"ddf2a8524deb39cfc3c97699b64a59c68732503631a81c4db0de117a2cff665b","error":null,"id":"jsonrpc"}
516
+ string: ! '{"result":"1baa8a22368f31291f512676da432ce07a4a29804521439eb318894dcdcb50cb","error":null,"id":"jsonrpc"}
443
517
 
444
518
  '
445
519
  http_version:
446
- recorded_at: Thu, 07 Mar 2013 10:20:46 GMT
520
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
447
521
  - request:
448
522
  method: post
449
523
  uri: http://admin1:123@localhost:19001/
450
524
  body:
451
- encoding: UTF-8
452
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",10,0],"id":"jsonrpc"}'
525
+ encoding: US-ASCII
526
+ string: ! '{"method":"sendfrom","params":["","mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P",10,0],"id":"jsonrpc"}'
453
527
  headers:
454
528
  Accept:
455
529
  - ! '*/*; q=0.5, application/xml'
@@ -465,7 +539,7 @@ http_interactions:
465
539
  message: OK
466
540
  headers:
467
541
  Date:
468
- - Thu, 07 Mar 2013 10:20:46 +0000
542
+ - Sun, 07 Apr 2013 10:01:13 +0000
469
543
  Connection:
470
544
  - keep-alive
471
545
  Content-Length:
@@ -476,17 +550,17 @@ http_interactions:
476
550
  - bitcoin-json-rpc/v0.7.2-beta
477
551
  body:
478
552
  encoding: US-ASCII
479
- string: ! '{"result":"ff25d7f819d98c78c9a613774504210715584d9eaad2baf8b9461a5f5ee2ce1c","error":null,"id":"jsonrpc"}
553
+ string: ! '{"result":"7a1488a87ac8e13e67ce0d46e92e1ae2841ee806ea9d4ac04b66258b5733303a","error":null,"id":"jsonrpc"}
480
554
 
481
555
  '
482
556
  http_version:
483
- recorded_at: Thu, 07 Mar 2013 10:20:46 GMT
557
+ recorded_at: Sun, 07 Apr 2013 10:01:13 GMT
484
558
  - request:
485
559
  method: post
486
560
  uri: http://admin1:123@localhost:19001/
487
561
  body:
488
- encoding: UTF-8
489
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",11,0],"id":"jsonrpc"}'
562
+ encoding: US-ASCII
563
+ string: ! '{"method":"sendfrom","params":["","mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P",11,0],"id":"jsonrpc"}'
490
564
  headers:
491
565
  Accept:
492
566
  - ! '*/*; q=0.5, application/xml'
@@ -502,7 +576,7 @@ http_interactions:
502
576
  message: OK
503
577
  headers:
504
578
  Date:
505
- - Thu, 07 Mar 2013 10:20:46 +0000
579
+ - Sun, 07 Apr 2013 10:01:14 +0000
506
580
  Connection:
507
581
  - keep-alive
508
582
  Content-Length:
@@ -513,16 +587,16 @@ http_interactions:
513
587
  - bitcoin-json-rpc/v0.7.2-beta
514
588
  body:
515
589
  encoding: US-ASCII
516
- string: ! '{"result":"493a56ead3721a37c60cf1aea4178d8219114fa51f3c14e0622fa25f69af761b","error":null,"id":"jsonrpc"}
590
+ string: ! '{"result":"28addac18eed1844e424d0e079ceb3dfaeb43a6e512fafb9cd92ca666fc3152c","error":null,"id":"jsonrpc"}
517
591
 
518
592
  '
519
593
  http_version:
520
- recorded_at: Thu, 07 Mar 2013 10:20:46 GMT
594
+ recorded_at: Sun, 07 Apr 2013 10:01:14 GMT
521
595
  - request:
522
596
  method: post
523
597
  uri: http://admin1:123@localhost:19001/
524
598
  body:
525
- encoding: UTF-8
599
+ encoding: US-ASCII
526
600
  string: ! '{"method":"listtransactions","params":["1",10],"id":"jsonrpc"}'
527
601
  headers:
528
602
  Accept:
@@ -539,7 +613,7 @@ http_interactions:
539
613
  message: OK
540
614
  headers:
541
615
  Date:
542
- - Thu, 07 Mar 2013 10:20:46 +0000
616
+ - Sun, 07 Apr 2013 10:01:14 +0000
543
617
  Connection:
544
618
  - keep-alive
545
619
  Content-Length:
@@ -550,9 +624,9 @@ http_interactions:
550
624
  - bitcoin-json-rpc/v0.7.2-beta
551
625
  body:
552
626
  encoding: US-ASCII
553
- string: ! '{"result":[{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":2.00000000,"confirmations":0,"txid":"15315e66d067738b346abe5f8f0d831e491ef49407631479bd9bf46fecb61492","time":1362651645,"timereceived":1362651645},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":3.00000000,"confirmations":0,"txid":"c22026592e88ba1655380c4fa1b146aa3d178a5954f2929528951f6c4c4fb374","time":1362651646,"timereceived":1362651646},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":4.00000000,"confirmations":0,"txid":"2eafcfc7d323de387af0737a4758512d4f437b2e2b2e7c3deedc4588eeeffbb2","time":1362651646,"timereceived":1362651646},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":5.00000000,"confirmations":0,"txid":"03386c6d45581201a95df847123af252ba832dba370d929c23220c74fa818a49","time":1362651646,"timereceived":1362651646},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":6.00000000,"confirmations":0,"txid":"f4ab391c1d0ce7a1e76a5441bdc9eb8f687bf088200bc1d5aefe3b1cc62fd402","time":1362651646,"timereceived":1362651646},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":7.00000000,"confirmations":0,"txid":"b9b90122dee7592a2159f3f18bbf810f2fb13d9a3ee81d002c3e468ff9f2789f","time":1362651646,"timereceived":1362651646},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":8.00000000,"confirmations":0,"txid":"e5abf73a53b81b6df46790e645b9592f17949a5cadfdedefbd4067b40e429f8c","time":1362651646,"timereceived":1362651646},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":9.00000000,"confirmations":0,"txid":"ddf2a8524deb39cfc3c97699b64a59c68732503631a81c4db0de117a2cff665b","time":1362651646,"timereceived":1362651646},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":10.00000000,"confirmations":0,"txid":"ff25d7f819d98c78c9a613774504210715584d9eaad2baf8b9461a5f5ee2ce1c","time":1362651646,"timereceived":1362651646},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":11.00000000,"confirmations":0,"txid":"493a56ead3721a37c60cf1aea4178d8219114fa51f3c14e0622fa25f69af761b","time":1362651646,"timereceived":1362651646}],"error":null,"id":"jsonrpc"}
627
+ string: ! '{"result":[{"account":"1","address":"mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P","category":"receive","amount":2.00000000,"confirmations":0,"txid":"e62dbf4dae346307d2e0bc649088d296d7fe04f68c48fa11d91393b0680c3100","time":1365328873,"timereceived":1365328873},{"account":"1","address":"mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P","category":"receive","amount":3.00000000,"confirmations":0,"txid":"99694060f0757e941a0b96066c8c7405815f02390472274243acd3ccfee7f962","time":1365328873,"timereceived":1365328873},{"account":"1","address":"mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P","category":"receive","amount":4.00000000,"confirmations":0,"txid":"8a0c3adeae46dc59fb963b11559b020a37c958c19e89edcea7f594b9e8061150","time":1365328873,"timereceived":1365328873},{"account":"1","address":"mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P","category":"receive","amount":5.00000000,"confirmations":0,"txid":"2f77d1c3f23544d4d28c40ffac9128fc7dd6a19e2aa3f98b79a63b10caf922da","time":1365328873,"timereceived":1365328873},{"account":"1","address":"mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P","category":"receive","amount":6.00000000,"confirmations":0,"txid":"ccf12f830e6d435b1307d23c6149547a97501a0e279f9683eee3b3fd180f19b0","time":1365328873,"timereceived":1365328873},{"account":"1","address":"mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P","category":"receive","amount":7.00000000,"confirmations":0,"txid":"3256e9cb57722fc05fdd8de8815ed45200b17024ac5c5063bd511561a0f4e349","time":1365328873,"timereceived":1365328873},{"account":"1","address":"mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P","category":"receive","amount":8.00000000,"confirmations":0,"txid":"45af3f06be74108de9804a4abb395144eb64b915c3e8588ea908fb8c862f3ef5","time":1365328873,"timereceived":1365328873},{"account":"1","address":"mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P","category":"receive","amount":9.00000000,"confirmations":0,"txid":"1baa8a22368f31291f512676da432ce07a4a29804521439eb318894dcdcb50cb","time":1365328873,"timereceived":1365328873},{"account":"1","address":"mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P","category":"receive","amount":10.00000000,"confirmations":0,"txid":"7a1488a87ac8e13e67ce0d46e92e1ae2841ee806ea9d4ac04b66258b5733303a","time":1365328873,"timereceived":1365328873},{"account":"1","address":"mvdFQaoBKpMkWK83YhF3JvUfMyYEuBPw2P","category":"receive","amount":11.00000000,"confirmations":0,"txid":"28addac18eed1844e424d0e079ceb3dfaeb43a6e512fafb9cd92ca666fc3152c","time":1365328873,"timereceived":1365328873}],"error":null,"id":"jsonrpc"}
554
628
 
555
629
  '
556
630
  http_version:
557
- recorded_at: Thu, 07 Mar 2013 10:20:46 GMT
631
+ recorded_at: Sun, 07 Apr 2013 10:01:14 GMT
558
632
  recorded_with: VCR 2.4.0