bit_wallet 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +6 -14
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +5 -0
  4. data/bit_wallet.gemspec +1 -1
  5. data/lib/bit_wallet/account.rb +1 -0
  6. data/lib/bit_wallet/version.rb +1 -1
  7. data/spec/bit_wallet/account_spec.rb +10 -2
  8. data/spec/bit_wallet/accounts_spec.rb +1 -1
  9. data/spec/bit_wallet/address_spec.rb +1 -1
  10. data/spec/bit_wallet/addresses_spec.rb +1 -1
  11. data/spec/bit_wallet/transaction_spec.rb +1 -1
  12. data/spec/bit_wallet/wallet_spec.rb +3 -3
  13. data/spec/config.yml.sample +5 -0
  14. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_be_able_to_override_the_min_conf.yml +31 -34
  15. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_default_to_the_config_min_conf.yml +31 -34
  16. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_return_the_balance_of_the_account.yml +51 -56
  17. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/should_default_to_list_10_transactions.yml +163 -178
  18. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_6/should_list_the_6_most_recent_transactions.yml +122 -134
  19. 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
  20. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/account_does_not_have_enough_money/should_fail_with_the_InsufficientFunds_error.yml +53 -59
  21. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/should_send_money_to_the_given_address.yml +61 -67
  22. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_many/should_send_the_amounts_of_money_to_the_specified_accounts.yml +71 -78
  23. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_total_received/should_return_the_total_amount_received_by_the_address.yml +10 -11
  24. data/spec/fixtures/vcr_cassettes/BitWallet_Account/addresses/.yml +10 -11
  25. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/name_is_nil/raises_an_error.yml +79 -0
  26. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_be_assigned_that_name.yml +31 -34
  27. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_have_a_default_name.yml +10 -11
  28. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/when_the_account_name_already_exists/should_return_that_same_address.yml +31 -34
  29. data/spec/fixtures/vcr_cassettes/BitWallet_Account/wallet/.yml +10 -11
  30. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_includes_account_name_account_/should_return_true_if_the_array_includes_the_account.yml +31 -34
  31. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_new/should_create_a_new_BitWallet_Account_with_a_default_address.yml +31 -34
  32. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_with_balance/should_return_accounts_with_a_balance_0.yml +82 -90
  33. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/wallet/.yml +21 -23
  34. data/spec/fixtures/vcr_cassettes/BitWallet_Address/_total_received/should_return_the_total_amount_received_by_the_address.yml +20 -22
  35. data/spec/fixtures/vcr_cassettes/BitWallet_Address/account/.yml +20 -22
  36. data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/address_given_already_exists/should_not_create_an_address.yml +10 -11
  37. data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/no_address_is_given/should_create_an_address.yml +20 -22
  38. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/_new/with_address_string_given/should_return_an_Address_with_the_given_address_string.yml +10 -11
  39. 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
  40. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/account/.yml +10 -11
  41. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/new/.yml +20 -22
  42. data/spec/fixtures/vcr_cassettes/BitWallet_Transaction/on_initialization/should_be_able_to_take_a_bitcoind_hash.yml +31 -34
  43. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_accounts/should_return_array_of_BitWallet_Accounts.yml +21 -23
  44. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_move/should_move_funds_from_one_account_to_another.yml +61 -67
  45. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_allow_overriding_of_the_transaction_limit.yml +163 -178
  46. 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
  47. data/spec/spec_helper.rb +3 -3
  48. metadata +23 -22
  49. data/spec/config.yml +0 -3
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://admin1:123@localhost:19001/
5
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
6
6
  body:
7
- encoding: US-ASCII
8
- string: ! '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
7
+ encoding: UTF-8
8
+ string: '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
9
9
  headers:
10
10
  Accept:
11
- - ! '*/*; q=0.5, application/xml'
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
- - Tue, 04 Mar 2014 14:04:57 +0000
26
+ - Sat, 23 Aug 2014 09:44:06 +0000
27
27
  Connection:
28
28
  - keep-alive
29
29
  Content-Length:
30
- - '58'
30
+ - '56'
31
31
  Content-Type:
