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.
Files changed (40) hide show
  1. checksums.yaml +8 -8
  2. data/CHANGELOG.md +4 -0
  3. data/bit_wallet.gemspec +1 -1
  4. data/lib/bit_wallet/version.rb +1 -1
  5. data/lib/bit_wallet/wallet.rb +0 -2
  6. data/spec/bit_wallet/accounts_spec.rb +32 -30
  7. data/spec/bit_wallet/wallet_spec.rb +48 -32
  8. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_be_able_to_override_the_min_conf.yml +15 -83
  9. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_default_to_the_config_min_conf.yml +15 -83
  10. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_return_the_balance_of_the_account.yml +23 -87
  11. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/should_default_to_list_10_transactions.yml +85 -129
  12. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_6/should_list_the_6_most_recent_transactions.yml +67 -117
  13. 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
  14. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/account_does_not_have_enough_money/should_fail_with_the_InsufficientFunds_error.yml +26 -90
  15. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/should_send_money_to_the_given_address.yml +29 -91
  16. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_many/should_send_the_amounts_of_money_to_the_specified_accounts.yml +30 -16
  17. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_total_received/should_return_the_total_amount_received_by_the_address.yml +6 -4
  18. data/spec/fixtures/vcr_cassettes/BitWallet_Account/addresses/.yml +6 -4
  19. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_be_assigned_that_name.yml +15 -83
  20. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_have_a_default_name.yml +6 -4
  21. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/when_the_account_name_already_exists/should_return_that_same_address.yml +15 -83
  22. data/spec/fixtures/vcr_cassettes/BitWallet_Account/wallet/.yml +6 -4
  23. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_includes_account_name_account_/should_return_true_if_the_array_includes_the_account.yml +15 -120
  24. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_new/should_create_a_new_BitWallet_Account_with_a_default_address.yml +15 -120
  25. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_with_balance/should_return_accounts_with_a_balance_0.yml +19 -370
  26. data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/wallet/.yml +11 -118
  27. data/spec/fixtures/vcr_cassettes/BitWallet_Address/_total_received/should_return_the_total_amount_received_by_the_address.yml +11 -7
  28. data/spec/fixtures/vcr_cassettes/BitWallet_Address/account/.yml +11 -7
  29. data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/address_given_already_exists/should_not_create_an_address.yml +6 -4
  30. data/spec/fixtures/vcr_cassettes/BitWallet_Address/on_initialization/no_address_is_given/should_create_an_address.yml +11 -7
  31. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/_new/with_address_string_given/should_return_an_Address_with_the_given_address_string.yml +6 -4
  32. 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
  33. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/account/.yml +6 -4
  34. data/spec/fixtures/vcr_cassettes/BitWallet_Addresses/new/.yml +11 -7
  35. data/spec/fixtures/vcr_cassettes/BitWallet_Transaction/on_initialization/should_be_able_to_take_a_bitcoind_hash.yml +15 -231
  36. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_accounts/should_return_array_of_BitWallet_Accounts.yml +11 -266
  37. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_move/should_move_funds_from_one_account_to_another.yml +25 -13
  38. data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_allow_overriding_of_the_transaction_limit.yml +82 -274
  39. 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
  40. metadata +4 -4
@@ -11,156 +11,10 @@ http_interactions:
11
11
  - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
