bit_wallet 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/.gitignore +1 -0
- data/CHANGELOG.md +5 -0
- data/bit_wallet.gemspec +1 -1
- data/lib/bit_wallet/account.rb +1 -0
- data/lib/bit_wallet/version.rb +1 -1
- data/spec/bit_wallet/account_spec.rb +10 -2
- data/spec/bit_wallet/accounts_spec.rb +1 -1
- data/spec/bit_wallet/address_spec.rb +1 -1
- data/spec/bit_wallet/addresses_spec.rb +1 -1
- data/spec/bit_wallet/transaction_spec.rb +1 -1
- data/spec/bit_wallet/wallet_spec.rb +3 -3
- data/spec/config.yml.sample +5 -0
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_be_able_to_override_the_min_conf.yml +31 -34
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_default_to_the_config_min_conf.yml +31 -34
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_return_the_balance_of_the_account.yml +51 -56
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/should_default_to_list_10_transactions.yml +163 -178
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_6/should_list_the_6_most_recent_transactions.yml +122 -134
- 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 +61 -67
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/account_does_not_have_enough_money/should_fail_with_the_InsufficientFunds_error.yml +53 -59
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/should_send_money_to_the_given_address.yml +61 -67
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_many/should_send_the_amounts_of_money_to_the_specified_accounts.yml +71 -78
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_total_received/should_return_the_total_amount_received_by_the_address.yml +10 -11
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/addresses/.yml +10 -11
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/name_is_nil/raises_an_error.yml +79 -0
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_be_assigned_that_name.yml +31 -34
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_have_a_default_name.yml +10 -11
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/when_the_account_name_already_exists/should_return_that_same_address.yml +31 -34
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/wallet/.yml +10 -11
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_includes_account_name_account_/should_return_true_if_the_array_includes_the_account.yml +31 -34
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_new/should_create_a_new_BitWallet_Account_with_a_default_address.yml +31 -34
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_with_balance/should_return_accounts_with_a_balance_0.yml +82 -90
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/wallet/.yml +21 -23
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/_total_received/should_return_the_total_amount_received_by_the_address.yml +20 -22
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/account/.yml +20 -22
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/address_given_already_exists/should_not_create_an_address.yml +10 -11
- data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/no_address_is_given/should_create_an_address.yml +20 -22
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/_new/with_address_string_given/should_return_an_Address_with_the_given_address_string.yml +10 -11
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/_new/without_any_address_string_given/should_return_an_Address_that_points_to_the_same_account.yml +20 -22
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/account/.yml +10 -11
- data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/new/.yml +20 -22
- data/spec/fixtures/vcr_cassettes/BitWallet_Transaction/on_initialization/should_be_able_to_take_a_bitcoind_hash.yml +31 -34
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_accounts/should_return_array_of_BitWallet_Accounts.yml +21 -23
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_move/should_move_funds_from_one_account_to_another.yml +61 -67
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_allow_overriding_of_the_transaction_limit.yml +163 -178
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_return_the_most_recent_transactions_of_all_accounts_defaulting_to_10_transactions.yml +163 -178
- data/spec/spec_helper.rb +3 -3
- metadata +23 -22
- data/spec/config.yml +0 -3
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
|
-
-
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
Content-Type:
|
@@ -23,31 +23,30 @@ http_interactions:
|
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
27
27
|
Connection:
|
28
28
|
- keep-alive
|
29
29
|
Content-Length:
|
30
|
-
- '
|
30
|
+
- '56'
|
31
31
|
Content-Type:
|
32
32
|
- application/json
|
33
33
|
Server:
|
34
|
-
- bitcoin-json-rpc/v0.
|
34
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
35
35
|
body:
|
36
|
-
encoding:
|
37
|
-
string:
|
38
|
-
|
39
|
-
'
|
36
|
+
encoding: UTF-8
|
37
|
+
string: |
|
38
|
+
{"result":{"":50.00000000},"error":null,"id":"jsonrpc"}
|
40
39
|
http_version:
|
41
|
-
recorded_at:
|
40
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
42
41
|
- request:
|
43
42
|
method: post
|
44
|
-
uri: http://
|
43
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
45
44
|
body:
|
46
|
-
encoding:
|
47
|
-
string:
|
45
|
+
encoding: UTF-8
|
46
|
+
string: '{"method":"getnewaddress","params":[""],"id":"jsonrpc"}'
|
48
47
|
headers:
|
49
48
|
Accept:
|
50
|
-
-
|
49
|
+
- "*/*; q=0.5, application/xml"
|
51
50
|
Accept-Encoding:
|
52
51
|
- gzip, deflate
|
53
52
|
Content-Type:
|
@@ -62,7 +61,7 @@ http_interactions:
|
|
62
61
|
message: OK
|
63
62
|
headers:
|
64
63
|
Date:
|
65
|
-
-
|
64
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
66
65
|
Connection:
|
67
66
|
- keep-alive
|
68
67
|
Content-Length:
|
@@ -70,23 +69,22 @@ http_interactions:
|
|
70
69
|
Content-Type:
|
71
70
|
- application/json
|
72
71
|
Server:
|
73
|
-
- bitcoin-json-rpc/v0.
|
72
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
74
73
|
body:
|
75
|
-
encoding:
|
76
|
-
string:
|
77
|
-
|
78
|
-
'
|
74
|
+
encoding: UTF-8
|
75
|
+
string: |
|
76
|
+
{"result":"mvd7zbLvStd4yY4BRH7d1J9xd95PQeYZCG","error":null,"id":"jsonrpc"}
|
79
77
|
http_version:
|
80
|
-
recorded_at:
|
78
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
81
79
|
- request:
|
82
80
|
method: post
|
83
|
-
uri: http://
|
81
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
84
82
|
body:
|
85
|
-
encoding:
|
86
|
-
string:
|
83
|
+
encoding: UTF-8
|
84
|
+
string: '{"method":"getnewaddress","params":["1"],"id":"jsonrpc"}'
|
87
85
|
headers:
|
88
86
|
Accept:
|
89
|
-
-
|
87
|
+
- "*/*; q=0.5, application/xml"
|
90
88
|
Accept-Encoding:
|
91
89
|
- gzip, deflate
|
92
90
|
Content-Type:
|
@@ -101,7 +99,7 @@ http_interactions:
|
|
101
99
|
message: OK
|
102
100
|
headers:
|
103
101
|
Date:
|
104
|
-
-
|
102
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
105
103
|
Connection:
|
106
104
|
- keep-alive
|
107
105
|
Content-Length:
|
@@ -109,23 +107,22 @@ http_interactions:
|
|
109
107
|
Content-Type:
|
110
108
|
- application/json
|
111
109
|
Server:
|
112
|
-
- bitcoin-json-rpc/v0.
|
110
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
113
111
|
body:
|
114
|
-
encoding:
|
115
|
-
string:
|
116
|
-
|
117
|
-
'
|
112
|
+
encoding: UTF-8
|
113
|
+
string: |
|
114
|
+
{"result":"mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T","error":null,"id":"jsonrpc"}
|
118
115
|
http_version:
|
119
|
-
recorded_at:
|
116
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
120
117
|
- request:
|
121
118
|
method: post
|
122
|
-
uri: http://
|
119
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
123
120
|
body:
|
124
|
-
encoding:
|
125
|
-
string:
|
121
|
+
encoding: UTF-8
|
122
|
+
string: '{"method":"sendfrom","params":["","mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T",1,0],"id":"jsonrpc"}'
|
126
123
|
headers:
|
127
124
|
Accept:
|
128
|
-
-
|
125
|
+
- "*/*; q=0.5, application/xml"
|
129
126
|
Accept-Encoding:
|
130
127
|
- gzip, deflate
|
131
128
|
Content-Type:
|
@@ -140,7 +137,7 @@ http_interactions:
|
|
140
137
|
message: OK
|
141
138
|
headers:
|
142
139
|
Date:
|
143
|
-
-
|
140
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
144
141
|
Connection:
|
145
142
|
- keep-alive
|
146
143
|
Content-Length:
|
@@ -148,23 +145,22 @@ http_interactions:
|
|
148
145
|
Content-Type:
|
149
146
|
- application/json
|
150
147
|
Server:
|
151
|
-
- bitcoin-json-rpc/v0.
|
148
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
152
149
|
body:
|
153
|
-
encoding:
|
154
|
-
string:
|
155
|
-
|
156
|
-
'
|
150
|
+
encoding: UTF-8
|
151
|
+
string: |
|
152
|
+
{"result":"32ef083f3a5ada4c8e246bfefb266db68cd3763a646a591c11b23f6bc4b5f2f6","error":null,"id":"jsonrpc"}
|
157
153
|
http_version:
|
158
|
-
recorded_at:
|
154
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
159
155
|
- request:
|
160
156
|
method: post
|
161
|
-
uri: http://
|
157
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
162
158
|
body:
|
163
|
-
encoding:
|
164
|
-
string:
|
159
|
+
encoding: UTF-8
|
160
|
+
string: '{"method":"sendfrom","params":["","mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T",2,0],"id":"jsonrpc"}'
|
165
161
|
headers:
|
166
162
|
Accept:
|
167
|
-
-
|
163
|
+
- "*/*; q=0.5, application/xml"
|
168
164
|
Accept-Encoding:
|
169
165
|
- gzip, deflate
|
170
166
|
Content-Type:
|
@@ -179,7 +175,7 @@ http_interactions:
|
|
179
175
|
message: OK
|
180
176
|
headers:
|
181
177
|
Date:
|
182
|
-
-
|
178
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
183
179
|
Connection:
|
184
180
|
- keep-alive
|
185
181
|
Content-Length:
|
@@ -187,23 +183,22 @@ http_interactions:
|
|
187
183
|
Content-Type:
|
188
184
|
- application/json
|
189
185
|
Server:
|
190
|
-
- bitcoin-json-rpc/v0.
|
186
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
191
187
|
body:
|
192
|
-
encoding:
|
193
|
-
string:
|
194
|
-
|
195
|
-
'
|
188
|
+
encoding: UTF-8
|
189
|
+
string: |
|
190
|
+
{"result":"1b9d3526863427822edec4bfe6be56372b561dd2e7bdc410eafa58ca25bad68f","error":null,"id":"jsonrpc"}
|
196
191
|
http_version:
|
197
|
-
recorded_at:
|
192
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
198
193
|
- request:
|
199
194
|
method: post
|
200
|
-
uri: http://
|
195
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
201
196
|
body:
|
202
|
-
encoding:
|
203
|
-
string:
|
197
|
+
encoding: UTF-8
|
198
|
+
string: '{"method":"sendfrom","params":["","mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T",3,0],"id":"jsonrpc"}'
|
204
199
|
headers:
|
205
200
|
Accept:
|
206
|
-
-
|
201
|
+
- "*/*; q=0.5, application/xml"
|
207
202
|
Accept-Encoding:
|
208
203
|
- gzip, deflate
|
209
204
|
Content-Type:
|
@@ -218,7 +213,7 @@ http_interactions:
|
|
218
213
|
message: OK
|
219
214
|
headers:
|
220
215
|
Date:
|
221
|
-
-
|
216
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
222
217
|
Connection:
|
223
218
|
- keep-alive
|
224
219
|
Content-Length:
|
@@ -226,23 +221,22 @@ http_interactions:
|
|
226
221
|
Content-Type:
|
227
222
|
- application/json
|
228
223
|
Server:
|
229
|
-
- bitcoin-json-rpc/v0.
|
224
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
230
225
|
body:
|
231
|
-
encoding:
|
232
|
-
string:
|
233
|
-
|
234
|
-
'
|
226
|
+
encoding: UTF-8
|
227
|
+
string: |
|
228
|
+
{"result":"49fcaaf82f8575a2dccff09794844e4c0f640368d5c4408dc62a991748955c22","error":null,"id":"jsonrpc"}
|
235
229
|
http_version:
|
236
|
-
recorded_at:
|
230
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
237
231
|
- request:
|
238
232
|
method: post
|
239
|
-
uri: http://
|
233
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
240
234
|
body:
|
241
|
-
encoding:
|
242
|
-
string:
|
235
|
+
encoding: UTF-8
|
236
|
+
string: '{"method":"sendfrom","params":["","mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T",4,0],"id":"jsonrpc"}'
|
243
237
|
headers:
|
244
238
|
Accept:
|
245
|
-
-
|
239
|
+
- "*/*; q=0.5, application/xml"
|
246
240
|
Accept-Encoding:
|
247
241
|
- gzip, deflate
|
248
242
|
Content-Type:
|
@@ -257,7 +251,7 @@ http_interactions:
|
|
257
251
|
message: OK
|
258
252
|
headers:
|
259
253
|
Date:
|
260
|
-
-
|
254
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
261
255
|
Connection:
|
262
256
|
- keep-alive
|
263
257
|
Content-Length:
|
@@ -265,23 +259,22 @@ http_interactions:
|
|
265
259
|
Content-Type:
|
266
260
|
- application/json
|
267
261
|
Server:
|
268
|
-
- bitcoin-json-rpc/v0.
|
262
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
269
263
|
body:
|
270
|
-
encoding:
|
271
|
-
string:
|
272
|
-
|
273
|
-
'
|
264
|
+
encoding: UTF-8
|
265
|
+
string: |
|
266
|
+
{"result":"48921ba87e4425bdf39894c75a05e3cab49149a24ad703808762a5009773e404","error":null,"id":"jsonrpc"}
|
274
267
|
http_version:
|
275
|
-
recorded_at:
|
268
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
276
269
|
- request:
|
277
270
|
method: post
|
278
|
-
uri: http://
|
271
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
279
272
|
body:
|
280
|
-
encoding:
|
281
|
-
string:
|
273
|
+
encoding: UTF-8
|
274
|
+
string: '{"method":"sendfrom","params":["","mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T",5,0],"id":"jsonrpc"}'
|
282
275
|
headers:
|
283
276
|
Accept:
|
284
|
-
-
|
277
|
+
- "*/*; q=0.5, application/xml"
|
285
278
|
Accept-Encoding:
|
286
279
|
- gzip, deflate
|
287
280
|
Content-Type:
|
@@ -296,7 +289,7 @@ http_interactions:
|
|
296
289
|
message: OK
|
297
290
|
headers:
|
298
291
|
Date:
|
299
|
-
-
|
292
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
300
293
|
Connection:
|
301
294
|
- keep-alive
|
302
295
|
Content-Length:
|
@@ -304,23 +297,22 @@ http_interactions:
|
|
304
297
|
Content-Type:
|
305
298
|
- application/json
|
306
299
|
Server:
|
307
|
-
- bitcoin-json-rpc/v0.
|
300
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
308
301
|
body:
|
309
|
-
encoding:
|
310
|
-
string:
|
311
|
-
|
312
|
-
'
|
302
|
+
encoding: UTF-8
|
303
|
+
string: |
|
304
|
+
{"result":"87cb7fc5fbffbc51792126eebaede099128e2d5a15a3704d7188f8f9b206d7cb","error":null,"id":"jsonrpc"}
|
313
305
|
http_version:
|
314
|
-
recorded_at:
|
306
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
315
307
|
- request:
|
316
308
|
method: post
|
317
|
-
uri: http://
|
309
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
318
310
|
body:
|
319
|
-
encoding:
|
320
|
-
string:
|
311
|
+
encoding: UTF-8
|
312
|
+
string: '{"method":"sendfrom","params":["","mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T",6,0],"id":"jsonrpc"}'
|
321
313
|
headers:
|
322
314
|
Accept:
|
323
|
-
-
|
315
|
+
- "*/*; q=0.5, application/xml"
|
324
316
|
Accept-Encoding:
|
325
317
|
- gzip, deflate
|
326
318
|
Content-Type:
|
@@ -335,7 +327,7 @@ http_interactions:
|
|
335
327
|
message: OK
|
336
328
|
headers:
|
337
329
|
Date:
|
338
|
-
-
|
330
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
339
331
|
Connection:
|
340
332
|
- keep-alive
|
341
333
|
Content-Length:
|
@@ -343,23 +335,22 @@ http_interactions:
|
|
343
335
|
Content-Type:
|
344
336
|
- application/json
|
345
337
|
Server:
|
346
|
-
- bitcoin-json-rpc/v0.
|
338
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
347
339
|
body:
|
348
|
-
encoding:
|
349
|
-
string:
|
350
|
-
|
351
|
-
'
|
340
|
+
encoding: UTF-8
|
341
|
+
string: |
|
342
|
+
{"result":"bc29b0bdd2e69c9ff5c55bccc7100f0233876cf1afac44243a3812cb467eca91","error":null,"id":"jsonrpc"}
|
352
343
|
http_version:
|
353
|
-
recorded_at:
|
344
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
354
345
|
- request:
|
355
346
|
method: post
|
356
|
-
uri: http://
|
347
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
357
348
|
body:
|
358
|
-
encoding:
|
359
|
-
string:
|
349
|
+
encoding: UTF-8
|
350
|
+
string: '{"method":"sendfrom","params":["","mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T",7,0],"id":"jsonrpc"}'
|
360
351
|
headers:
|
361
352
|
Accept:
|
362
|
-
-
|
353
|
+
- "*/*; q=0.5, application/xml"
|
363
354
|
Accept-Encoding:
|
364
355
|
- gzip, deflate
|
365
356
|
Content-Type:
|
@@ -374,7 +365,7 @@ http_interactions:
|
|
374
365
|
message: OK
|
375
366
|
headers:
|
376
367
|
Date:
|
377
|
-
-
|
368
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
378
369
|
Connection:
|
379
370
|
- keep-alive
|
380
371
|
Content-Length:
|
@@ -382,23 +373,22 @@ http_interactions:
|
|
382
373
|
Content-Type:
|
383
374
|
- application/json
|
384
375
|
Server:
|
385
|
-
- bitcoin-json-rpc/v0.
|
376
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
386
377
|
body:
|
387
|
-
encoding:
|
388
|
-
string:
|
389
|
-
|
390
|
-
'
|
378
|
+
encoding: UTF-8
|
379
|
+
string: |
|
380
|
+
{"result":"89af5f7e06d718ecf7099e5051da13a735ed8274fdcdba33ca3924ca82c96224","error":null,"id":"jsonrpc"}
|
391
381
|
http_version:
|
392
|
-
recorded_at:
|
382
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
393
383
|
- request:
|
394
384
|
method: post
|
395
|
-
uri: http://
|
385
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
396
386
|
body:
|
397
|
-
encoding:
|
398
|
-
string:
|
387
|
+
encoding: UTF-8
|
388
|
+
string: '{"method":"sendfrom","params":["","mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T",8,0],"id":"jsonrpc"}'
|
399
389
|
headers:
|
400
390
|
Accept:
|
401
|
-
-
|
391
|
+
- "*/*; q=0.5, application/xml"
|
402
392
|
Accept-Encoding:
|
403
393
|
- gzip, deflate
|
404
394
|
Content-Type:
|
@@ -413,7 +403,7 @@ http_interactions:
|
|
413
403
|
message: OK
|
414
404
|
headers:
|
415
405
|
Date:
|
416
|
-
-
|
406
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
417
407
|
Connection:
|
418
408
|
- keep-alive
|
419
409
|
Content-Length:
|
@@ -421,23 +411,22 @@ http_interactions:
|
|
421
411
|
Content-Type:
|
422
412
|
- application/json
|
423
413
|
Server:
|
424
|
-
- bitcoin-json-rpc/v0.
|
414
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
425
415
|
body:
|
426
|
-
encoding:
|
427
|
-
string:
|
428
|
-
|
429
|
-
'
|
416
|
+
encoding: UTF-8
|
417
|
+
string: |
|
418
|
+
{"result":"2230b630824755f3d1a7379a3c002b04e8a0865c3af1b2becac1ea3e14c1c634","error":null,"id":"jsonrpc"}
|
430
419
|
http_version:
|
431
|
-
recorded_at:
|
420
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
432
421
|
- request:
|
433
422
|
method: post
|
434
|
-
uri: http://
|
423
|
+
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
435
424
|
body:
|
436
|
-
encoding:
|
437
|
-
string:
|
425
|
+
encoding: UTF-8
|
426
|
+
string: '{"method":"listtransactions","params":["1",6],"id":"jsonrpc"}'
|
438
427
|
headers:
|
439
428
|
Accept:
|
440
|
-
-
|
429
|
+
- "*/*; q=0.5, application/xml"
|
441
430
|
Accept-Encoding:
|
442
431
|
- gzip, deflate
|
443
432
|
Content-Type:
|
@@ -452,20 +441,19 @@ http_interactions:
|
|
452
441
|
message: OK
|
453
442
|
headers:
|
454
443
|
Date:
|
455
|
-
-
|
444
|
+
- Sat, 23 Aug 2014 09:44:13 +0000
|
456
445
|
Connection:
|
457
446
|
- keep-alive
|
458
447
|
Content-Length:
|
459
|
-
- '
|
448
|
+
- '1607'
|
460
449
|
Content-Type:
|
461
450
|
- application/json
|
462
451
|
Server:
|
463
|
-
- bitcoin-json-rpc/v0.
|
452
|
+
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
464
453
|
body:
|
465
|
-
encoding:
|
466
|
-
string:
|
467
|
-
|
468
|
-
'
|
454
|
+
encoding: UTF-8
|
455
|
+
string: |
|
456
|
+
{"result":[{"account":"1","address":"mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T","category":"receive","amount":3.00000000,"confirmations":0,"txid":"49fcaaf82f8575a2dccff09794844e4c0f640368d5c4408dc62a991748955c22","walletconflicts":[],"time":1408787053,"timereceived":1408787053},{"account":"1","address":"mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T","category":"receive","amount":4.00000000,"confirmations":0,"txid":"48921ba87e4425bdf39894c75a05e3cab49149a24ad703808762a5009773e404","walletconflicts":[],"time":1408787053,"timereceived":1408787053},{"account":"1","address":"mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T","category":"receive","amount":5.00000000,"confirmations":0,"txid":"87cb7fc5fbffbc51792126eebaede099128e2d5a15a3704d7188f8f9b206d7cb","walletconflicts":[],"time":1408787053,"timereceived":1408787053},{"account":"1","address":"mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T","category":"receive","amount":6.00000000,"confirmations":0,"txid":"bc29b0bdd2e69c9ff5c55bccc7100f0233876cf1afac44243a3812cb467eca91","walletconflicts":[],"time":1408787053,"timereceived":1408787053},{"account":"1","address":"mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T","category":"receive","amount":7.00000000,"confirmations":0,"txid":"89af5f7e06d718ecf7099e5051da13a735ed8274fdcdba33ca3924ca82c96224","walletconflicts":[],"time":1408787053,"timereceived":1408787053},{"account":"1","address":"mmh5KSVGNtzhnYtTuy8ykwALM8MtQg5d5T","category":"receive","amount":8.00000000,"confirmations":0,"txid":"2230b630824755f3d1a7379a3c002b04e8a0865c3af1b2becac1ea3e14c1c634","walletconflicts":[],"time":1408787053,"timereceived":1408787053}],"error":null,"id":"jsonrpc"}
|
469
457
|
http_version:
|
470
|
-
recorded_at:
|
458
|
+
recorded_at: Sat, 23 Aug 2014 09:44:13 GMT
|
471
459
|
recorded_with: VCR 2.8.0
|