bit_wallet 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/bit_wallet/accounts.rb +4 -20
- data/lib/bit_wallet/version.rb +1 -1
- data/spec/bit_wallet/account_spec.rb +2 -3
- data/spec/bit_wallet/accounts_spec.rb +1 -8
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_be_able_to_override_the_min_conf.yml +3 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_default_to_the_config_min_conf.yml +3 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_return_the_balance_of_the_account.yml +7 -83
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/should_default_to_list_10_transactions.yml +53 -91
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_6/should_list_the_6_most_recent_transactions.yml +41 -79
- 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 +14 -52
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/account_does_not_have_enough_money/should_fail_with_the_InsufficientFunds_error.yml +11 -49
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/should_send_money_to_the_given_address.yml +14 -52
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_many/should_send_the_amounts_of_money_to_the_specified_accounts.yml +17 -55
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/_total_received/should_return_the_total_amount_received_by_the_address.yml +3 -3
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/addresses/.yml +3 -3
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_be_assigned_that_name.yml +3 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_have_a_default_name.yml +3 -3
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/when_the_account_name_already_exists/should_return_that_same_address.yml +3 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/wallet/.yml +3 -3
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_new/should_create_a_new_BitWallet_Account_with_a_default_address.yml +3 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_with_balance/should_return_accounts_with_a_balance_0.yml +23 -61
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_move/should_move_funds_from_one_account_to_another.yml +12 -50
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_allow_overriding_of_the_transaction_limit.yml +53 -91
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_recent_transactions/should_return_the_most_recent_transactions_of_all_accounts_defaulting_to_10_transactions.yml +53 -91
- metadata +2 -10
- data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/name_is_nil/raises_an_error.yml +0 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/_includes_account_name_account_/should_return_true_if_the_array_includes_the_account.yml +0 -117
- data/spec/fixtures/vcr_cassettes/BitWallet_Accounts/wallet/.yml +0 -79
- data/spec/fixtures/vcr_cassettes/BitWallet_Wallet/_accounts/should_return_array_of_BitWallet_Accounts.yml +0 -79
@@ -1,43 +1,5 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '53'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Sat, 23 Aug 2014 09:43:44 +0000
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Content-Length:
|
30
|
-
- '56'
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Server:
|
34
|
-
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: |
|
38
|
-
{"result":{"":50.00000000},"error":null,"id":"jsonrpc"}
|
39
|
-
http_version:
|
40
|
-
recorded_at: Sat, 23 Aug 2014 09:43:44 GMT
|
41
3
|
- request:
|
42
4
|
method: post
|
43
5
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -61,7 +23,7 @@ http_interactions:
|
|
61
23
|
message: OK
|
62
24
|
headers:
|
63
25
|
Date:
|
64
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:45:49 +0000
|
65
27
|
Connection:
|
66
28
|
- keep-alive
|
67
29
|
Content-Length:
|
@@ -73,9 +35,9 @@ http_interactions:
|
|
73
35
|
body:
|
74
36
|
encoding: UTF-8
|
75
37
|
string: |
|
76
|
-
{"result":"
|
38
|
+
{"result":"mpbZVRUdivUX7u9Fn4iLKfTdsWnM4ixUwB","error":null,"id":"jsonrpc"}
|
77
39
|
http_version:
|
78
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:45:49 GMT
|
79
41
|
- request:
|
80
42
|
method: post
|
81
43
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -99,7 +61,7 @@ http_interactions:
|
|
99
61
|
message: OK
|
100
62
|
headers:
|
101
63
|
Date:
|
102
|
-
-
|
64
|
+
- Sun, 24 Aug 2014 06:45:50 +0000
|
103
65
|
Connection:
|
104
66
|
- keep-alive
|
105
67
|
Content-Length:
|
@@ -111,9 +73,9 @@ http_interactions:
|
|
111
73
|
body:
|
112
74
|
encoding: UTF-8
|
113
75
|
string: |
|
114
|
-
{"result":"
|
76
|
+
{"result":"mxV7WDMqCg4PChZJ2hx7pPwhZJTAoZiamC","error":null,"id":"jsonrpc"}
|
115
77
|
http_version:
|
116
|
-
recorded_at:
|
78
|
+
recorded_at: Sun, 24 Aug 2014 06:45:50 GMT
|
117
79
|
- request:
|
118
80
|
method: post
|
119
81
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -137,7 +99,7 @@ http_interactions:
|
|
137
99
|
message: OK
|
138
100
|
headers:
|
139
101
|
Date:
|
140
|
-
-
|
102
|
+
- Sun, 24 Aug 2014 06:45:50 +0000
|
141
103
|
Connection:
|
142
104
|
- keep-alive
|
143
105
|
Content-Length:
|
@@ -151,13 +113,13 @@ http_interactions:
|
|
151
113
|
string: |
|
152
114
|
{"result":0.00000000,"error":null,"id":"jsonrpc"}
|
153
115
|
http_version:
|
154
|
-
recorded_at:
|
116
|
+
recorded_at: Sun, 24 Aug 2014 06:45:50 GMT
|
155
117
|
- request:
|
156
118
|
method: post
|
157
119
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
158
120
|
body:
|
159
121
|
encoding: UTF-8
|
160
|
-
string: '{"method":"sendfrom","params":["","
|
122
|
+
string: '{"method":"sendfrom","params":["","mxV7WDMqCg4PChZJ2hx7pPwhZJTAoZiamC",5.5,0],"id":"jsonrpc"}'
|
161
123
|
headers:
|
162
124
|
Accept:
|
163
125
|
- "*/*; q=0.5, application/xml"
|
@@ -175,7 +137,7 @@ http_interactions:
|
|
175
137
|
message: OK
|
176
138
|
headers:
|
177
139
|
Date:
|
178
|
-
-
|
140
|
+
- Sun, 24 Aug 2014 06:45:50 +0000
|
179
141
|
Connection:
|
180
142
|
- keep-alive
|
181
143
|
Content-Length:
|
@@ -187,9 +149,9 @@ http_interactions:
|
|
187
149
|
body:
|
188
150
|
encoding: UTF-8
|
189
151
|
string: |
|
190
|
-
{"result":"
|
152
|
+
{"result":"80341c71d69c345c2e0cf652d335cb06c91b32b9bac34c340bfdc9cf39811df3","error":null,"id":"jsonrpc"}
|
191
153
|
http_version:
|
192
|
-
recorded_at:
|
154
|
+
recorded_at: Sun, 24 Aug 2014 06:45:50 GMT
|
193
155
|
- request:
|
194
156
|
method: post
|
195
157
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -213,7 +175,7 @@ http_interactions:
|
|
213
175
|
message: OK
|
214
176
|
headers:
|
215
177
|
Date:
|
216
|
-
-
|
178
|
+
- Sun, 24 Aug 2014 06:45:50 +0000
|
217
179
|
Connection:
|
218
180
|
- keep-alive
|
219
181
|
Content-Length:
|
@@ -227,5 +189,5 @@ http_interactions:
|
|
227
189
|
string: |
|
228
190
|
{"result":5.50000000,"error":null,"id":"jsonrpc"}
|
229
191
|
http_version:
|
230
|
-
recorded_at:
|
192
|
+
recorded_at: Sun, 24 Aug 2014 06:45:50 GMT
|
231
193
|
recorded_with: VCR 2.8.0
|
@@ -1,43 +1,5 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '53'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Sat, 23 Aug 2014 09:44:49 +0000
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Content-Length:
|
30
|
-
- '56'
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Server:
|
34
|
-
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: |
|
38
|
-
{"result":{"":50.00000000},"error":null,"id":"jsonrpc"}
|
39
|
-
http_version:
|
40
|
-
recorded_at: Sat, 23 Aug 2014 09:44:49 GMT
|
41
3
|
- request:
|
42
4
|
method: post
|
43
5
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -61,7 +23,7 @@ http_interactions:
|
|
61
23
|
message: OK
|
62
24
|
headers:
|
63
25
|
Date:
|
64
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:45:41 +0000
|
65
27
|
Connection:
|
66
28
|
- keep-alive
|
67
29
|
Content-Length:
|
@@ -73,9 +35,9 @@ http_interactions:
|
|
73
35
|
body:
|
74
36
|
encoding: UTF-8
|
75
37
|
string: |
|
76
|
-
{"result":"
|
38
|
+
{"result":"n4hAihMyHYQxpR6ULeQ2PEZfCjzkZLhf8V","error":null,"id":"jsonrpc"}
|
77
39
|
http_version:
|
78
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
|
79
41
|
- request:
|
80
42
|
method: post
|
81
43
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -99,7 +61,7 @@ http_interactions:
|
|
99
61
|
message: OK
|
100
62
|
headers:
|
101
63
|
Date:
|
102
|
-
-
|
64
|
+
- Sun, 24 Aug 2014 06:45:41 +0000
|
103
65
|
Connection:
|
104
66
|
- keep-alive
|
105
67
|
Content-Length:
|
@@ -111,9 +73,9 @@ http_interactions:
|
|
111
73
|
body:
|
112
74
|
encoding: UTF-8
|
113
75
|
string: |
|
114
|
-
{"result":"
|
76
|
+
{"result":"moR6hSXb8QaeFWHnpEMNcBdVaiZym737ow","error":null,"id":"jsonrpc"}
|
115
77
|
http_version:
|
116
|
-
recorded_at:
|
78
|
+
recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
|
117
79
|
- request:
|
118
80
|
method: post
|
119
81
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -137,7 +99,7 @@ http_interactions:
|
|
137
99
|
message: OK
|
138
100
|
headers:
|
139
101
|
Date:
|
140
|
-
-
|
102
|
+
- Sun, 24 Aug 2014 06:45:41 +0000
|
141
103
|
Connection:
|
142
104
|
- keep-alive
|
143
105
|
Content-Length:
|
@@ -149,15 +111,15 @@ http_interactions:
|
|
149
111
|
body:
|
150
112
|
encoding: UTF-8
|
151
113
|
string: |
|
152
|
-
{"result":"
|
114
|
+
{"result":"n1CKM5qG2aceMUjiVHSN47wa3NwibCLuaX","error":null,"id":"jsonrpc"}
|
153
115
|
http_version:
|
154
|
-
recorded_at:
|
116
|
+
recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
|
155
117
|
- request:
|
156
118
|
method: post
|
157
119
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
158
120
|
body:
|
159
121
|
encoding: UTF-8
|
160
|
-
string: '{"method":"sendmany","params":["",{"
|
122
|
+
string: '{"method":"sendmany","params":["",{"moR6hSXb8QaeFWHnpEMNcBdVaiZym737ow":0.4,"n1CKM5qG2aceMUjiVHSN47wa3NwibCLuaX":2.323},0],"id":"jsonrpc"}'
|
161
123
|
headers:
|
162
124
|
Accept:
|
163
125
|
- "*/*; q=0.5, application/xml"
|
@@ -175,7 +137,7 @@ http_interactions:
|
|
175
137
|
message: OK
|
176
138
|
headers:
|
177
139
|
Date:
|
178
|
-
-
|
140
|
+
- Sun, 24 Aug 2014 06:45:41 +0000
|
179
141
|
Connection:
|
180
142
|
- keep-alive
|
181
143
|
Content-Length:
|
@@ -187,9 +149,9 @@ http_interactions:
|
|
187
149
|
body:
|
188
150
|
encoding: UTF-8
|
189
151
|
string: |
|
190
|
-
{"result":"
|
152
|
+
{"result":"0b74b8c97dc3b2a860758f699d71c6803e656eb7840052e59c58a20a03b80593","error":null,"id":"jsonrpc"}
|
191
153
|
http_version:
|
192
|
-
recorded_at:
|
154
|
+
recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
|
193
155
|
- request:
|
194
156
|
method: post
|
195
157
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -213,7 +175,7 @@ http_interactions:
|
|
213
175
|
message: OK
|
214
176
|
headers:
|
215
177
|
Date:
|
216
|
-
-
|
178
|
+
- Sun, 24 Aug 2014 06:45:41 +0000
|
217
179
|
Connection:
|
218
180
|
- keep-alive
|
219
181
|
Content-Length:
|
@@ -227,7 +189,7 @@ http_interactions:
|
|
227
189
|
string: |
|
228
190
|
{"result":0.40000000,"error":null,"id":"jsonrpc"}
|
229
191
|
http_version:
|
230
|
-
recorded_at:
|
192
|
+
recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
|
231
193
|
- request:
|
232
194
|
method: post
|
233
195
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -251,7 +213,7 @@ http_interactions:
|
|
251
213
|
message: OK
|
252
214
|
headers:
|
253
215
|
Date:
|
254
|
-
-
|
216
|
+
- Sun, 24 Aug 2014 06:45:41 +0000
|
255
217
|
Connection:
|
256
218
|
- keep-alive
|
257
219
|
Content-Length:
|
@@ -265,5 +227,5 @@ http_interactions:
|
|
265
227
|
string: |
|
266
228
|
{"result":2.32300000,"error":null,"id":"jsonrpc"}
|
267
229
|
http_version:
|
268
|
-
recorded_at:
|
230
|
+
recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
|
269
231
|
recorded_with: VCR 2.8.0
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:45:34 +0000
|
27
27
|
Connection:
|
28
28
|
- keep-alive
|
29
29
|
Content-Length:
|
@@ -35,7 +35,7 @@ http_interactions:
|
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
37
|
string: |
|
38
|
-
{"result":"
|
38
|
+
{"result":"myaxL4iYhtHodsbCxaKBgPNsft8E1UgV3B","error":null,"id":"jsonrpc"}
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:45:34 GMT
|
41
41
|
recorded_with: VCR 2.8.0
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:46:25 +0000
|
27
27
|
Connection:
|
28
28
|
- keep-alive
|
29
29
|
Content-Length:
|
@@ -35,7 +35,7 @@ http_interactions:
|
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
37
|
string: |
|
38
|
-
{"result":"
|
38
|
+
{"result":"mu4f8kSTdWfLfKyUX6LgNMoCrbNN34kHkT","error":null,"id":"jsonrpc"}
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:46:26 GMT
|
41
41
|
recorded_with: VCR 2.8.0
|
@@ -1,81 +1,5 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '53'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Sat, 23 Aug 2014 09:45:11 +0000
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Content-Length:
|
30
|
-
- '56'
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Server:
|
34
|
-
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: |
|
38
|
-
{"result":{"":50.00000000},"error":null,"id":"jsonrpc"}
|
39
|
-
http_version:
|
40
|
-
recorded_at: Sat, 23 Aug 2014 09:45:11 GMT
|
41
|
-
- request:
|
42
|
-
method: post
|
43
|
-
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
44
|
-
body:
|
45
|
-
encoding: UTF-8
|
46
|
-
string: '{"method":"getnewaddress","params":[""],"id":"jsonrpc"}'
|
47
|
-
headers:
|
48
|
-
Accept:
|
49
|
-
- "*/*; q=0.5, application/xml"
|
50
|
-
Accept-Encoding:
|
51
|
-
- gzip, deflate
|
52
|
-
Content-Type:
|
53
|
-
- application/json
|
54
|
-
Content-Length:
|
55
|
-
- '55'
|
56
|
-
User-Agent:
|
57
|
-
- Ruby
|
58
|
-
response:
|
59
|
-
status:
|
60
|
-
code: 200
|
61
|
-
message: OK
|
62
|
-
headers:
|
63
|
-
Date:
|
64
|
-
- Sat, 23 Aug 2014 09:45:11 +0000
|
65
|
-
Connection:
|
66
|
-
- keep-alive
|
67
|
-
Content-Length:
|
68
|
-
- '76'
|
69
|
-
Content-Type:
|
70
|
-
- application/json
|
71
|
-
Server:
|
72
|
-
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
73
|
-
body:
|
74
|
-
encoding: UTF-8
|
75
|
-
string: |
|
76
|
-
{"result":"n3t6Us9CVE9khsNtGJGw2t8NGKEnVJSX3Z","error":null,"id":"jsonrpc"}
|
77
|
-
http_version:
|
78
|
-
recorded_at: Sat, 23 Aug 2014 09:45:11 GMT
|
79
3
|
- request:
|
80
4
|
method: post
|
81
5
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -99,7 +23,7 @@ http_interactions:
|
|
99
23
|
message: OK
|
100
24
|
headers:
|
101
25
|
Date:
|
102
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:46:40 +0000
|
103
27
|
Connection:
|
104
28
|
- keep-alive
|
105
29
|
Content-Length:
|
@@ -111,7 +35,7 @@ http_interactions:
|
|
111
35
|
body:
|
112
36
|
encoding: UTF-8
|
113
37
|
string: |
|
114
|
-
{"result":"
|
38
|
+
{"result":"mz8A8RePwGn7hTYkYrk7uyaaW8b5DGDXxQ","error":null,"id":"jsonrpc"}
|
115
39
|
http_version:
|
116
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:46:40 GMT
|
117
41
|
recorded_with: VCR 2.8.0
|
data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_have_a_default_name.yml
CHANGED
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:46:32 +0000
|
27
27
|
Connection:
|
28
28
|
- keep-alive
|
29
29
|
Content-Length:
|
@@ -35,7 +35,7 @@ http_interactions:
|
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
37
|
string: |
|
38
|
-
{"result":"
|
38
|
+
{"result":"mpXm8kjtNSba1qpW2ZVjQYmhQdCFJhqvpM","error":null,"id":"jsonrpc"}
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:46:33 GMT
|
41
41
|
recorded_with: VCR 2.8.0
|
@@ -1,81 +1,5 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '53'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Sat, 23 Aug 2014 09:45:19 +0000
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Content-Length:
|
30
|
-
- '56'
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Server:
|
34
|
-
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: |
|
38
|
-
{"result":{"":50.00000000},"error":null,"id":"jsonrpc"}
|
39
|
-
http_version:
|
40
|
-
recorded_at: Sat, 23 Aug 2014 09:45:19 GMT
|
41
|
-
- request:
|
42
|
-
method: post
|
43
|
-
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
44
|
-
body:
|
45
|
-
encoding: UTF-8
|
46
|
-
string: '{"method":"getnewaddress","params":[""],"id":"jsonrpc"}'
|
47
|
-
headers:
|
48
|
-
Accept:
|
49
|
-
- "*/*; q=0.5, application/xml"
|
50
|
-
Accept-Encoding:
|
51
|
-
- gzip, deflate
|
52
|
-
Content-Type:
|
53
|
-
- application/json
|
54
|
-
Content-Length:
|
55
|
-
- '55'
|
56
|
-
User-Agent:
|
57
|
-
- Ruby
|
58
|
-
response:
|
59
|
-
status:
|
60
|
-
code: 200
|
61
|
-
message: OK
|
62
|
-
headers:
|
63
|
-
Date:
|
64
|
-
- Sat, 23 Aug 2014 09:45:19 +0000
|
65
|
-
Connection:
|
66
|
-
- keep-alive
|
67
|
-
Content-Length:
|
68
|
-
- '76'
|
69
|
-
Content-Type:
|
70
|
-
- application/json
|
71
|
-
Server:
|
72
|
-
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
73
|
-
body:
|
74
|
-
encoding: UTF-8
|
75
|
-
string: |
|
76
|
-
{"result":"mwwmsFAZVKkHyRf2fNLsYX8FmCYxn9HK7w","error":null,"id":"jsonrpc"}
|
77
|
-
http_version:
|
78
|
-
recorded_at: Sat, 23 Aug 2014 09:45:19 GMT
|
79
3
|
- request:
|
80
4
|
method: post
|
81
5
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -99,7 +23,7 @@ http_interactions:
|
|
99
23
|
message: OK
|
100
24
|
headers:
|
101
25
|
Date:
|
102
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:46:47 +0000
|
103
27
|
Connection:
|
104
28
|
- keep-alive
|
105
29
|
Content-Length:
|
@@ -111,7 +35,7 @@ http_interactions:
|
|
111
35
|
body:
|
112
36
|
encoding: UTF-8
|
113
37
|
string: |
|
114
|
-
{"result":"
|
38
|
+
{"result":"mzZGnHq9GDB7hwdzPNHzY25gcD3aF6ueKT","error":null,"id":"jsonrpc"}
|
115
39
|
http_version:
|
116
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:46:47 GMT
|
117
41
|
recorded_with: VCR 2.8.0
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:47:26 +0000
|
27
27
|
Connection:
|
28
28
|
- keep-alive
|
29
29
|
Content-Length:
|
@@ -35,7 +35,7 @@ http_interactions:
|
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
37
|
string: |
|
38
|
-
{"result":"
|
38
|
+
{"result":"mxhGkc3MqB56Gd7BSpAPkvqVgNCL62h8BS","error":null,"id":"jsonrpc"}
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:47:26 GMT
|
41
41
|
recorded_with: VCR 2.8.0
|
@@ -1,81 +1,5 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"method":"listaccounts","params":[1],"id":"jsonrpc"}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '53'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Sat, 23 Aug 2014 09:42:47 +0000
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Content-Length:
|
30
|
-
- '56'
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Server:
|
34
|
-
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: |
|
38
|
-
{"result":{"":50.00000000},"error":null,"id":"jsonrpc"}
|
39
|
-
http_version:
|
40
|
-
recorded_at: Sat, 23 Aug 2014 09:42:47 GMT
|
41
|
-
- request:
|
42
|
-
method: post
|
43
|
-
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
44
|
-
body:
|
45
|
-
encoding: UTF-8
|
46
|
-
string: '{"method":"getnewaddress","params":[""],"id":"jsonrpc"}'
|
47
|
-
headers:
|
48
|
-
Accept:
|
49
|
-
- "*/*; q=0.5, application/xml"
|
50
|
-
Accept-Encoding:
|
51
|
-
- gzip, deflate
|
52
|
-
Content-Type:
|
53
|
-
- application/json
|
54
|
-
Content-Length:
|
55
|
-
- '55'
|
56
|
-
User-Agent:
|
57
|
-
- Ruby
|
58
|
-
response:
|
59
|
-
status:
|
60
|
-
code: 200
|
61
|
-
message: OK
|
62
|
-
headers:
|
63
|
-
Date:
|
64
|
-
- Sat, 23 Aug 2014 09:42:47 +0000
|
65
|
-
Connection:
|
66
|
-
- keep-alive
|
67
|
-
Content-Length:
|
68
|
-
- '76'
|
69
|
-
Content-Type:
|
70
|
-
- application/json
|
71
|
-
Server:
|
72
|
-
- bitcoin-json-rpc/v0.9.2.1-g354c0f3-beta
|
73
|
-
body:
|
74
|
-
encoding: UTF-8
|
75
|
-
string: |
|
76
|
-
{"result":"miSoxwCoDMsg9VHikpvXPhuuAMtUct5UQs","error":null,"id":"jsonrpc"}
|
77
|
-
http_version:
|
78
|
-
recorded_at: Sat, 23 Aug 2014 09:42:47 GMT
|
79
3
|
- request:
|
80
4
|
method: post
|
81
5
|
uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
|
@@ -99,7 +23,7 @@ http_interactions:
|
|
99
23
|
message: OK
|
100
24
|
headers:
|
101
25
|
Date:
|
102
|
-
-
|
26
|
+
- Sun, 24 Aug 2014 06:33:32 +0000
|
103
27
|
Connection:
|
104
28
|
- keep-alive
|
105
29
|
Content-Length:
|
@@ -111,7 +35,7 @@ http_interactions:
|
|
111
35
|
body:
|
112
36
|
encoding: UTF-8
|
113
37
|
string: |
|
114
|
-
{"result":"
|
38
|
+
{"result":"mqVntCvW3k1SC3roRxy5bHeMn5TUgtaMX2","error":null,"id":"jsonrpc"}
|
115
39
|
http_version:
|
116
|
-
recorded_at:
|
40
|
+
recorded_at: Sun, 24 Aug 2014 06:33:32 GMT
|
117
41
|
recorded_with: VCR 2.8.0
|