- Content-Length:
15
- - '53'
16
- User-Agent:
17
- - Ruby
18
- response:
19
- status:
20
- code: 200
21
- message: OK
22
- headers:
23
- Date:
24
- - Sun, 07 Apr 2013 10:02:00 +0000
25
- Connection:
26
- - keep-alive
27
- Content-Length:
28
- - '175'
29
- Content-Type:
30
- - application/json
31
- Server:
32
- - bitcoin-json-rpc/v0.7.2-beta
33
- body:
34
- encoding: US-ASCII
35
- string: ! '{"result":{"":8380.28750000,"1":0.00000000,"accountname":0.00000000,"moneyd":0.00000000,"name":0.00000000,"nomoney":0.00000000,"nona":0.00000000},"error":null,"id":"jsonrpc"}
36
-
37
- '
38
- http_version:
39
- recorded_at: Sun, 07 Apr 2013 10:02:00 GMT
40
- - request:
41
- method: post
42
- uri: http://admin1:123@localhost:19001/
43
- body:
44
- encoding: US-ASCII
45
- string: ! '{"method":"getnewaddress","params":[""],"id":"jsonrpc"}'
46
- headers:
47
- Accept:
48
- - ! '*/*; q=0.5, application/xml'
49
- Accept-Encoding:
50
- - gzip, deflate
51
- Content-Length:
52
- - '55'
53
- User-Agent:
54
- - Ruby
55
- response:
56
- status:
57
- code: 200
58
- message: OK
59
- headers:
60
- Date:
61
- - Sun, 07 Apr 2013 10:02:00 +0000
62
- Connection:
63
- - keep-alive
64
- Content-Length:
65
- - '76'
66
- Content-Type:
67
- - application/json
68
- Server:
69
- - bitcoin-json-rpc/v0.7.2-beta
70
- body:
71
- encoding: US-ASCII
72
- string: ! '{"result":"mpWTVhpuScqHVvjK1Byy3eKHbMipNyrSpQ","error":null,"id":"jsonrpc"}
73
-
74
- '
75
- http_version:
76
- recorded_at: Sun, 07 Apr 2013 10:02:00 GMT
77
- - request:
78
- method: post
79
- uri: http://admin1:123@localhost:19001/
80
- body:
81
- encoding: US-ASCII
82
- string: ! '{"method":"getnewaddress","params":["1"],"id":"jsonrpc"}'
83
- headers:
84
- Accept:
85
- - ! '*/*; q=0.5, application/xml'
86
- Accept-Encoding:
87
- - 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:00 +0000
99
- Connection:
100
- - keep-alive
101
- Content-Length:
102
- - '76'
103
- Content-Type:
104
- - application/json
105
- Server:
106
- - bitcoin-json-rpc/v0.7.2-beta
107
- body:
108
- encoding: US-ASCII
109
- string: ! '{"result":"mkWYNCN7V6B9VYN4PUXVSoCEbbVfTQtxVi","error":null,"id":"jsonrpc"}
110
-
111
- '
112
- http_version:
113
- recorded_at: Sun, 07 Apr 2013 10:02:00 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
- Content-Length:
126
- - '66'
127
- User-Agent:
128
- - Ruby
129
- response:
130
- status:
131
- code: 200
132
- message: OK
133
- headers:
134
- Date:
135
- - Sun, 07 Apr 2013 10:02:00 +0000
136
- Connection:
137
- - keep-alive
138
- Content-Length:
139
- - '76'
140
14
  Content-Type:
141
15
  - application/json
142
- Server:
143
- - bitcoin-json-rpc/v0.7.2-beta
144
- body:
145
- encoding: US-ASCII
146
- string: ! '{"result":"mtsUHPqt7fhHNPeopMfGkbG9PRWAf8NTem","error":null,"id":"jsonrpc"}
147
-
148
- '
149
- http_version:
150
- recorded_at: Sun, 07 Apr 2013 10:02:00 GMT
151
- - request:
152
- method: post
153
- uri: http://admin1:123@localhost:19001/
154
- body:
155
- encoding: US-ASCII
156
- string: ! '{"method":"getnewaddress","params":["moneyd"],"id":"jsonrpc"}'
157
- headers:
158
- Accept:
159
- - ! '*/*; q=0.5, application/xml'
160
- Accept-Encoding:
161
- - gzip, deflate
162
16
  Content-Length:
163
- - '61'
17
+ - '53'
164
18
  User-Agent:
165
19
  - Ruby
166
20
  response:
@@ -169,72 +23,37 @@ http_interactions:
169
23
  message: OK
170
24
  headers:
171
25
  Date:
172
- - Sun, 07 Apr 2013 10:02:00 +0000
26
+ - Tue, 04 Mar 2014 14:06:00 +0000
173
27
  Connection:
174
28
  - keep-alive
175
29
  Content-Length:
176
- - '76'
30
+ - '58'
177
31
  Content-Type:
178
32
  - application/json
179
33
  Server:
180
34
  - bitcoin-json-rpc/v0.7.2-beta
181
35
  body:
182
36
  encoding: US-ASCII