32
32
  - application/json
33
33
  Server:
34
- - bitcoin-json-rpc/v0.7.2-beta
34
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
35
35
  body:
36
- encoding: US-ASCII
37
- string: ! '{"result":{"":8800.00000000},"error":null,"id":"jsonrpc"}
38
-
39
- '
36
+ encoding: UTF-8
37
+ string: |
38
+ {"result":{"":50.00000000},"error":null,"id":"jsonrpc"}
40
39
  http_version:
41
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
40
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
42
41
  - request:
43
42
  method: post
44
- uri: http://admin1:123@localhost:19001/
43
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
45
44
  body:
46
- encoding: US-ASCII
47
- string: ! '{"method":"getnewaddress","params":[""],"id":"jsonrpc"}'
45
+ encoding: UTF-8
46
+ string: '{"method":"getnewaddress","params":[""],"id":"jsonrpc"}'
48
47
  headers:
49
48
  Accept:
50
- - ! '*/*; q=0.5, application/xml'
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
- - Tue, 04 Mar 2014 14:04:57 +0000
64
+ - Sat, 23 Aug 2014 09:44:06 +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.7.2-beta
72
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
74
73
  body:
75
- encoding: US-ASCII
76
- string: ! '{"result":"mi487X6jj8ggY6FAoG8ibv7qomcq9TXL1U","error":null,"id":"jsonrpc"}
77
-
78
- '
74
+ encoding: UTF-8
75
+ string: |
76
+ {"result":"mppVAfhbW45iohoMEstnqyLb3Xwvys8b9k","error":null,"id":"jsonrpc"}
79
77
  http_version:
80
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
78
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
81
79
  - request:
82
80
  method: post
83
- uri: http://admin1:123@localhost:19001/
81
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
84
82
  body:
85
- encoding: US-ASCII
86
- string: ! '{"method":"getnewaddress","params":["1"],"id":"jsonrpc"}'
83
+ encoding: UTF-8
84
+ string: '{"method":"getnewaddress","params":["1"],"id":"jsonrpc"}'
87
85
  headers:
88
86
  Accept:
89
- - ! '*/*; q=0.5, application/xml'
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
- - Tue, 04 Mar 2014 14:04:57 +0000
102
+ - Sat, 23 Aug 2014 09:44:06 +0000
105
103
  Connection:
106
104
  - keep-alive
107
105
  Content-Length:
@@ -109,29 +107,28 @@ http_interactions:
109
107
  Content-Type:
110
108
  - application/json
111
109
  Server:
112
- - bitcoin-json-rpc/v0.7.2-beta
110
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
113
111
  body:
114
- encoding: US-ASCII
115
- string: ! '{"result":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","error":null,"id":"jsonrpc"}
116
-
117
- '
112
+ encoding: UTF-8
113
+ string: |
114
+ {"result":"myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE","error":null,"id":"jsonrpc"}
118
115
  http_version:
119
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
116
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
120
117
  - request:
121
118
  method: post
122
- uri: http://admin1:123@localhost:19001/
119
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
123
120
  body:
124
- encoding: US-ASCII
125
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",1,0],"id":"jsonrpc"}'
121
+ encoding: UTF-8
122
+ string: '{"method":"sendfrom","params":["","myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE",0.1,0],"id":"jsonrpc"}'
126
123
  headers:
127
124
  Accept:
128
- - ! '*/*; q=0.5, application/xml'
125
+ - "*/*; q=0.5, application/xml"
129
126
  Accept-Encoding:
130
127
  - gzip, deflate
131
128
  Content-Type:
132
129
  - application/json
133
130
  Content-Length:
134
- - '91'
131
+ - '93'
135
132
  User-Agent:
136
133
  - Ruby
137
134
  response:
@@ -140,7 +137,7 @@ http_interactions:
140
137
  message: OK
141
138
  headers:
142
139
  Date:
143
- - Tue, 04 Mar 2014 14:04:57 +0000
140
+ - Sat, 23 Aug 2014 09:44:06 +0000
144
141
  Connection:
145
142
  - keep-alive
146
143
  Content-Length:
@@ -148,29 +145,28 @@ http_interactions:
148
145
  Content-Type:
149
146
  - application/json
150
147
  Server:
151
- - bitcoin-json-rpc/v0.7.2-beta
148
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
152
149
  body:
153
- encoding: US-ASCII
154
- string: ! '{"result":"d6e111a1e936c18d4392af3f58142286d9f57e934f4430d833dedabbef8a262c","error":null,"id":"jsonrpc"}
155
-
156
- '
150
+ encoding: UTF-8
151
+ string: |
152
+ {"result":"766874fca6e97ddc52372b128e429d67b0ee275b33daaa663eb642ce4b999819","error":null,"id":"jsonrpc"}
157
153
  http_version:
158
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
154
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
159
155
  - request:
160
156
  method: post
161
- uri: http://admin1:123@localhost:19001/
157
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
162
158
  body:
163
- encoding: US-ASCII
164
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",2,0],"id":"jsonrpc"}'
159
+ encoding: UTF-8
160
+ string: '{"method":"sendfrom","params":["","myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE",0.1,0],"id":"jsonrpc"}'
165
161
  headers:
166
162
  Accept:
167
- - ! '*/*; q=0.5, application/xml'
163
+ - "*/*; q=0.5, application/xml"
168
164
  Accept-Encoding:
169
165
  - gzip, deflate
170
166
  Content-Type:
171
167
  - application/json
172
168
  Content-Length:
173
- - '91'
169
+ - '93'
174
170
  User-Agent:
175
171
  - Ruby
176
172
  response:
@@ -179,7 +175,7 @@ http_interactions:
179
175
  message: OK
180
176
  headers:
181
177
  Date:
182
- - Tue, 04 Mar 2014 14:04:57 +0000
178
+ - Sat, 23 Aug 2014 09:44:06 +0000
183
179
  Connection:
184
180
  - keep-alive
185
181
  Content-Length:
@@ -187,29 +183,28 @@ http_interactions:
187
183
  Content-Type:
188
184
  - application/json
189
185
  Server:
190
- - bitcoin-json-rpc/v0.7.2-beta
186
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
191
187
  body:
192
- encoding: US-ASCII
193
- string: ! '{"result":"bb961f65853bfdf08b13df34f434432298b6003d2b641a158c2b06c30e7e8cb7","error":null,"id":"jsonrpc"}
194
-
195
- '
188
+ encoding: UTF-8
189
+ string: |
190
+ {"result":"6b19fd98ea796e78a918d02f8c8b9c8f0b84844d7a4eac1fab142e75e1ce110e","error":null,"id":"jsonrpc"}
196
191
  http_version:
197
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
192
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
198
193
  - request:
199
194
  method: post
200
- uri: http://admin1:123@localhost:19001/
195
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
201
196
  body:
202
- encoding: US-ASCII
203
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",3,0],"id":"jsonrpc"}'
197
+ encoding: UTF-8
198
+ string: '{"method":"sendfrom","params":["","myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE",0.1,0],"id":"jsonrpc"}'
204
199
  headers:
205
200
  Accept:
206
- - ! '*/*; q=0.5, application/xml'
201
+ - "*/*; q=0.5, application/xml"
207
202
  Accept-Encoding:
208
203
  - gzip, deflate
209
204
  Content-Type:
210
205
  - application/json
211
206
  Content-Length:
212
- - '91'
207
+ - '93'
213
208
  User-Agent:
214
209
  - Ruby
215
210
  response:
@@ -218,7 +213,7 @@ http_interactions:
218
213
  message: OK
219
214
  headers:
220
215
  Date:
221
- - Tue, 04 Mar 2014 14:04:57 +0000
216
+ - Sat, 23 Aug 2014 09:44:06 +0000
222
217
  Connection:
223
218
  - keep-alive
224
219
  Content-Length:
@@ -226,29 +221,28 @@ http_interactions:
226
221
  Content-Type:
227
222
  - application/json
228
223
  Server:
229
- - bitcoin-json-rpc/v0.7.2-beta
224
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
230
225
  body:
231
- encoding: US-ASCII
232
- string: ! '{"result":"30844b790e5e1c541b5f8bb6f4e22ebc686df561d502b360363602f0b7c0e188","error":null,"id":"jsonrpc"}
233
-
234
- '
226
+ encoding: UTF-8
227
+ string: |
228
+ {"result":"78029f5809b6c14eeb7243da8048771351f14f52a6ab38fd9c9693ec85ee773f","error":null,"id":"jsonrpc"}
235
229
  http_version:
236
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
230
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
237
231
  - request:
238
232
  method: post
239
- uri: http://admin1:123@localhost:19001/
233
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
240
234
  body:
241
- encoding: US-ASCII
242
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",4,0],"id":"jsonrpc"}'
235
+ encoding: UTF-8
236
+ string: '{"method":"sendfrom","params":["","myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE",0.1,0],"id":"jsonrpc"}'
243
237
  headers:
244
238
  Accept:
245
- - ! '*/*; q=0.5, application/xml'
239
+ - "*/*; q=0.5, application/xml"
246
240
  Accept-Encoding:
247
241
  - gzip, deflate
248
242
  Content-Type:
249
243
  - application/json
250
244
  Content-Length:
251
- - '91'
245
+ - '93'
252
246
  User-Agent:
253
247
  - Ruby
254
248
  response:
@@ -257,7 +251,7 @@ http_interactions:
257
251
  message: OK
258
252
  headers:
259
253
  Date:
260
- - Tue, 04 Mar 2014 14:04:57 +0000
254
+ - Sat, 23 Aug 2014 09:44:06 +0000
261
255
  Connection:
262
256
  - keep-alive
263
257
  Content-Length:
@@ -265,29 +259,28 @@ http_interactions:
265
259
  Content-Type:
266
260
  - application/json
267
261
  Server:
268
- - bitcoin-json-rpc/v0.7.2-beta
262
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
269
263
  body:
270
- encoding: US-ASCII
271
- string: ! '{"result":"d71e7fb0197602ab2a84a1238d7fb6d6212db397287beea558e4502671166546","error":null,"id":"jsonrpc"}
272
-
273
- '
264
+ encoding: UTF-8
265
+ string: |
266
+ {"result":"a5c1103daf3a6f5e4c15b750283b446d20e34e8dd91dde0e78070009d1f35506","error":null,"id":"jsonrpc"}
274
267
  http_version:
275
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
268
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
276
269
  - request:
277
270
  method: post
278
- uri: http://admin1:123@localhost:19001/
271
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
279
272
  body:
280
- encoding: US-ASCII
281
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",5,0],"id":"jsonrpc"}'
273
+ encoding: UTF-8
274
+ string: '{"method":"sendfrom","params":["","myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE",0.1,0],"id":"jsonrpc"}'
282
275
  headers:
283
276
  Accept:
284
- - ! '*/*; q=0.5, application/xml'
277
+ - "*/*; q=0.5, application/xml"
285
278
  Accept-Encoding:
286
279
  - gzip, deflate
287
280
  Content-Type:
288
281
  - application/json
289
282
  Content-Length:
290
- - '91'
283
+ - '93'
291
284
  User-Agent:
292
285
  - Ruby
293
286
  response:
@@ -296,7 +289,7 @@ http_interactions:
296
289
  message: OK
297
290
  headers:
298
291
  Date:
299
- - Tue, 04 Mar 2014 14:04:57 +0000
292
+ - Sat, 23 Aug 2014 09:44:06 +0000
300
293
  Connection:
301
294
  - keep-alive
302
295
  Content-Length:
@@ -304,29 +297,28 @@ http_interactions:
304
297
  Content-Type:
305
298
  - application/json
306
299
  Server:
307
- - bitcoin-json-rpc/v0.7.2-beta
300
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
308
301
  body:
309
- encoding: US-ASCII
310
- string: ! '{"result":"a355caf61fa98387979d795c94ee203cf2f6fda752ffa58723779213f1863911","error":null,"id":"jsonrpc"}
311
-
312
- '
302
+ encoding: UTF-8
303
+ string: |
304
+ {"result":"f1304c7b3016d2c42a900775088d827e2ef7c8b6f59ea1f2fc45c57058d96483","error":null,"id":"jsonrpc"}
313
305
  http_version:
314
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
306
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
315
307
  - request:
316
308
  method: post
317
- uri: http://admin1:123@localhost:19001/
309
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
318
310
  body:
319
- encoding: US-ASCII
320
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",6,0],"id":"jsonrpc"}'
311
+ encoding: UTF-8
312
+ string: '{"method":"sendfrom","params":["","myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE",0.1,0],"id":"jsonrpc"}'
321
313
  headers:
322
314
  Accept:
323
- - ! '*/*; q=0.5, application/xml'
315
+ - "*/*; q=0.5, application/xml"
324
316
  Accept-Encoding:
325
317
  - gzip, deflate
326
318
  Content-Type:
327
319
  - application/json
328
320
  Content-Length:
329
- - '91'
321
+ - '93'
330
322
  User-Agent:
331
323
  - Ruby
332
324
  response:
@@ -335,7 +327,7 @@ http_interactions:
335
327
  message: OK
336
328
  headers:
337
329
  Date:
338
- - Tue, 04 Mar 2014 14:04:57 +0000
330
+ - Sat, 23 Aug 2014 09:44:06 +0000
339
331
  Connection:
340
332
  - keep-alive
341
333
  Content-Length:
@@ -343,29 +335,28 @@ http_interactions:
343
335
  Content-Type:
344
336
  - application/json
345
337
  Server:
346
- - bitcoin-json-rpc/v0.7.2-beta
338
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
347
339
  body:
348
- encoding: US-ASCII
349
- string: ! '{"result":"e7680e44af6f1f2b715cfff715c9f6e977f926fae175581192c3104390e639df","error":null,"id":"jsonrpc"}
350
-
351
- '
340
+ encoding: UTF-8
341
+ string: |
342
+ {"result":"1383ce3096e7d97db1b7ed755c4cee03da5a663b220bd9d581bb68eb0a0325e1","error":null,"id":"jsonrpc"}
352
343
  http_version:
353
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
344
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
354
345
  - request:
355
346
  method: post
356
- uri: http://admin1:123@localhost:19001/
347
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
357
348
  body:
358
- encoding: US-ASCII
359
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",7,0],"id":"jsonrpc"}'
349
+ encoding: UTF-8
350
+ string: '{"method":"sendfrom","params":["","myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE",0.1,0],"id":"jsonrpc"}'
360
351
  headers:
361
352
  Accept:
362
- - ! '*/*; q=0.5, application/xml'
353
+ - "*/*; q=0.5, application/xml"
363
354
  Accept-Encoding:
364
355
  - gzip, deflate
365
356
  Content-Type:
366
357
  - application/json
367
358
  Content-Length:
368
- - '91'
359
+ - '93'
369
360
  User-Agent:
370
361
  - Ruby
371
362
  response:
@@ -374,7 +365,7 @@ http_interactions:
374
365
  message: OK
375
366
  headers:
376
367
  Date:
377
- - Tue, 04 Mar 2014 14:04:57 +0000
368
+ - Sat, 23 Aug 2014 09:44:06 +0000
378
369
  Connection:
379
370
  - keep-alive
380
371
  Content-Length:
@@ -382,29 +373,28 @@ http_interactions:
382
373
  Content-Type:
383
374
  - application/json
384
375
  Server:
385
- - bitcoin-json-rpc/v0.7.2-beta
376
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
386
377
  body:
387
- encoding: US-ASCII
388
- string: ! '{"result":"7316a3556e0414ef9316dccee6e02ffc2d1f30cabd0790b266cacf2f45986920","error":null,"id":"jsonrpc"}
389
-
390
- '
378
+ encoding: UTF-8
379
+ string: |
380
+ {"result":"bcc21c9d7f1186333de6d5b88c9a75bf6e9a24442dcd5ddf2eea80bf8c5ba2fd","error":null,"id":"jsonrpc"}
391
381
  http_version:
392
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
382
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
393
383
  - request:
394
384
  method: post
395
- uri: http://admin1:123@localhost:19001/
385
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
396
386
  body:
