bit_wallet 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/bit_wallet/accounts.rb +4 -20
- data/lib/bit_wallet/version.rb +1 -1
- data/spec/bit_wallet/account_spec.rb +2 -3
- data/spec/bit_wallet/accounts_spec.rb +1 -8
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_be_able_to_override_the_min_conf.yml +3 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_default_to_the_config_min_conf.yml +3 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_return_the_balance_of_the_account.yml +7 -83
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/should_default_to_list_10_transactions.yml +53 -91
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_6/should_list_the_6_most_recent_transactions.yml +41 -79
- 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 +14 -52
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/account_does_not_have_enough_money/should_fail_with_the_InsufficientFunds_error.yml +11 -49
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/should_send_money_to_the_given_address.yml +14 -52
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_many/should_send_the_amounts_of_money_to_the_specified_accounts.yml +17 -55
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_total_received/should_return_the_total_amount_received_by_the_address.yml +3 -3
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/addresses/.yml +3 -3
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_be_assigned_that_name.yml +3 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_have_a_default_name.yml +3 -3
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/when_the_account_name_already_exists/should_return_that_same_address.yml +3 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/wallet/.yml +3 -3
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_new/should_create_a_new_BitWallet_Account_with_a_default_address.yml +3 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_with_balance/should_return_accounts_with_a_balance_0.yml +23 -61
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_move/should_move_funds_from_one_account_to_another.yml +12 -50
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_allow_overriding_of_the_transaction_limit.yml +53 -91
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_return_the_most_recent_transactions_of_all_accounts_defaulting_to_10_transactions.yml +53 -91
- metadata +2 -10
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/name_is_nil/raises_an_error.yml +0 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_includes_account_name_account_/should_return_true_if_the_array_includes_the_account.yml +0 -117
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/wallet/.yml +0 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_accounts/should_return_array_of_BitWallet_Accounts.yml +0 -79
@@ -1,43 +1,5 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '53'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Sat, 23 Aug 2014 09:44:13 +0000
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Content-Length:
|
30
|
-
- '56'
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Server:
|
34
|
-
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: |
|
38
|
-
{"result":{"":50.00000000},"error":null,"id":"jsonrpc"}
|
39
|
-
http_version:
|
40
|
-
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
41
3
|
- request:
|
42
4
|
method: post
|
43
5
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -61,7 +23,7 @@ http_interactions:
|
|
61
23
|
message: OK
|
62
24
|
headers:
|
63
25
|
Date:
|
64
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:46:18 +0000
|
65
27
|
Connection:
|
66
28
|
- keep-alive
|
67
29
|
Content-Length:
|
@@ -73,9 +35,9 @@ http_interactions:
|
|
73
35
|
body:
|
74
36
|
encoding: UTF-8
|
75
37
|
string: |
|
76
|
-
{"result":"
|
38
|
+
{"result":"muG4QrN3qRFaGArbWPAqwgKr85Rdb1BHnM","error":null,"id":"jsonrpc"}
|
77
39
|
http_version:
|
78
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:46:18 GMT
|
79
41
|
- request:
|
80
42
|
method: post
|
81
43
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -99,7 +61,7 @@ http_interactions:
|
|
99
61
|
message: OK
|
100
62
|
headers:
|
101
63
|
Date:
|
102
|
-
-
|
64
|
+
- Sun, 24 Aug 2014 06:46:18 +0000
|
103
65
|
Connection:
|
104
66
|
- keep-alive
|
105
67
|
Content-Length:
|
@@ -111,15 +73,15 @@ http_interactions:
|
|
111
73
|
body:
|
112
74
|
encoding: UTF-8
|
113
75
|
string: |
|
114
|
-
{"result":"
|
76
|
+
{"result":"mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi","error":null,"id":"jsonrpc"}
|
115
77
|
http_version:
|
116
|
-
recorded_at:
|
78
|
+
recorded_at: Sun, 24 Aug 2014 06:46:18 GMT
|
117
79
|
- request:
|
118
80
|
method: post
|
119
81
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
120
82
|
body:
|
121
83
|
encoding: UTF-8
|
122
|
-
string: '{"method":"sendfrom","params":["","
|
84
|
+
string: '{"method":"sendfrom","params":["","mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi",1,0],"id":"jsonrpc"}'
|
123
85
|
headers:
|
124
86
|
Accept:
|
125
87
|
- "*/*; q=0.5, application/xml"
|
@@ -137,7 +99,7 @@ http_interactions:
|
|
137
99
|
message: OK
|
138
100
|
headers:
|
139
101
|
Date:
|
140
|
-
-
|
102
|
+
- Sun, 24 Aug 2014 06:46:18 +0000
|
141
103
|
Connection:
|
142
104
|
- keep-alive
|
143
105
|
Content-Length:
|
@@ -149,15 +111,15 @@ http_interactions:
|
|
149
111
|
body:
|
150
112
|
encoding: UTF-8
|
151
113
|
string: |
|
152
|
-
{"result":"
|
114
|
+
{"result":"54ed24192af423c9643c788e5bc1ae12ae11e907b8accf652ca666c2d3fa8980","error":null,"id":"jsonrpc"}
|
153
115
|
http_version:
|
154
|
-
recorded_at:
|
116
|
+
recorded_at: Sun, 24 Aug 2014 06:46:18 GMT
|
155
117
|
- request:
|
156
118
|
method: post
|
157
119
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
158
120
|
body:
|
159
121
|
encoding: UTF-8
|
160
|
-
string: '{"method":"sendfrom","params":["","
|
122
|
+
string: '{"method":"sendfrom","params":["","mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi",2,0],"id":"jsonrpc"}'
|
161
123
|
headers:
|
162
124
|
Accept:
|
163
125
|
- "*/*; q=0.5, application/xml"
|
@@ -175,7 +137,7 @@ http_interactions:
|
|
175
137
|
message: OK
|
176
138
|
headers:
|
177
139
|
Date:
|
178
|
-
-
|
140
|
+
- Sun, 24 Aug 2014 06:46:18 +0000
|
179
141
|
Connection:
|
180
142
|
- keep-alive
|
181
143
|
Content-Length:
|
@@ -187,15 +149,15 @@ http_interactions:
|
|
187
149
|
body:
|
188
150
|
encoding: UTF-8
|
189
151
|
string: |
|
190
|
-
{"result":"
|
152
|
+
{"result":"dd72804d0a8dcc73b01015de035efe6b12b1fb9ca0e34507980bd5c8e481617f","error":null,"id":"jsonrpc"}
|
191
153
|
http_version:
|
192
|
-
recorded_at:
|
154
|
+
recorded_at: Sun, 24 Aug 2014 06:46:18 GMT
|
193
155
|
- request:
|
194
156
|
method: post
|
195
157
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
196
158
|
body:
|
197
159
|
encoding: UTF-8
|
198
|
-
string: '{"method":"sendfrom","params":["","
|
160
|
+
string: '{"method":"sendfrom","params":["","mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi",3,0],"id":"jsonrpc"}'
|
199
161
|
headers:
|
200
162
|
Accept:
|
201
163
|
- "*/*; q=0.5, application/xml"
|
@@ -213,7 +175,7 @@ http_interactions:
|
|
213
175
|
message: OK
|
214
176
|
headers:
|
215
177
|
Date:
|
216
|
-
-
|
178
|
+
- Sun, 24 Aug 2014 06:46:18 +0000
|
217
179
|
Connection:
|
218
180
|
- keep-alive
|
219
181
|
Content-Length:
|
@@ -225,15 +187,15 @@ http_interactions:
|
|
225
187
|
body:
|
226
188
|
encoding: UTF-8
|
227
189
|
string: |
|
228
|
-
{"result":"
|
190
|
+
{"result":"35b07196d4b6fb0057db1fe12db9425bbf9212ad2a985333c01c3b4a09745b37","error":null,"id":"jsonrpc"}
|
229
191
|
http_version:
|
230
|
-
recorded_at:
|
192
|
+
recorded_at: Sun, 24 Aug 2014 06:46:18 GMT
|
231
193
|
- request:
|
232
194
|
method: post
|
233
195
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
234
196
|
body:
|
235
197
|
encoding: UTF-8
|
236
|
-
string: '{"method":"sendfrom","params":["","
|
198
|
+
string: '{"method":"sendfrom","params":["","mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi",4,0],"id":"jsonrpc"}'
|
237
199
|
headers:
|
238
200
|
Accept:
|
239
201
|
- "*/*; q=0.5, application/xml"
|
@@ -251,7 +213,7 @@ http_interactions:
|
|
251
213
|
message: OK
|
252
214
|
headers:
|
253
215
|
Date:
|
254
|
-
-
|
216
|
+
- Sun, 24 Aug 2014 06:46:18 +0000
|
255
217
|
Connection:
|
256
218
|
- keep-alive
|
257
219
|
Content-Length:
|
@@ -263,15 +225,15 @@ http_interactions:
|
|
263
225
|
body:
|
264
226
|
encoding: UTF-8
|
265
227
|
string: |
|
266
|
-
{"result":"
|
228
|
+
{"result":"6398313422466463be3ad6048e50b95a587627b7c62e672c55a56f190c40d81b","error":null,"id":"jsonrpc"}
|
267
229
|
http_version:
|
268
|
-
recorded_at:
|
230
|
+
recorded_at: Sun, 24 Aug 2014 06:46:18 GMT
|
269
231
|
- request:
|
270
232
|
method: post
|
271
233
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
272
234
|
body:
|
273
235
|
encoding: UTF-8
|
274
|
-
string: '{"method":"sendfrom","params":["","
|
236
|
+
string: '{"method":"sendfrom","params":["","mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi",5,0],"id":"jsonrpc"}'
|
275
237
|
headers:
|
276
238
|
Accept:
|
277
239
|
- "*/*; q=0.5, application/xml"
|
@@ -289,7 +251,7 @@ http_interactions:
|
|
289
251
|
message: OK
|
290
252
|
headers:
|
291
253
|
Date:
|
292
|
-
-
|
254
|
+
- Sun, 24 Aug 2014 06:46:18 +0000
|
293
255
|
Connection:
|
294
256
|
- keep-alive
|
295
257
|
Content-Length:
|
@@ -301,15 +263,15 @@ http_interactions:
|
|
301
263
|
body:
|
302
264
|
encoding: UTF-8
|
303
265
|
string: |
|
304
|
-
{"result":"
|
266
|
+
{"result":"edc7a87570a86ee6631bd22127fa3cb6a1addef65d35b6b3ca0efe24baea6463","error":null,"id":"jsonrpc"}
|
305
267
|
http_version:
|
306
|
-
recorded_at:
|
268
|
+
recorded_at: Sun, 24 Aug 2014 06:46:18 GMT
|
307
269
|
- request:
|
308
270
|
method: post
|
309
271
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
310
272
|
body:
|
311
273
|
encoding: UTF-8
|
312
|
-
string: '{"method":"sendfrom","params":["","
|
274
|
+
string: '{"method":"sendfrom","params":["","mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi",6,0],"id":"jsonrpc"}'
|
313
275
|
headers:
|
314
276
|
Accept:
|
315
277
|
- "*/*; q=0.5, application/xml"
|
@@ -327,7 +289,7 @@ http_interactions:
|
|
327
289
|
message: OK
|
328
290
|
headers:
|
329
291
|
Date:
|
330
|
-
-
|
292
|
+
- Sun, 24 Aug 2014 06:46:18 +0000
|
331
293
|
Connection:
|
332
294
|
- keep-alive
|
333
295
|
Content-Length:
|
@@ -339,15 +301,15 @@ http_interactions:
|
|
339
301
|
body:
|
340
302
|
encoding: UTF-8
|
341
303
|
string: |
|
342
|
-
{"result":"
|
304
|
+
{"result":"ec856ba14f892cb6aa329162eb38b4998565de6f67fe04e2d359c9d4fc9f8056","error":null,"id":"jsonrpc"}
|
343
305
|
http_version:
|
344
|
-
recorded_at:
|
306
|
+
recorded_at: Sun, 24 Aug 2014 06:46:18 GMT
|
345
307
|
- request:
|
346
308
|
method: post
|
347
309
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
348
310
|
body:
|
349
311
|
encoding: UTF-8
|
350
|
-
string: '{"method":"sendfrom","params":["","
|
312
|
+
string: '{"method":"sendfrom","params":["","mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi",7,0],"id":"jsonrpc"}'
|
351
313
|
headers:
|
352
314
|
Accept:
|
353
315
|
- "*/*; q=0.5, application/xml"
|
@@ -365,7 +327,7 @@ http_interactions:
|
|
365
327
|
message: OK
|
366
328
|
headers:
|
367
329
|
Date:
|
368
|
-
-
|
330
|
+
- Sun, 24 Aug 2014 06:46:18 +0000
|
369
331
|
Connection:
|
370
332
|
- keep-alive
|
371
333
|
Content-Length:
|
@@ -377,15 +339,15 @@ http_interactions:
|
|
377
339
|
body:
|
378
340
|
encoding: UTF-8
|
379
341
|
string: |
|
380
|
-
{"result":"
|
342
|
+
{"result":"446d7ffdd70c8d0ab3dd77374227b5d84f56819eff701d8e9959f43cdfec8c38","error":null,"id":"jsonrpc"}
|
381
343
|
http_version:
|
382
|
-
recorded_at:
|
344
|
+
recorded_at: Sun, 24 Aug 2014 06:46:18 GMT
|
383
345
|
- request:
|
384
346
|
method: post
|
385
347
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
386
348
|
body:
|
387
349
|
encoding: UTF-8
|
388
|
-
string: '{"method":"sendfrom","params":["","
|
350
|
+
string: '{"method":"sendfrom","params":["","mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi",8,0],"id":"jsonrpc"}'
|
389
351
|
headers:
|
390
352
|
Accept:
|
391
353
|
- "*/*; q=0.5, application/xml"
|
@@ -403,7 +365,7 @@ http_interactions:
|
|
403
365
|
message: OK
|
404
366
|
headers:
|
405
367
|
Date:
|
406
|
-
-
|
368
|
+
- Sun, 24 Aug 2014 06:46:18 +0000
|
407
369
|
Connection:
|
408
370
|
- keep-alive
|
409
371
|
Content-Length:
|
@@ -415,9 +377,9 @@ http_interactions:
|
|
415
377
|
body:
|
416
378
|
encoding: UTF-8
|
417
379
|
string: |
|
418
|
-
{"result":"
|
380
|
+
{"result":"29c84ce02cae29f38df484dd3d6c3f0c96cdfc6b956de380515133e998b655d3","error":null,"id":"jsonrpc"}
|
419
381
|
http_version:
|
420
|
-
recorded_at:
|
382
|
+
recorded_at: Sun, 24 Aug 2014 06:46:18 GMT
|
421
383
|
- request:
|
422
384
|
method: post
|
423
385
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -441,7 +403,7 @@ http_interactions:
|
|
441
403
|
message: OK
|
442
404
|
headers:
|
443
405
|
Date:
|
444
|
-
-
|
406
|
+
- Sun, 24 Aug 2014 06:46:18 +0000
|
445
407
|
Connection:
|
446
408
|
- keep-alive
|
447
409
|
Content-Length:
|
@@ -453,7 +415,7 @@ http_interactions:
|
|
453
415
|
body:
|
454
416
|
encoding: UTF-8
|
455
417
|
string: |
|
456
|
-
{"result":[{"account":"1","address":"
|
418
|
+
{"result":[{"account":"1","address":"mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi","category":"receive","amount":3.00000000,"confirmations":0,"txid":"35b07196d4b6fb0057db1fe12db9425bbf9212ad2a985333c01c3b4a09745b37","walletconflicts":[],"time":1408862778,"timereceived":1408862778},{"account":"1","address":"mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi","category":"receive","amount":4.00000000,"confirmations":0,"txid":"6398313422466463be3ad6048e50b95a587627b7c62e672c55a56f190c40d81b","walletconflicts":[],"time":1408862778,"timereceived":1408862778},{"account":"1","address":"mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi","category":"receive","amount":5.00000000,"confirmations":0,"txid":"edc7a87570a86ee6631bd22127fa3cb6a1addef65d35b6b3ca0efe24baea6463","walletconflicts":[],"time":1408862778,"timereceived":1408862778},{"account":"1","address":"mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi","category":"receive","amount":6.00000000,"confirmations":0,"txid":"ec856ba14f892cb6aa329162eb38b4998565de6f67fe04e2d359c9d4fc9f8056","walletconflicts":[],"time":1408862778,"timereceived":1408862778},{"account":"1","address":"mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi","category":"receive","amount":7.00000000,"confirmations":0,"txid":"446d7ffdd70c8d0ab3dd77374227b5d84f56819eff701d8e9959f43cdfec8c38","walletconflicts":[],"time":1408862778,"timereceived":1408862778},{"account":"1","address":"mzRXpNsorJRSBvv8qBMgDDmaS4KB5VUJmi","category":"receive","amount":8.00000000,"confirmations":0,"txid":"29c84ce02cae29f38df484dd3d6c3f0c96cdfc6b956de380515133e998b655d3","walletconflicts":[],"time":1408862778,"timereceived":1408862778}],"error":null,"id":"jsonrpc"}
|
457
419
|
http_version:
|
458
|
-
recorded_at:
|
420
|
+
recorded_at: Sun, 24 Aug 2014 06:46:18 GMT
|
459
421
|
recorded_with: VCR 2.8.0
|
@@ -1,43 +1,5 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '53'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Sat, 23 Aug 2014 09:43:51 +0000
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Content-Length:
|
30
|
-
- '56'
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Server:
|
34
|
-
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: |
|
38
|
-
{"result":{"":50.00000000},"error":null,"id":"jsonrpc"}
|
39
|
-
http_version:
|
40
|
-
recorded_at: Sat, 23 Aug 2014 09:43:51 GMT
|
41
3
|
- request:
|
42
4
|
method: post
|
43
5
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -61,7 +23,7 @@ http_interactions:
|
|
61
23
|
message: OK
|
62
24
|
headers:
|
63
25
|
Date:
|
64
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:45:56 +0000
|
65
27
|
Connection:
|
66
28
|
- keep-alive
|
67
29
|
Content-Length:
|
@@ -73,9 +35,9 @@ http_interactions:
|
|
73
35
|
body:
|
74
36
|
encoding: UTF-8
|
75
37
|
string: |
|
76
|
-
{"result":"
|
38
|
+
{"result":"mtpPZU5nMUnjqdd35NpXjHWzM9sCLf1P2K","error":null,"id":"jsonrpc"}
|
77
39
|
http_version:
|
78
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:45:56 GMT
|
79
41
|
- request:
|
80
42
|
method: post
|
81
43
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -99,7 +61,7 @@ http_interactions:
|
|
99
61
|
message: OK
|
100
62
|
headers:
|
101
63
|
Date:
|
102
|
-
-
|
64
|
+
- Sun, 24 Aug 2014 06:45:56 +0000
|
103
65
|
Connection:
|
104
66
|
- keep-alive
|
105
67
|
Content-Length:
|
@@ -111,9 +73,9 @@ http_interactions:
|
|
111
73
|
body:
|
112
74
|
encoding: UTF-8
|
113
75
|
string: |
|
114
|
-
{"result":"
|
76
|
+
{"result":"n2RKCLtZGjqjSVpKgWdUWUQN8fYt1rjBB4","error":null,"id":"jsonrpc"}
|
115
77
|
http_version:
|
116
|
-
recorded_at:
|
78
|
+
recorded_at: Sun, 24 Aug 2014 06:45:56 GMT
|
117
79
|
- request:
|
118
80
|
method: post
|
119
81
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -137,7 +99,7 @@ http_interactions:
|
|
137
99
|
message: OK
|
138
100
|
headers:
|
139
101
|
Date:
|
140
|
-
-
|
102
|
+
- Sun, 24 Aug 2014 06:45:56 +0000
|
141
103
|
Connection:
|
142
104
|
- keep-alive
|
143
105
|
Content-Length:
|
@@ -151,13 +113,13 @@ http_interactions:
|
|
151
113
|
string: |
|
152
114
|
{"result":0.00000000,"error":null,"id":"jsonrpc"}
|
153
115
|
http_version:
|
154
|
-
recorded_at:
|
116
|
+
recorded_at: Sun, 24 Aug 2014 06:45:56 GMT
|
155
117
|
- request:
|
156
118
|
method: post
|
157
119
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
158
120
|
body:
|
159
121
|
encoding: UTF-8
|
160
|
-
string: '{"method":"sendfrom","params":["","
|
122
|
+
string: '{"method":"sendfrom","params":["","n2RKCLtZGjqjSVpKgWdUWUQN8fYt1rjBB4",5.2,0],"id":"jsonrpc"}'
|
161
123
|
headers:
|
162
124
|
Accept:
|
163
125
|
- "*/*; q=0.5, application/xml"
|
@@ -175,7 +137,7 @@ http_interactions:
|
|
175
137
|
message: OK
|
176
138
|
headers:
|
177
139
|
Date:
|
178
|
-
-
|
140
|
+
- Sun, 24 Aug 2014 06:45:56 +0000
|
179
141
|
Connection:
|
180
142
|
- keep-alive
|
181
143
|
Content-Length:
|
@@ -187,9 +149,9 @@ http_interactions:
|
|
187
149
|
body:
|
188
150
|
encoding: UTF-8
|
189
151
|
string: |
|
190
|
-
{"result":"
|
152
|
+
{"result":"ebe31f51d52c28f8da32322a329f1ea433b5028ac9bba5b4d5007a2a807ad314","error":null,"id":"jsonrpc"}
|
191
153
|
http_version:
|
192
|
-
recorded_at:
|
154
|
+
recorded_at: Sun, 24 Aug 2014 06:45:56 GMT
|
193
155
|
- request:
|
194
156
|
method: post
|
195
157
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -213,7 +175,7 @@ http_interactions:
|
|
213
175
|
message: OK
|
214
176
|
headers:
|
215
177
|
Date:
|
216
|
-
-
|
178
|
+
- Sun, 24 Aug 2014 06:45:56 +0000
|
217
179
|
Connection:
|
218
180
|
- keep-alive
|
219
181
|
Content-Length:
|
@@ -227,5 +189,5 @@ http_interactions:
|
|
227
189
|
string: |
|
228
190
|
{"result":5.20000000,"error":null,"id":"jsonrpc"}
|
229
191
|
http_version:
|
230
|
-
recorded_at:
|
192
|
+
recorded_at: Sun, 24 Aug 2014 06:45:56 GMT
|
231
193
|
recorded_with: VCR 2.8.0
|
@@ -1,43 +1,5 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '53'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Sat, 23 Aug 2014 09:43:58 +0000
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Content-Length:
|
30
|
-
- '56'
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Server:
|
34
|
-
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: |
|
38
|
-
{"result":{"":50.00000000},"error":null,"id":"jsonrpc"}
|
39
|
-
http_version:
|
40
|
-
recorded_at: Sat, 23 Aug 2014 09:43:58 GMT
|
41
3
|
- request:
|
42
4
|
method: post
|
43
5
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -61,7 +23,7 @@ http_interactions:
|
|
61
23
|
message: OK
|
62
24
|
headers:
|
63
25
|
Date:
|
64
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:46:04 +0000
|
65
27
|
Connection:
|
66
28
|
- keep-alive
|
67
29
|
Content-Length:
|
@@ -73,9 +35,9 @@ http_interactions:
|
|
73
35
|
body:
|
74
36
|
encoding: UTF-8
|
75
37
|
string: |
|
76
|
-
{"result":"
|
38
|
+
{"result":"n4rDSrcHj31ZUHx22G3o15XEYvxBd4THDN","error":null,"id":"jsonrpc"}
|
77
39
|
http_version:
|
78
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:46:04 GMT
|
79
41
|
- request:
|
80
42
|
method: post
|
81
43
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -99,7 +61,7 @@ http_interactions:
|
|
99
61
|
message: OK
|
100
62
|
headers:
|
101
63
|
Date:
|
102
|
-
-
|
64
|
+
- Sun, 24 Aug 2014 06:46:04 +0000
|
103
65
|
Connection:
|
104
66
|
- keep-alive
|
105
67
|
Content-Length:
|
@@ -111,9 +73,9 @@ http_interactions:
|
|
111
73
|
body:
|
112
74
|
encoding: UTF-8
|
113
75
|
string: |
|
114
|
-
{"result":"
|
76
|
+
{"result":"mq81jY1wZMTPENLY4iV13bWDk8gCJpJDZL","error":null,"id":"jsonrpc"}
|
115
77
|
http_version:
|
116
|
-
recorded_at:
|
78
|
+
recorded_at: Sun, 24 Aug 2014 06:46:04 GMT
|
117
79
|
- request:
|
118
80
|
method: post
|
119
81
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -137,7 +99,7 @@ http_interactions:
|
|
137
99
|
message: OK
|
138
100
|
headers:
|
139
101
|
Date:
|
140
|
-
-
|
102
|
+
- Sun, 24 Aug 2014 06:46:04 +0000
|
141
103
|
Connection:
|
142
104
|
- keep-alive
|
143
105
|
Content-Length:
|
@@ -151,13 +113,13 @@ http_interactions:
|
|
151
113
|
string: |
|
152
114
|
{"result":50.00000000,"error":null,"id":"jsonrpc"}
|
153
115
|
http_version:
|
154
|
-
recorded_at:
|
116
|
+
recorded_at: Sun, 24 Aug 2014 06:46:04 GMT
|
155
117
|
- request:
|
156
118
|
method: post
|
157
119
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
158
120
|
body:
|
159
121
|
encoding: UTF-8
|
160
|
-
string: '{"method":"sendfrom","params":["","
|
122
|
+
string: '{"method":"sendfrom","params":["","mq81jY1wZMTPENLY4iV13bWDk8gCJpJDZL",60.0,0],"id":"jsonrpc"}'
|
161
123
|
headers:
|
162
124
|
Accept:
|
163
125
|
- "*/*; q=0.5, application/xml"
|
@@ -175,7 +137,7 @@ http_interactions:
|
|
175
137
|
message: Internal Server Error
|
176
138
|
headers:
|
177
139
|
Date:
|
178
|
-
-
|
140
|
+
- Sun, 24 Aug 2014 06:46:04 +0000
|
179
141
|
Connection:
|
180
142
|
- close
|
181
143
|
Content-Length:
|
@@ -189,5 +151,5 @@ http_interactions:
|
|
189
151
|
string: |
|
190
152
|
{"result":null,"error":{"code":-6,"message":"Account has insufficient funds"},"id":"jsonrpc"}
|
191
153
|
http_version:
|
192
|
-
recorded_at:
|
154
|
+
recorded_at: Sun, 24 Aug 2014 06:46:04 GMT
|
193
155
|
recorded_with: VCR 2.8.0
|