183
- string: ! '{"result":"miU71EwMQe1DqxSW5r1A8pt4jhcjsmQSBs","error":null,"id":"jsonrpc"}
37
+ string: ! '{"result":{"":8800.00000000},"error":null,"id":"jsonrpc"}
184
38
 
185
39
  '
186
40
  http_version:
187
- recorded_at: Sun, 07 Apr 2013 10:02:00 GMT
41
+ recorded_at: Tue, 04 Mar 2014 14:06:00 GMT
188
42
  - request:
189
43
  method: post
190
44
  uri: http://admin1:123@localhost:19001/
191
45
  body:
192
46
  encoding: US-ASCII
193
- string: ! '{"method":"getnewaddress","params":["name"],"id":"jsonrpc"}'
47
+ string: ! '{"method":"getnewaddress","params":[""],"id":"jsonrpc"}'
194
48
  headers:
195
49
  Accept:
196
50
  - ! '*/*; q=0.5, application/xml'
197
51
  Accept-Encoding:
198
52
  - gzip, deflate
199
- Content-Length:
200
- - '59'
201
- User-Agent:
202
- - Ruby
203
- response:
204
- status:
205
- code: 200
206
- message: OK
207
- headers:
208
- Date:
209
- - Sun, 07 Apr 2013 10:02:00 +0000
210
- Connection:
211
- - keep-alive
212
- Content-Length:
213
- - '76'
214
53
  Content-Type:
215
54
  - application/json
216
- Server:
217
- - bitcoin-json-rpc/v0.7.2-beta
218
- body:
219
- encoding: US-ASCII
220
- string: ! '{"result":"mz6ztfCJcptnM1CdHoq1x793vPfmszk4dc","error":null,"id":"jsonrpc"}
221
-
222
- '
223
- http_version:
224
- recorded_at: Sun, 07 Apr 2013 10:02:00 GMT
225
- - request:
226
- method: post
227
- uri: http://admin1:123@localhost:19001/
228
- body:
229
- encoding: US-ASCII
230
- string: ! '{"method":"getnewaddress","params":["nomoney"],"id":"jsonrpc"}'
231
- headers:
232
- Accept:
233
- - ! '*/*; q=0.5, application/xml'
234
- Accept-Encoding:
235
- - gzip, deflate
236
55
  Content-Length:
237
- - '62'
56
+ - '55'
238
57
  User-Agent:
239
58
  - Ruby
240
59
  response:
@@ -243,7 +62,7 @@ http_interactions:
243
62
  message: OK
244
63
  headers:
245
64
  Date:
246
- - Sun, 07 Apr 2013 10:02:00 +0000
65
+ - Tue, 04 Mar 2014 14:06:00 +0000
247
66
  Connection:
248
67
  - keep-alive
249
68
  Content-Length:
@@ -254,59 +73,24 @@ http_interactions:
254
73
  - bitcoin-json-rpc/v0.7.2-beta
255
74
  body:
256
75
  encoding: US-ASCII
257
- string: ! '{"result":"mhc2dxaTXqfCrxuTtKsPYfg5hFW4wKsiWB","error":null,"id":"jsonrpc"}
76
+ string: ! '{"result":"mi487X6jj8ggY6FAoG8ibv7qomcq9TXL1U","error":null,"id":"jsonrpc"}
258
77
 
259
78
  '
260
79
  http_version:
261
- recorded_at: Sun, 07 Apr 2013 10:02:00 GMT
80
+ recorded_at: Tue, 04 Mar 2014 14:06:00 GMT
262
81
  - request:
263
82
  method: post
264
83
  uri: http://admin1:123@localhost:19001/
265
84
  body:
266
85
  encoding: US-ASCII
267
- string: ! '{"method":"getnewaddress","params":["nona"],"id":"jsonrpc"}'
86
+ string: ! '{"method":"getnewaddress","params":["numba"],"id":"jsonrpc"}'
268
87
  headers:
269
88
  Accept:
270
89
  - ! '*/*; q=0.5, application/xml'
271
90
  Accept-Encoding:
272
91
  - gzip, deflate
273
- Content-Length:
274
- - '59'
275
- User-Agent:
276
- - Ruby
277
- response:
278
- status:
279
- code: 200
280
- message: OK
281
- headers:
282
- Date:
283
- - Sun, 07 Apr 2013 10:02:00 +0000
284
- Connection:
285
- - keep-alive
286
- Content-Length:
287
- - '76'
288
92
  Content-Type:
289
93
  - application/json
290
- Server:
291
- - bitcoin-json-rpc/v0.7.2-beta
292
- body:
293
- encoding: US-ASCII
294
- string: ! '{"result":"muWJ8ogoj2oAVeucRJ6pJbjATsTfspLH49","error":null,"id":"jsonrpc"}
295
-
296
- '
297
- http_version:
298
- recorded_at: Sun, 07 Apr 2013 10:02:00 GMT
299
- - request:
300
- method: post
301
- uri: http://admin1:123@localhost:19001/
302
- body:
303
- encoding: US-ASCII
304
- string: ! '{"method":"getnewaddress","params":["numba"],"id":"jsonrpc"}'
305
- headers:
306
- Accept:
307
- - ! '*/*; q=0.5, application/xml'
308
- Accept-Encoding:
309
- - gzip, deflate
310
94
  Content-Length:
311
95
  - '60'
312
96
  User-Agent:
@@ -317,7 +101,7 @@ http_interactions:
317
101
  message: OK
318
102
  headers:
319
103
  Date:
320
- - Sun, 07 Apr 2013 10:02:00 +0000
104
+ - Tue, 04 Mar 2014 14:06:00 +0000
321
105
  Connection:
322
106
  - keep-alive
323
107
  Content-Length:
@@ -328,9 +112,9 @@ http_interactions:
328
112
  - bitcoin-json-rpc/v0.7.2-beta
329
113
  body:
330
114
  encoding: US-ASCII
331
- string: ! '{"result":"mgrCFBzrhUQdy17tcJFcwCUc5Q2nh8B6MU","error":null,"id":"jsonrpc"}
115
+ string: ! '{"result":"mkwWW2pnqFkDfH5esHxXBNARTN7GnUDpsv","error":null,"id":"jsonrpc"}
332
116
 
333
117
  '
334
118
  http_version:
335
- recorded_at: Sun, 07 Apr 2013 10:02:00 GMT
336
- recorded_with: VCR 2.4.0
119
+ recorded_at: Tue, 04 Mar 2014 14:06:00 GMT
120
+ recorded_with: VCR 2.8.0
@@ -11,230 +11,10 @@ http_interactions:
11
11
  - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