397
- encoding: US-ASCII
398
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",8,0],"id":"jsonrpc"}'
387
+ encoding: UTF-8
388
+ string: '{"method":"sendfrom","params":["","myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE",0.1,0],"id":"jsonrpc"}'
399
389
  headers:
400
390
  Accept:
401
- - ! '*/*; q=0.5, application/xml'
391
+ - "*/*; q=0.5, application/xml"
402
392
  Accept-Encoding:
403
393
  - gzip, deflate
404
394
  Content-Type:
405
395
  - application/json
406
396
  Content-Length:
407
- - '91'
397
+ - '93'
408
398
  User-Agent:
409
399
  - Ruby
410
400
  response:
@@ -413,7 +403,7 @@ http_interactions:
413
403
  message: OK
414
404
  headers:
415
405
  Date:
416
- - Tue, 04 Mar 2014 14:04:57 +0000
406
+ - Sat, 23 Aug 2014 09:44:06 +0000
417
407
  Connection:
418
408
  - keep-alive
419
409
  Content-Length:
@@ -421,29 +411,28 @@ http_interactions:
421
411
  Content-Type:
422
412
  - application/json
423
413
  Server:
424
- - bitcoin-json-rpc/v0.7.2-beta
414
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
425
415
  body:
426
- encoding: US-ASCII
427
- string: ! '{"result":"5892d33c534f03660c691f4fe6641ccba2fdfe37af65a56460e10c27f909e1be","error":null,"id":"jsonrpc"}
428
-
429
- '
416
+ encoding: UTF-8
417
+ string: |
418
+ {"result":"830c82dfed0dcffd2a5d0018e91b016b2266c6ea4753fdabef4cecda7468801c","error":null,"id":"jsonrpc"}
430
419
  http_version:
431
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
420
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
432
421
  - request:
433
422
  method: post
434
- uri: http://admin1:123@localhost:19001/
423
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
435
424
  body:
436
- encoding: US-ASCII
437
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",9,0],"id":"jsonrpc"}'
425
+ encoding: UTF-8
426
+ string: '{"method":"sendfrom","params":["","myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE",0.1,0],"id":"jsonrpc"}'
438
427
  headers:
439
428
  Accept:
440
- - ! '*/*; q=0.5, application/xml'
429
+ - "*/*; q=0.5, application/xml"
441
430
  Accept-Encoding:
442
431
  - gzip, deflate
443
432
  Content-Type:
444
433
  - application/json
445
434
  Content-Length:
446
- - '91'
435
+ - '93'
447
436
  User-Agent:
448
437
  - Ruby
449
438
  response:
@@ -452,7 +441,7 @@ http_interactions:
452
441
  message: OK
453
442
  headers:
454
443
  Date:
455
- - Tue, 04 Mar 2014 14:04:57 +0000
444
+ - Sat, 23 Aug 2014 09:44:06 +0000
456
445
  Connection:
457
446
  - keep-alive
458
447
  Content-Length:
@@ -460,29 +449,28 @@ http_interactions:
460
449
  Content-Type:
461
450
  - application/json
462
451
  Server:
463
- - bitcoin-json-rpc/v0.7.2-beta
452
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
464
453
  body:
465
- encoding: US-ASCII
466
- string: ! '{"result":"ed2e55921ecf084f3a014f3fd3160bbc964df2504651c2c9ce632593b374a176","error":null,"id":"jsonrpc"}
467
-
468
- '
454
+ encoding: UTF-8
455
+ string: |
456
+ {"result":"0a7194ddba93c9512342113f66c9da9b1e60a470280dc68f3fe4ebf50153f241","error":null,"id":"jsonrpc"}
469
457
  http_version:
470
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
458
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
471
459
  - request:
472
460
  method: post
473
- uri: http://admin1:123@localhost:19001/
461
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
474
462
  body:
475
- encoding: US-ASCII
476
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",10,0],"id":"jsonrpc"}'
463
+ encoding: UTF-8
464
+ string: '{"method":"sendfrom","params":["","myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE",0.1,0],"id":"jsonrpc"}'
477
465
  headers:
478
466
  Accept:
479
- - ! '*/*; q=0.5, application/xml'
467
+ - "*/*; q=0.5, application/xml"
480
468
  Accept-Encoding:
481
469
  - gzip, deflate
482
470
  Content-Type:
483
471
  - application/json
484
472
  Content-Length:
485
- - '92'
473
+ - '93'
486
474
  User-Agent:
487
475
  - Ruby
488
476
  response:
@@ -491,7 +479,7 @@ http_interactions:
491
479
  message: OK
492
480
  headers:
493
481
  Date:
494
- - Tue, 04 Mar 2014 14:04:57 +0000
482
+ - Sat, 23 Aug 2014 09:44:06 +0000
495
483
  Connection:
496
484
  - keep-alive
497
485
  Content-Length:
@@ -499,29 +487,28 @@ http_interactions:
499
487
  Content-Type:
500
488
  - application/json
501
489
  Server:
502
- - bitcoin-json-rpc/v0.7.2-beta
490
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
503
491
  body:
504
- encoding: US-ASCII
505
- string: ! '{"result":"7f48a2dcc24d63d1db3ea4029a00e7b1dc22e5f31478313a3f2403b8838ca281","error":null,"id":"jsonrpc"}
506
-
507
- '
492
+ encoding: UTF-8
493
+ string: |
494
+ {"result":"46936bb5cf7f5aa6142e07cd6ef478d2b9dd29e689147379e47d6b2a85589888","error":null,"id":"jsonrpc"}
508
495
  http_version:
509
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
496
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
510
497
  - request:
511
498
  method: post
512
- uri: http://admin1:123@localhost:19001/
499
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
513
500
  body:
514
- encoding: US-ASCII
515
- string: ! '{"method":"sendfrom","params":["","mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv",11,0],"id":"jsonrpc"}'
501
+ encoding: UTF-8
502
+ string: '{"method":"sendfrom","params":["","myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE",0.1,0],"id":"jsonrpc"}'
516
503
  headers:
517
504
  Accept:
518
- - ! '*/*; q=0.5, application/xml'
505
+ - "*/*; q=0.5, application/xml"
519
506
  Accept-Encoding:
520
507
  - gzip, deflate
521
508
  Content-Type:
522
509
  - application/json
523
510
  Content-Length:
524
- - '92'
511
+ - '93'
525
512
  User-Agent:
526
513
  - Ruby
527
514
  response:
@@ -530,7 +517,7 @@ http_interactions:
530
517
  message: OK
531
518
  headers:
532
519
  Date:
533
- - Tue, 04 Mar 2014 14:04:57 +0000
520
+ - Sat, 23 Aug 2014 09:44:06 +0000
534
521
  Connection:
535
522
  - keep-alive
536
523
  Content-Length:
@@ -538,23 +525,22 @@ http_interactions:
538
525
  Content-Type:
539
526
  - application/json
540
527
  Server:
541
- - bitcoin-json-rpc/v0.7.2-beta
528
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
542
529
  body:
543
- encoding: US-ASCII
544
- string: ! '{"result":"9c4588556708a4e90634670fc7adc2750ec17d22dbb3edcaeb12472112c4b10d","error":null,"id":"jsonrpc"}
545
-
546
- '
530
+ encoding: UTF-8
531
+ string: |
532
+ {"result":"e1cba018e44863ad70bc95476a00f6d468ec96874cd2dd53a312eb1e6b0b85ef","error":null,"id":"jsonrpc"}
547
533
  http_version:
548
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
534
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
549
535
  - request:
550
536
  method: post
551
- uri: http://admin1:123@localhost:19001/
537
+ uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
552
538
  body:
553
- encoding: US-ASCII
554
- string: ! '{"method":"listtransactions","params":["1",10],"id":"jsonrpc"}'
539
+ encoding: UTF-8
540
+ string: '{"method":"listtransactions","params":["1",10],"id":"jsonrpc"}'
555
541
  headers:
556
542
  Accept:
557
- - ! '*/*; q=0.5, application/xml'
543
+ - "*/*; q=0.5, application/xml"
558
544
  Accept-Encoding:
