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:04:57 +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:04:57 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:04:57 +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:04:57 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:13 +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":"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
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:04:57 +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":"
|
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:04:57 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
|
-
- '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
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":"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"}'
|
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
|
-
-
|
143
|
+
- Tue, 04 Mar 2014 14:04:57 +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":"
|
154
|
+
string: ! '{"result":"d6e111a1e936c18d4392af3f58142286d9f57e934f4430d833dedabbef8a262c","error":null,"id":"jsonrpc"}
|
221
155
|
|
222
156
|
'
|
223
157
|
http_version:
|
224
|
-
recorded_at:
|
158
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 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":["","
|
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
|
-
-
|
182
|
+
- Tue, 04 Mar 2014 14:04:57 +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":"
|
193
|
+
string: ! '{"result":"bb961f65853bfdf08b13df34f434432298b6003d2b641a158c2b06c30e7e8cb7","error":null,"id":"jsonrpc"}
|
258
194
|
|
259
195
|
'
|
260
196
|
http_version:
|
261
|
-
recorded_at:
|
197
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 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":["","
|
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
|
-
-
|
221
|
+
- Tue, 04 Mar 2014 14:04:57 +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":"
|
232
|
+
string: ! '{"result":"30844b790e5e1c541b5f8bb6f4e22ebc686df561d502b360363602f0b7c0e188","error":null,"id":"jsonrpc"}
|
295
233
|
|
296
234
|
'
|
297
235
|
http_version:
|
298
|
-
recorded_at:
|
236
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 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":["","
|
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
|
-
-
|
260
|
+
- Tue, 04 Mar 2014 14:04:57 +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":"
|
271
|
+
string: ! '{"result":"d71e7fb0197602ab2a84a1238d7fb6d6212db397287beea558e4502671166546","error":null,"id":"jsonrpc"}
|
332
272
|
|
333
273
|
'
|
334
274
|
http_version:
|
335
|
-
recorded_at:
|
275
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 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":["","
|
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
|
-
-
|
299
|
+
- Tue, 04 Mar 2014 14:04:57 +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":"
|
310
|
+
string: ! '{"result":"a355caf61fa98387979d795c94ee203cf2f6fda752ffa58723779213f1863911","error":null,"id":"jsonrpc"}
|
369
311
|
|
370
312
|
'
|
371
313
|
http_version:
|
372
|
-
recorded_at:
|
314
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 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":["","
|
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
|
-
-
|
338
|
+
- Tue, 04 Mar 2014 14:04:57 +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":"
|
349
|
+
string: ! '{"result":"e7680e44af6f1f2b715cfff715c9f6e977f926fae175581192c3104390e639df","error":null,"id":"jsonrpc"}
|
406
350
|
|
407
351
|
'
|
408
352
|
http_version:
|
409
|
-
recorded_at:
|
353
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 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":["","
|
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
|
-
-
|
377
|
+
- Tue, 04 Mar 2014 14:04:57 +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":"
|
388
|
+
string: ! '{"result":"7316a3556e0414ef9316dccee6e02ffc2d1f30cabd0790b266cacf2f45986920","error":null,"id":"jsonrpc"}
|
443
389
|
|
444
390
|
'
|
445
391
|
http_version:
|
446
|
-
recorded_at:
|
392
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 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":["","
|
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
|
-
-
|
416
|
+
- Tue, 04 Mar 2014 14:04:57 +0000
|
469
417
|
Connection:
|
470
418
|
- keep-alive
|
471
419
|
Content-Length:
|
@@ -476,22 +424,24 @@ http_interactions:
|
|
476
424
|
- bitcoin-json-rpc/v0.7.2-beta
|
477
425
|
body:
|
478
426
|
encoding: US-ASCII
|
479
|
-
string: ! '{"result":"
|
427
|
+
string: ! '{"result":"5892d33c534f03660c691f4fe6641ccba2fdfe37af65a56460e10c27f909e1be","error":null,"id":"jsonrpc"}
|
480
428
|
|
481
429
|
'
|
482
430
|
http_version:
|
483
|
-
recorded_at:
|
431
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
|
484
432
|
- request:
|
485
433
|
method: post
|
486
434
|
uri: http://admin1:123@localhost:19001/
|
487
435
|
body:
|
488
436
|
encoding: US-ASCII
|
489
|
-
string: ! '{"method":"sendfrom","params":["","
|
437
|
+
string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",9,0],"id":"jsonrpc"}'
|
490
438
|
headers:
|
491
439
|
Accept:
|
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
|
- '91'
|
497
447
|
User-Agent:
|
@@ -502,7 +452,7 @@ http_interactions:
|
|
502
452
|
message: OK
|
503
453
|
headers:
|
504
454
|
Date:
|
505
|
-
-
|
455
|
+
- Tue, 04 Mar 2014 14:04:57 +0000
|
506
456
|
Connection:
|
507
457
|
- keep-alive
|
508
458
|
Content-Length:
|
@@ -513,22 +463,24 @@ http_interactions:
|
|
513
463
|
- bitcoin-json-rpc/v0.7.2-beta
|
514
464
|
body:
|
515
465
|
encoding: US-ASCII
|
516
|
-
string: ! '{"result":"
|
466
|
+
string: ! '{"result":"ed2e55921ecf084f3a014f3fd3160bbc964df2504651c2c9ce632593b374a176","error":null,"id":"jsonrpc"}
|
517
467
|
|
518
468
|
'
|
519
469
|
http_version:
|
520
|
-
recorded_at:
|
470
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
|
521
471
|
- request:
|
522
472
|
method: post
|
523
473
|
uri: http://admin1:123@localhost:19001/
|
524
474
|
body:
|
525
475
|
encoding: US-ASCII
|
526
|
-
string: ! '{"method":"sendfrom","params":["","
|
476
|
+
string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",10,0],"id":"jsonrpc"}'
|
527
477
|
headers:
|
528
478
|
Accept:
|
529
479
|
- ! '*/*; q=0.5, application/xml'
|
530
480
|
Accept-Encoding:
|
531
481
|
- gzip, deflate
|
482
|
+
Content-Type:
|
483
|
+
- application/json
|
532
484
|
Content-Length:
|
533
485
|
- '92'
|
534
486
|
User-Agent:
|
@@ -539,7 +491,7 @@ http_interactions:
|
|
539
491
|
message: OK
|
540
492
|
headers:
|
541
493
|
Date:
|
542
|
-
-
|
494
|
+
- Tue, 04 Mar 2014 14:04:57 +0000
|
543
495
|
Connection:
|
544
496
|
- keep-alive
|
545
497
|
Content-Length:
|
@@ -550,22 +502,24 @@ http_interactions:
|
|
550
502
|
- bitcoin-json-rpc/v0.7.2-beta
|
551
503
|
body:
|
552
504
|
encoding: US-ASCII
|
553
|
-
string: ! '{"result":"
|
505
|
+
string: ! '{"result":"7f48a2dcc24d63d1db3ea4029a00e7b1dc22e5f31478313a3f2403b8838ca281","error":null,"id":"jsonrpc"}
|
554
506
|
|
555
507
|
'
|
556
508
|
http_version:
|
557
|
-
recorded_at:
|
509
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
|
558
510
|
- request:
|
559
511
|
method: post
|
560
512
|
uri: http://admin1:123@localhost:19001/
|
561
513
|
body:
|
562
514
|
encoding: US-ASCII
|
563
|
-
string: ! '{"method":"sendfrom","params":["","
|
515
|
+
string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",11,0],"id":"jsonrpc"}'
|
564
516
|
headers:
|
565
517
|
Accept:
|
566
518
|
- ! '*/*; q=0.5, application/xml'
|
567
519
|
Accept-Encoding:
|
568
520
|
- gzip, deflate
|
521
|
+
Content-Type:
|
522
|
+
- application/json
|
569
523
|
Content-Length:
|
570
524
|
- '92'
|
571
525
|
User-Agent:
|
@@ -576,7 +530,7 @@ http_interactions:
|
|
576
530
|
message: OK
|
577
531
|
headers:
|
578
532
|
Date:
|
579
|
-
-
|
533
|
+
- Tue, 04 Mar 2014 14:04:57 +0000
|
580
534
|
Connection:
|
581
535
|
- keep-alive
|
582
536
|
Content-Length:
|
@@ -587,11 +541,11 @@ http_interactions:
|
|
587
541
|
- bitcoin-json-rpc/v0.7.2-beta
|
588
542
|
body:
|
589
543
|
encoding: US-ASCII
|
590
|
-
string: ! '{"result":"
|
544
|
+
string: ! '{"result":"9c4588556708a4e90634670fc7adc2750ec17d22dbb3edcaeb12472112c4b10d","error":null,"id":"jsonrpc"}
|
591
545
|
|
592
546
|
'
|
593
547
|
http_version:
|
594
|
-
recorded_at:
|
548
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
|
595
549
|
- request:
|
596
550
|
method: post
|
597
551
|
uri: http://admin1:123@localhost:19001/
|
@@ -603,6 +557,8 @@ http_interactions:
|
|
603
557
|
- ! '*/*; q=0.5, application/xml'
|
604
558
|
Accept-Encoding:
|
605
559
|
- gzip, deflate
|
560
|
+
Content-Type:
|
561
|
+
- application/json
|
606
562
|
Content-Length:
|
607
563
|
- '62'
|
608
564
|
User-Agent:
|
@@ -613,7 +569,7 @@ http_interactions:
|
|
613
569
|
message: OK
|
614
570
|
headers:
|
615
571
|
Date:
|
616
|
-
-
|
572
|
+
- Tue, 04 Mar 2014 14:04:57 +0000
|
617
573
|
Connection:
|
618
574
|
- keep-alive
|
619
575
|
Content-Length:
|
@@ -624,9 +580,9 @@ http_interactions:
|
|
624
580
|
- bitcoin-json-rpc/v0.7.2-beta
|
625
581
|
body:
|
626
582
|
encoding: US-ASCII
|
627
|
-
string: ! '{"result":[{"account":"1","address":"
|
583
|
+
string: ! '{"result":[{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":2.00000000,"confirmations":0,"txid":"bb961f65853bfdf08b13df34f434432298b6003d2b641a158c2b06c30e7e8cb7","time":1393941897,"timereceived":1393941897},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":3.00000000,"confirmations":0,"txid":"30844b790e5e1c541b5f8bb6f4e22ebc686df561d502b360363602f0b7c0e188","time":1393941897,"timereceived":1393941897},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":4.00000000,"confirmations":0,"txid":"d71e7fb0197602ab2a84a1238d7fb6d6212db397287beea558e4502671166546","time":1393941897,"timereceived":1393941897},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":5.00000000,"confirmations":0,"txid":"a355caf61fa98387979d795c94ee203cf2f6fda752ffa58723779213f1863911","time":1393941897,"timereceived":1393941897},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":6.00000000,"confirmations":0,"txid":"e7680e44af6f1f2b715cfff715c9f6e977f926fae175581192c3104390e639df","time":1393941897,"timereceived":1393941897},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":7.00000000,"confirmations":0,"txid":"7316a3556e0414ef9316dccee6e02ffc2d1f30cabd0790b266cacf2f45986920","time":1393941897,"timereceived":1393941897},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":8.00000000,"confirmations":0,"txid":"5892d33c534f03660c691f4fe6641ccba2fdfe37af65a56460e10c27f909e1be","time":1393941897,"timereceived":1393941897},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":9.00000000,"confirmations":0,"txid":"ed2e55921ecf084f3a014f3fd3160bbc964df2504651c2c9ce632593b374a176","time":1393941897,"timereceived":1393941897},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":10.00000000,"confirmations":0,"txid":"7f48a2dcc24d63d1db3ea4029a00e7b1dc22e5f31478313a3f2403b8838ca281","time":1393941897,"timereceived":1393941897},{"account":"1","address":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","category":"receive","amount":11.00000000,"confirmations":0,"txid":"9c4588556708a4e90634670fc7adc2750ec17d22dbb3edcaeb12472112c4b10d","time":1393941897,"timereceived":1393941897}],"error":null,"id":"jsonrpc"}
|
628
584
|
|
629
585
|
'
|
630
586
|
http_version:
|
631
|
-
recorded_at:
|
632
|
-
recorded_with: VCR 2.
|
587
|
+
recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
|
588
|
+
recorded_with: VCR 2.8.0
|