- Content-Length:
15
- - '53'
16
- User-Agent:
17
- - Ruby
18
- response:
19
- status:
20
- code: 200
21
- message: OK
22
- headers:
23
- Date:
24
- - Sun, 07 Apr 2013 10:02:02 +0000
25
- Connection:
26
- - keep-alive
27
- Content-Length:
28
- - '194'
29
- Content-Type:
30
- - application/json
31
- Server:
32
- - bitcoin-json-rpc/v0.7.2-beta
33
- body:
34
- encoding: US-ASCII
35
- string: ! '{"result":{"":8380.28750000,"1":0.00000000,"accountname":0.00000000,"moneyd":0.00000000,"name":0.00000000,"nomoney":0.00000000,"nona":0.00000000,"numba":0.00000000},"error":null,"id":"jsonrpc"}
36
-
37
- '
38
- http_version:
39
- recorded_at: Sun, 07 Apr 2013 10:02:02 GMT
40
- - request:
41
- method: post
42
- uri: http://admin1:123@localhost:19001/
43
- body:
44
- encoding: US-ASCII
45
- string: ! '{"method":"getnewaddress","params":[""],"id":"jsonrpc"}'
46
- headers:
47
- Accept:
48
- - ! '*/*; q=0.5, application/xml'
49
- Accept-Encoding:
50
- - gzip, deflate
51
- Content-Length:
52
- - '55'
53
- User-Agent:
54
- - Ruby
55
- response:
56
- status:
57
- code: 200
58
- message: OK
59
- headers:
60
- Date:
61
- - Sun, 07 Apr 2013 10:02:02 +0000
62
- Connection:
63
- - keep-alive
64
- Content-Length:
65
- - '76'
66
- Content-Type:
67
- - application/json
68
- Server:
69
- - bitcoin-json-rpc/v0.7.2-beta
70
- body:
71
- encoding: US-ASCII
72
- string: ! '{"result":"mhtidM38Mc8Yd5uHMMfwh3HtoPEh8Ydbqv","error":null,"id":"jsonrpc"}
73
-
74
- '
75
- http_version:
76
- recorded_at: Sun, 07 Apr 2013 10:02:02 GMT
77
- - request:
78
- method: post
79
- uri: http://admin1:123@localhost:19001/
80
- body:
81
- encoding: US-ASCII
82
- string: ! '{"method":"getnewaddress","params":["1"],"id":"jsonrpc"}'
83
- headers:
84
- Accept:
85
- - ! '*/*; q=0.5, application/xml'
86
- Accept-Encoding:
87
- - 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:02 +0000
99
- Connection:
100
- - keep-alive
101
- Content-Length:
102
- - '76'
103
- Content-Type:
104
- - application/json
105
- Server:
106
- - bitcoin-json-rpc/v0.7.2-beta
107
- body:
108
- encoding: US-ASCII
109
- string: ! '{"result":"n1B4TnfG19ZaLcfNQL6hhXfJAMtcZBgntd","error":null,"id":"jsonrpc"}
110
-
111
- '
112
- http_version:
113
- recorded_at: Sun, 07 Apr 2013 10:02:02 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
- Content-Length:
126
- - '66'
127
- User-Agent:
128
- - Ruby
129
- response:
130
- status:
131
- code: 200
132
- message: OK
133
- headers:
134
- Date:
135
- - Sun, 07 Apr 2013 10:02:02 +0000
136
- Connection:
137
- - keep-alive
138
- Content-Length:
139
- - '76'
140
- Content-Type:
141
- - application/json
142
- Server:
143
- - bitcoin-json-rpc/v0.7.2-beta
144
- body:
145
- encoding: US-ASCII
146
- string: ! '{"result":"moe7dAKbLJSe72MxdBe7oBkqaWjAmdpjxH","error":null,"id":"jsonrpc"}
147
-
148
- '
149
- http_version:
150
- recorded_at: Sun, 07 Apr 2013 10:02:02 GMT
151
- - request:
152
- method: post
153
- uri: http://admin1:123@localhost:19001/
154
- body:
155
- encoding: US-ASCII
156
- string: ! '{"method":"getnewaddress","params":["moneyd"],"id":"jsonrpc"}'
157
- headers:
158
- Accept:
159
- - ! '*/*; q=0.5, application/xml'
160
- Accept-Encoding:
161
- - 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:02 +0000
173
- Connection:
174
- - keep-alive
175
- Content-Length:
176
- - '76'
177
14
  Content-Type:
178
15
  - application/json
179
- Server:
180
- - bitcoin-json-rpc/v0.7.2-beta
181
- body:
182
- encoding: US-ASCII
183
- string: ! '{"result":"mnK9rhsiMAT5oj5mCiBzHm1PQhbU94zUj2","error":null,"id":"jsonrpc"}
184
-
185
- '
186
- http_version:
187
- recorded_at: Sun, 07 Apr 2013 10:02:02 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
16
  Content-Length:
200
- - '59'
201
- User-Agent:
202
- - Ruby
203
- response:
204
- status:
205
- code: 200
206
- message: OK
207
- headers:
208
- Date:
209
- - Sun, 07 Apr 2013 10:02:02 +0000
210
- Connection:
211
- - keep-alive
212
- Content-Length:
213
- - '76'
214
- Content-Type:
215
- - application/json
216
- Server:
217
- - bitcoin-json-rpc/v0.7.2-beta
218
- body:
219
- encoding: US-ASCII
220
- string: ! '{"result":"mhh3tHZSx6CQoub9FV2DKX5jeKEbjGhuhx","error":null,"id":"jsonrpc"}
221
-
222
- '
223
- http_version:
224
- recorded_at: Sun, 07 Apr 2013 10:02:02 GMT
225
- - request:
226
- method: post
227
- uri: http://admin1:123@localhost:19001/
228
- body:
229
- encoding: US-ASCII
230
- string: ! '{"method":"getnewaddress","params":["nomoney"],"id":"jsonrpc"}'
231
- headers:
232
- Accept:
233
- - ! '*/*; q=0.5, application/xml'
234
- Accept-Encoding:
235
- - gzip, deflate
236
- Content-Length:
237
- - '62'
17
+ - '53'
238
18
  User-Agent:
239
19
  - Ruby
240
20
  response:
@@ -243,72 +23,37 @@ http_interactions:
243
23
  message: OK
244
24
  headers:
245
25
  Date:
246
- - Sun, 07 Apr 2013 10:02:02 +0000
26
+ - Tue, 04 Mar 2014 14:05:44 +0000
247
27
  Connection:
248
28
  - keep-alive
249
29
  Content-Length:
250
- - '76'
30
+ - '58'
251
31
  Content-Type:
252
32
  - application/json
253
33
  Server:
254
34
  - bitcoin-json-rpc/v0.7.2-beta
255
35
  body:
256
36
  encoding: US-ASCII
257
- string: ! '{"result":"n3r6Esce3EFUVmHAErNU5erjp7MasYVjnt","error":null,"id":"jsonrpc"}
37
+ string: ! '{"result":{"":8800.00000000},"error":null,"id":"jsonrpc"}
258
38
 
259
39
  '
260
40
  http_version:
261
- recorded_at: Sun, 07 Apr 2013 10:02:02 GMT
41
+ recorded_at: Tue, 04 Mar 2014 14:05:44 GMT
262
42
  - request:
263
43
  method: post
264
44
  uri: http://admin1:123@localhost:19001/
265
45
  body:
266
46
  encoding: US-ASCII
267
- string: ! '{"method":"getnewaddress","params":["nona"],"id":"jsonrpc"}'
47
+ string: ! '{"method":"getnewaddress","params":[""],"id":"jsonrpc"}'
268
48
  headers:
269
49
  Accept:
270
50
  - ! '*/*; q=0.5, application/xml'
271
51
  Accept-Encoding:
272
52
  - gzip, deflate
273
- Content-Length:
274
- - '59'
275
- User-Agent:
276
- - Ruby
277
- response:
278
- status:
279
- code: 200
280
- message: OK
281
- headers:
282
- Date:
283
- - Sun, 07 Apr 2013 10:02:02 +0000
284
- Connection:
285
- - keep-alive
286
- Content-Length:
287
- - '76'
288
53
  Content-Type:
289
54
  - application/json
290
- Server:
291
- - bitcoin-json-rpc/v0.7.2-beta
292
- body:
293
- encoding: US-ASCII
294
- string: ! '{"result":"mfmcRqM5jQtS2Tv3mJQerif1dR9VYJN22h","error":null,"id":"jsonrpc"}
295
-
296
- '
297
- http_version:
298
- recorded_at: Sun, 07 Apr 2013 10:02:02 GMT
299
- - request:
300
- method: post
301
- uri: http://admin1:123@localhost:19001/
302
- body:
303
- encoding: US-ASCII
304
- string: ! '{"method":"getnewaddress","params":["numba"],"id":"jsonrpc"}'
305
- headers:
306
- Accept:
307
- - ! '*/*; q=0.5, application/xml'
308
- Accept-Encoding:
309
- - gzip, deflate
310
55
  Content-Length:
311
- - '60'
56
+ - '55'
312
57
  User-Agent:
313
58
  - Ruby
314
59
  response:
@@ -317,7 +62,7 @@ http_interactions:
317
62
  message: OK
318
63
  headers:
319
64
  Date:
320
- - Sun, 07 Apr 2013 10:02:02 +0000
65
+ - Tue, 04 Mar 2014 14:05:44 +0000
321
66
  Connection:
322
67
  - keep-alive
323
68
  Content-Length:
@@ -328,9 +73,9 @@ http_interactions:
328
73
  - bitcoin-json-rpc/v0.7.2-beta
329
74
  body:
330
75
  encoding: US-ASCII
331
- string: ! '{"result":"mqUK6768wUY33kG5kzUx7CS8S2btSXDMQ8","error":null,"id":"jsonrpc"}
76
+ string: ! '{"result":"mi487X6jj8ggY6FAoG8ibv7qomcq9TXL1U","error":null,"id":"jsonrpc"}
332
77
 
333
78
  '
334
79
  http_version:
335
- recorded_at: Sun, 07 Apr 2013 10:02:02 GMT
336
- recorded_with: VCR 2.4.0
80
+ recorded_at: Tue, 04 Mar 2014 14:05:44 GMT
81
+ recorded_with: VCR 2.8.0