559
545
  - gzip, deflate
560
546
  Content-Type:
@@ -569,20 +555,19 @@ http_interactions:
569
555
  message: OK
570
556
  headers:
571
557
  Date:
572
- - Tue, 04 Mar 2014 14:04:57 +0000
558
+ - Sat, 23 Aug 2014 09:44:06 +0000
573
559
  Connection:
574
560
  - keep-alive
575
561
  Content-Length:
576
- - '2443'
562
+ - '2651'
577
563
  Content-Type:
578
564
  - application/json
579
565
  Server:
580
- - bitcoin-json-rpc/v0.7.2-beta
566
+ - bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
581
567
  body:
582
- encoding: US-ASCII
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"}
584
-
585
- '
568
+ encoding: UTF-8
569
+ string: |
570
+ {"result":[{"account":"1","address":"myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE","category":"receive","amount":0.10000000,"confirmations":0,"txid":"6b19fd98ea796e78a918d02f8c8b9c8f0b84844d7a4eac1fab142e75e1ce110e","walletconflicts":[],"time":1408787046,"timereceived":1408787046},{"account":"1","address":"myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE","category":"receive","amount":0.10000000,"confirmations":0,"txid":"78029f5809b6c14eeb7243da8048771351f14f52a6ab38fd9c9693ec85ee773f","walletconflicts":[],"time":1408787046,"timereceived":1408787046},{"account":"1","address":"myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE","category":"receive","amount":0.10000000,"confirmations":0,"txid":"a5c1103daf3a6f5e4c15b750283b446d20e34e8dd91dde0e78070009d1f35506","walletconflicts":[],"time":1408787046,"timereceived":1408787046},{"account":"1","address":"myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE","category":"receive","amount":0.10000000,"confirmations":0,"txid":"f1304c7b3016d2c42a900775088d827e2ef7c8b6f59ea1f2fc45c57058d96483","walletconflicts":[],"time":1408787046,"timereceived":1408787046},{"account":"1","address":"myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE","category":"receive","amount":0.10000000,"confirmations":0,"txid":"1383ce3096e7d97db1b7ed755c4cee03da5a663b220bd9d581bb68eb0a0325e1","walletconflicts":[],"time":1408787046,"timereceived":1408787046},{"account":"1","address":"myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE","category":"receive","amount":0.10000000,"confirmations":0,"txid":"bcc21c9d7f1186333de6d5b88c9a75bf6e9a24442dcd5ddf2eea80bf8c5ba2fd","walletconflicts":[],"time":1408787046,"timereceived":1408787046},{"account":"1","address":"myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE","category":"receive","amount":0.10000000,"confirmations":0,"txid":"830c82dfed0dcffd2a5d0018e91b016b2266c6ea4753fdabef4cecda7468801c","walletconflicts":[],"time":1408787046,"timereceived":1408787046},{"account":"1","address":"myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE","category":"receive","amount":0.10000000,"confirmations":0,"txid":"0a7194ddba93c9512342113f66c9da9b1e60a470280dc68f3fe4ebf50153f241","walletconflicts":[],"time":1408787046,"timereceived":1408787046},{"account":"1","address":"myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE","category":"receive","amount":0.10000000,"confirmations":0,"txid":"46936bb5cf7f5aa6142e07cd6ef478d2b9dd29e689147379e47d6b2a85589888","walletconflicts":[],"time":1408787046,"timereceived":1408787046},{"account":"1","address":"myyRcCU1dfxwcFa6UJ53ixBbBENesP7jUE","category":"receive","amount":0.10000000,"confirmations":0,"txid":"e1cba018e44863ad70bc95476a00f6d468ec96874cd2dd53a312eb1e6b0b85ef","walletconflicts":[],"time":1408787046,"timereceived":1408787046}],"error":null,"id":"jsonrpc"}
586
571
  http_version:
587
- recorded_at: Tue, 04 Mar 2014 14:04:57 GMT
572
+ recorded_at: Sat, 23 Aug 2014 09:44:06 GMT
588
573
  recorded_with: VCR 2.8.0