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.
- checksums.yaml +8 -8
- data/CHANGELOG.md +4 -0
- data/bit_wallet.gemspec +1 -1
- data/lib/bit_wallet/version.rb +1 -1
- data/lib/bit_wallet/wallet.rb +0 -2
- data/spec/bit_wallet/accounts_spec.rb +32 -30
- data/spec/bit_wallet/wallet_spec.rb +48 -32
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_be_able_to_override_the_min_conf.yml +15 -83
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_default_to_the_config_min_conf.yml +15 -83
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_return_the_balance_of_the_account.yml +23 -87
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/should_default_to_list_10_transactions.yml +85 -129
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_6/should_list_the_6_most_recent_transactions.yml +67 -117
- 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
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/account_does_not_have_enough_money/should_fail_with_the_InsufficientFunds_error.yml +26 -90
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/should_send_money_to_the_given_address.yml +29 -91
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_many/should_send_the_amounts_of_money_to_the_specified_accounts.yml +30 -16
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_total_received/should_return_the_total_amount_received_by_the_address.yml +6 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/addresses/.yml +6 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_be_assigned_that_name.yml +15 -83
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_have_a_default_name.yml +6 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/when_the_account_name_already_exists/should_return_that_same_address.yml +15 -83
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/wallet/.yml +6 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_includes_account_name_account_/should_return_true_if_the_array_includes_the_account.yml +15 -120
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_new/should_create_a_new_BitWallet_Account_with_a_default_address.yml +15 -120
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_with_balance/should_return_accounts_with_a_balance_0.yml +19 -370
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/wallet/.yml +11 -118
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/_total_received/should_return_the_total_amount_received_by_the_address.yml +11 -7
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/account/.yml +11 -7
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/address_given_already_exists/should_not_create_an_address.yml +6 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/no_address_is_given/should_create_an_address.yml +11 -7
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/_new/with_address_string_given/should_return_an_Address_with_the_given_address_string.yml +6 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/_new/without_any_address_string_given/should_return_an_Address_that_points_to_the_same_account.yml +11 -7
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/account/.yml +6 -4
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/new/.yml +11 -7
- data/spec/fixtures/vcr_cassettes/BitWallet_Transaction/on_initialization/should_be_able_to_take_a_bitcoind_hash.yml +15 -231
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_accounts/should_return_array_of_BitWallet_Accounts.yml +11 -266
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_move/should_move_funds_from_one_account_to_another.yml +25 -13
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_allow_overriding_of_the_transaction_limit.yml +82 -274
- 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
- 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
|
-
-
|
26
|
+
- Tue, 04 Mar 2014 14:05:50 +0000
|
25
27
|
Connection:
|
26
28
|
- keep-alive
|
27
29
|
Content-Length:
|
28
|
-
- '
|
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":{"":
|
37
|
+
string: ! '{"result":{"":8800.00000000},"error":null,"id":"jsonrpc"}
|
36
38
|
|
37
39
|
'
|
38
40
|
http_version:
|
39
|
-
recorded_at:
|
41
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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
|
-
-
|
65
|
+
- Tue, 04 Mar 2014 14:05:50 +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":"
|
76
|
+
string: ! '{"result":"mi487X6jj8ggY6FAoG8ibv7qomcq9TXL1U","error":null,"id":"jsonrpc"}
|
73
77
|
|
74
78
|
'
|
75
79
|
http_version:
|
76
|
-
recorded_at:
|
80
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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:02:06 +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":"mobr7DrgEM5XQE3Z1qYQPGynvqCwRmMKYn","error":null,"id":"jsonrpc"}
|
110
|
-
|
111
|
-
'
|
112
|
-
http_version:
|
113
|
-
recorded_at: Sun, 07 Apr 2013 10:02:06 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
|
-
- '
|
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
|
-
-
|
104
|
+
- Tue, 04 Mar 2014 14:05:50 +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":"
|
115
|
+
string: ! '{"result":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","error":null,"id":"jsonrpc"}
|
147
116
|
|
148
117
|
'
|
149
118
|
http_version:
|
150
|
-
recorded_at:
|
119
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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":"
|
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:02:06 +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":"mkgzmTru6fD3DzsU4MGpwY57Whu8xm67cA","error":null,"id":"jsonrpc"}
|
184
|
-
|
185
|
-
'
|
186
|
-
http_version:
|
187
|
-
recorded_at: Sun, 07 Apr 2013 10:02:06 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
|
-
- '
|
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
|
-
-
|
143
|
+
- Tue, 04 Mar 2014 14:05:50 +0000
|
210
144
|
Connection:
|
211
145
|
- keep-alive
|
212
146
|
Content-Length:
|
213
|
-
- '
|
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":"
|
154
|
+
string: ! '{"result":"080572ce57be96b6170886376cd9e3b505be3cc11904e7cde4867c186d42ba0d","error":null,"id":"jsonrpc"}
|
221
155
|
|
222
156
|
'
|
223
157
|
http_version:
|
224
|
-
recorded_at:
|
158
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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":"
|
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:02:06 +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":"mr2Feabn8Pbb8Q7ekjSkfMXoX5S2XhJV3h","error":null,"id":"jsonrpc"}
|
258
|
-
|
259
|
-
'
|
260
|
-
http_version:
|
261
|
-
recorded_at: Sun, 07 Apr 2013 10:02:06 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
|
-
- '
|
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
|
-
-
|
182
|
+
- Tue, 04 Mar 2014 14:05:50 +0000
|
284
183
|
Connection:
|
285
184
|
- keep-alive
|
286
185
|
Content-Length:
|
287
|
-
- '
|
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":"
|
193
|
+
string: ! '{"result":"f33003ceb00ef3082b3e5eaf20691ac386d5dda4eb4adf167f4e9fbb2fb9bb23","error":null,"id":"jsonrpc"}
|
295
194
|
|
296
195
|
'
|
297
196
|
http_version:
|
298
|
-
recorded_at:
|
197
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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":"
|
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:02:06 +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":"mj1PCptei9SRbf7Ko8xxVC5fqW4TJwVZnB","error":null,"id":"jsonrpc"}
|
332
|
-
|
333
|
-
'
|
334
|
-
http_version:
|
335
|
-
recorded_at: Sun, 07 Apr 2013 10:02:06 GMT
|
336
|
-
- request:
|
337
|
-
method: post
|
338
|
-
uri: http://admin1:123@localhost:19001/
|
339
|
-
body:
|
340
|
-
encoding: US-ASCII
|
341
|
-
string: ! '{"method":"sendfrom","params":["","mobr7DrgEM5XQE3Z1qYQPGynvqCwRmMKYn",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
|
-
-
|
221
|
+
- Tue, 04 Mar 2014 14:05:50 +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":"
|
232
|
+
string: ! '{"result":"fd966ece82188ee9ea12512ed0a8b65830e1681b001324b9422fea003968829a","error":null,"id":"jsonrpc"}
|
369
233
|
|
370
234
|
'
|
371
235
|
http_version:
|
372
|
-
recorded_at:
|
236
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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":["","
|
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:02:06 +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":"55b6924c957d0a07f5af8eb8a96f694070bf77f5e19baf3124d3556bb0ea254a","error":null,"id":"jsonrpc"}
|
406
|
-
|
407
|
-
'
|
408
|
-
http_version:
|
409
|
-
recorded_at: Sun, 07 Apr 2013 10:02:06 GMT
|
410
|
-
- request:
|
411
|
-
method: post
|
412
|
-
uri: http://admin1:123@localhost:19001/
|
413
|
-
body:
|
414
|
-
encoding: US-ASCII
|
415
|
-
string: ! '{"method":"sendfrom","params":["","mobr7DrgEM5XQE3Z1qYQPGynvqCwRmMKYn",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
|
-
-
|
260
|
+
- Tue, 04 Mar 2014 14:05:50 +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":"
|
271
|
+
string: ! '{"result":"4f2783506a9994adaccfaa58c1edd47167a9a37f2a13ca9838803e7cbfc57b14","error":null,"id":"jsonrpc"}
|
443
272
|
|
444
273
|
'
|
445
274
|
http_version:
|
446
|
-
recorded_at:
|
275
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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":["","
|
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:02:07 +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":"ab3b25846fa26d0a09c34bc8797a1c1752d188c47a6d9897877964bf186e3f7a","error":null,"id":"jsonrpc"}
|
480
|
-
|
481
|
-
'
|
482
|
-
http_version:
|
483
|
-
recorded_at: Sun, 07 Apr 2013 10:02:07 GMT
|
484
|
-
- request:
|
485
|
-
method: post
|
486
|
-
uri: http://admin1:123@localhost:19001/
|
487
|
-
body:
|
488
|
-
encoding: US-ASCII
|
489
|
-
string: ! '{"method":"sendfrom","params":["","mobr7DrgEM5XQE3Z1qYQPGynvqCwRmMKYn",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
|
-
-
|
299
|
+
- Tue, 04 Mar 2014 14:05:50 +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":"
|
310
|
+
string: ! '{"result":"6d83eb20d2306bfdc4bb64c7eeab67520942cba0147f611203fb1ca819b1eb05","error":null,"id":"jsonrpc"}
|
517
311
|
|
518
312
|
'
|
519
313
|
http_version:
|
520
|
-
recorded_at:
|
314
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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":["","
|
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
|
-
-
|
338
|
+
- Tue, 04 Mar 2014 14:05:50 +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":"
|
349
|
+
string: ! '{"result":"f2ff15bbe12dd38ed409ed6e33b3fca5483bfbe5046bb5aa14f786d615e7203b","error":null,"id":"jsonrpc"}
|
554
350
|
|
555
351
|
'
|
556
352
|
http_version:
|
557
|
-
recorded_at:
|
353
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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":["","
|
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
|
-
-
|
377
|
+
- Tue, 04 Mar 2014 14:05:50 +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":"
|
388
|
+
string: ! '{"result":"fe9ab034b24269f76c47995ec4c56076689b43183f68df4b34609df32716680d","error":null,"id":"jsonrpc"}
|
591
389
|
|
592
390
|
'
|
593
391
|
http_version:
|
594
|
-
recorded_at:
|
392
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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":["","
|
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
|
-
-
|
416
|
+
- Tue, 04 Mar 2014 14:05:50 +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":"
|
427
|
+
string: ! '{"result":"a8c6ce96d9c5e441263779ff61c89fc50178f362131cbc1c5bb6b4d228c1b94e","error":null,"id":"jsonrpc"}
|
628
428
|
|
629
429
|
'
|
630
430
|
http_version:
|
631
|
-
recorded_at:
|
431
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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":["","
|
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
|
-
-
|
455
|
+
- Tue, 04 Mar 2014 14:05:50 +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":"
|
466
|
+
string: ! '{"result":"5803d6f9f2e0472c8ab78a42d49cc0e4f6f34f133dfa9cf0aed0146ce2f95263","error":null,"id":"jsonrpc"}
|
665
467
|
|
666
468
|
'
|
667
469
|
http_version:
|
668
|
-
recorded_at:
|
470
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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":["","
|
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
|
-
-
|
494
|
+
- Tue, 04 Mar 2014 14:05:50 +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":"
|
505
|
+
string: ! '{"result":"cc0a8000a45fe93fd8fe4be916434733a06d67acd5c97f3b3e3e062f7cd26b71","error":null,"id":"jsonrpc"}
|
702
506
|
|
703
507
|
'
|
704
508
|
http_version:
|
705
|
-
recorded_at:
|
509
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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":["","
|
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
|
-
-
|
533
|
+
- Tue, 04 Mar 2014 14:05:50 +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":"
|
544
|
+
string: ! '{"result":"ffe920ebb9b0c5cc6fff04dba51492842024407ef6399e507d813d8e05c7bf18","error":null,"id":"jsonrpc"}
|
739
545
|
|
740
546
|
'
|
741
547
|
http_version:
|
742
|
-
recorded_at:
|
548
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 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
|
- '62'
|
756
564
|
User-Agent:
|
@@ -761,20 +569,20 @@ http_interactions:
|
|
761
569
|
message: OK
|
762
570
|
headers:
|
763
571
|
Date:
|
764
|
-
-
|
572
|
+
- Tue, 04 Mar 2014 14:05:50 +0000
|
765
573
|
Connection:
|
766
574
|
- keep-alive
|
767
575
|
Content-Length:
|
768
|
-
- '
|
576
|
+
- '2515'
|
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":"1","address":"
|
583
|
+
string: ! '{"result":[{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":7.00000000,"confirmations":0,"txid":"fe9ab034b24269f76c47995ec4c56076689b43183f68df4b34609df32716680d","time":1393941950,"timereceived":1393941950},{"account":"","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"send","amount":-7.00000000,"fee":0.00000000,"confirmations":0,"txid":"fe9ab034b24269f76c47995ec4c56076689b43183f68df4b34609df32716680d","time":1393941950,"timereceived":1393941950},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":8.00000000,"confirmations":0,"txid":"a8c6ce96d9c5e441263779ff61c89fc50178f362131cbc1c5bb6b4d228c1b94e","time":1393941950,"timereceived":1393941950},{"account":"","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"send","amount":-8.00000000,"fee":0.00000000,"confirmations":0,"txid":"a8c6ce96d9c5e441263779ff61c89fc50178f362131cbc1c5bb6b4d228c1b94e","time":1393941950,"timereceived":1393941950},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":9.00000000,"confirmations":0,"txid":"5803d6f9f2e0472c8ab78a42d49cc0e4f6f34f133dfa9cf0aed0146ce2f95263","time":1393941950,"timereceived":1393941950},{"account":"","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"send","amount":-9.00000000,"fee":0.00000000,"confirmations":0,"txid":"5803d6f9f2e0472c8ab78a42d49cc0e4f6f34f133dfa9cf0aed0146ce2f95263","time":1393941950,"timereceived":1393941950},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":10.00000000,"confirmations":0,"txid":"cc0a8000a45fe93fd8fe4be916434733a06d67acd5c97f3b3e3e062f7cd26b71","time":1393941950,"timereceived":1393941950},{"account":"","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"send","amount":-10.00000000,"fee":0.00000000,"confirmations":0,"txid":"cc0a8000a45fe93fd8fe4be916434733a06d67acd5c97f3b3e3e062f7cd26b71","time":1393941950,"timereceived":1393941950},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":11.00000000,"confirmations":0,"txid":"ffe920ebb9b0c5cc6fff04dba51492842024407ef6399e507d813d8e05c7bf18","time":1393941950,"timereceived":1393941950},{"account":"","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"send","amount":-11.00000000,"fee":0.00000000,"confirmations":0,"txid":"ffe920ebb9b0c5cc6fff04dba51492842024407ef6399e507d813d8e05c7bf18","time":1393941950,"timereceived":1393941950}],"error":null,"id":"jsonrpc"}
|
776
584
|
|
777
585
|
'
|
778
586
|
http_version:
|
779
|
-
recorded_at:
|
780
|
-
recorded_with: VCR 2.
|
587
|
+
recorded_at: Tue, 04 Mar 2014 14:05:50 GMT
|
588
|
+
recorded_with: VCR 2.8.0
|