radiator 0.4.7 → 0.4.8.pre.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/Rakefile +50 -20
  4. data/lib/radiator.rb +3 -1
  5. data/lib/radiator/api.rb +83 -10
  6. data/lib/radiator/bridge.rb +34 -0
  7. data/lib/radiator/chain_config.rb +9 -2
  8. data/lib/radiator/database_api.rb +1 -1
  9. data/lib/radiator/follow_api.rb +1 -1
  10. data/lib/radiator/market_history_api.rb +1 -1
  11. data/lib/radiator/operation.rb +3 -2
  12. data/lib/radiator/operation_types.rb +43 -27
  13. data/lib/radiator/ssc/base_steem_smart_contract_rpc.rb +1 -1
  14. data/lib/radiator/stream.rb +15 -6
  15. data/lib/radiator/transaction.rb +28 -1
  16. data/lib/radiator/type/amount.rb +26 -51
  17. data/lib/radiator/type/price.rb +2 -2
  18. data/lib/radiator/version.rb +1 -1
  19. data/radiator.gemspec +13 -11
  20. data/test/fixtures/empty.json +1 -0
  21. data/test/fixtures/error.json +29 -0
  22. data/test/fixtures/follow_api_get_followers.json +1 -0
  23. data/test/fixtures/get_account.json +165 -0
  24. data/test/fixtures/get_account_count.json +1 -0
  25. data/test/fixtures/get_account_references.json +1 -0
  26. data/test/fixtures/get_block.json +193 -0
  27. data/test/fixtures/get_dynamic_global_properties.json +32 -0
  28. data/test/fixtures/get_feed_history.json +684 -0
  29. data/test/fixtures/get_hardfork_version.json +1 -0
  30. data/test/fixtures/get_key_references.json +14 -0
  31. data/test/fixtures/get_stats_for_time.json +57 -0
  32. data/test/fixtures/get_vesting_delegation.json +936 -0
  33. data/test/fixtures/golos_get_dynamic_global_properties.json +32 -0
  34. data/test/fixtures/market_history_api_get_market_history_buckets.json +1 -0
  35. data/test/fixtures/market_history_api_get_order_book.json +109 -0
  36. data/test/fixtures/market_history_api_get_recent_trades.json +55 -0
  37. data/test/fixtures/market_history_api_get_ticker.json +11 -0
  38. data/test/fixtures/market_history_api_get_volume.json +1 -0
  39. data/test/fixtures/null.json +1 -0
  40. data/test/fixtures/vcr_cassettes/account_by_key_api_all_methods.yml +525 -0
  41. data/test/fixtures/vcr_cassettes/account_by_key_api_jsonrpc.yml +52 -0
  42. data/test/fixtures/vcr_cassettes/all_methods.yml +18155 -0
  43. data/test/fixtures/vcr_cassettes/api_all_methods.yml +13254 -0
  44. data/test/fixtures/vcr_cassettes/base_per_debt.yml +4946 -0
  45. data/test/fixtures/vcr_cassettes/base_per_mvest.yml +3969 -0
  46. data/test/fixtures/vcr_cassettes/block_time.yml +3322 -0
  47. data/test/fixtures/vcr_cassettes/broadcast_transaction.yml +1186 -0
  48. data/test/fixtures/vcr_cassettes/condenser_all_all_methods.yml +13297 -0
  49. data/test/fixtures/vcr_cassettes/expiration_initialize.yml +3428 -0
  50. data/test/fixtures/vcr_cassettes/find_account.yml +3681 -0
  51. data/test/fixtures/vcr_cassettes/find_block.yml +3589 -0
  52. data/test/fixtures/vcr_cassettes/find_comment.yml +11464 -0
  53. data/test/fixtures/vcr_cassettes/follow_api_jsonrpc.yml +52 -0
  54. data/test/fixtures/vcr_cassettes/get_account_count.yml +575 -0
  55. data/test/fixtures/vcr_cassettes/get_account_references.yml +608 -0
  56. data/test/fixtures/vcr_cassettes/get_accounts.yml +674 -0
  57. data/test/fixtures/vcr_cassettes/get_accounts_no_argument.yml +608 -0
  58. data/test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml +661 -0
  59. data/test/fixtures/vcr_cassettes/get_feed_history.yml +1106 -0
  60. data/test/fixtures/vcr_cassettes/get_hardfork_version.yml +577 -0
  61. data/test/fixtures/vcr_cassettes/get_key_references.yml +987 -0
  62. data/test/fixtures/vcr_cassettes/get_market_history.yml +1043 -0
  63. data/test/fixtures/vcr_cassettes/get_market_history_buckets.yml +1043 -0
  64. data/test/fixtures/vcr_cassettes/get_order_book.yml +1091 -0
  65. data/test/fixtures/vcr_cassettes/get_recent_trades.yml +1043 -0
  66. data/test/fixtures/vcr_cassettes/get_ticker.yml +1047 -0
  67. data/test/fixtures/vcr_cassettes/get_trade_history.yml +1049 -0
  68. data/test/fixtures/vcr_cassettes/get_vesting_delegations.yml +523 -0
  69. data/test/fixtures/vcr_cassettes/get_volume.yml +1051 -0
  70. data/test/fixtures/vcr_cassettes/get_witness_by_account.yml +575 -0
  71. data/test/fixtures/vcr_cassettes/look_up_witnesses.yml +523 -0
  72. data/test/fixtures/vcr_cassettes/market_history_api_all_methods.yml +4373 -0
  73. data/test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml +1288 -0
  74. data/test/fixtures/vcr_cassettes/properties.yml +3627 -0
  75. data/test/fixtures/vcr_cassettes/recover_transaction.yml +1099 -0
  76. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml +92 -0
  77. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml +90 -0
  78. data/test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml +91 -0
  79. data/test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml +92 -0
  80. data/test/fixtures/vcr_cassettes/ssc_contracts_contract.yml +366 -0
  81. data/test/fixtures/vcr_cassettes/ssc_contracts_find.yml +91 -0
  82. data/test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml +89 -0
  83. data/test/fixtures/vcr_cassettes/stream_jsonrpc.yml +8253 -0
  84. data/test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml +3176 -0
  85. data/test/fixtures/vcr_cassettes/transaction_jsonrpc.yml +151 -0
  86. data/test/fixtures/vcr_cassettes/unknown_chain_id.yml +3343 -0
  87. data/test/fixtures/vcr_cassettes/valid_chains.yml +3124 -0
  88. data/test/radiator/account_by_key_api_test.rb +46 -0
  89. data/test/radiator/api_test.rb +135 -0
  90. data/test/radiator/chain_stats_api_test.rb +49 -0
  91. data/test/radiator/chain_test.rb +153 -0
  92. data/test/radiator/condenser_api_test.rb +48 -0
  93. data/test/radiator/follow_api_test.rb +48 -0
  94. data/test/radiator/market_history_api_test.rb +100 -0
  95. data/test/radiator/network_broadcast_api_test.rb +48 -0
  96. data/test/radiator/operation_test.rb +117 -0
  97. data/test/radiator/ssc/blockchain_test.rb +58 -0
  98. data/test/radiator/ssc/contracts_test.rb +65 -0
  99. data/test/radiator/stream_test.rb +48 -0
  100. data/test/radiator/tag_api_test.rb +40 -0
  101. data/test/radiator/transaction_test.rb +755 -0
  102. data/test/test_helper.rb +66 -0
  103. metadata +182 -73
  104. data/.codeclimate.yml +0 -19
  105. data/.gitignore +0 -52
  106. data/.travis.yml +0 -23
  107. data/gource.sh +0 -8
  108. data/images/Anthony Martin.png +0 -0
  109. data/images/Marvin Hofmann.jpg +0 -0
  110. data/images/Marvin Hofmann.png +0 -0
  111. data/lib/steem.rb +0 -17
@@ -0,0 +1,32 @@
1
+ {
2
+ "id":1,
3
+ "result":{
4
+ "id":0,
5
+ "head_block_number":3878003,
6
+ "head_block_id":"003b2c7300493e0863be73122a58bf850de5e4fa",
7
+ "time":"2017-03-02T07:51:45",
8
+ "current_witness":"arcange",
9
+ "total_pow":185409,
10
+ "num_pow_witnesses":172,
11
+ "virtual_supply":"120216782.774 GOLOS",
12
+ "current_supply":"118814713.727 GOLOS",
13
+ "confidential_supply":"0.000 GOLOS",
14
+ "current_sbd_supply":"935180.055 GBG",
15
+ "confidential_sbd_supply":"0.000 GBG",
16
+ "total_vesting_fund_steem":"117448867.189 GOLOS",
17
+ "total_vesting_shares":"454446464094.889234 GESTS",
18
+ "total_reward_fund_steem":"76791.358 GOLOS",
19
+ "total_reward_shares2":"1100131667315923575961150326399",
20
+ "sbd_interest_rate":1000,
21
+ "sbd_print_rate":10000,
22
+ "average_block_size":495,
23
+ "maximum_block_size":65536,
24
+ "current_aslot":3884235,
25
+ "recent_slots_filled":"340282366920938463463374607431768211455",
26
+ "participation_count":128,
27
+ "last_irreversible_block_num":3877988,
28
+ "max_virtual_bandwidth":"5986734968066277376",
29
+ "current_reserve_ratio":20000,
30
+ "vote_regeneration_per_day":40
31
+ }
32
+ }
@@ -0,0 +1 @@
1
+ {"id":1,"result":[15,60,300,3600,86400]}
@@ -0,0 +1,109 @@
1
+ {
2
+ "id":1,
3
+ "result":{
4
+ "bids":[
5
+ {
6
+ "price":"0.87689393939393945",
7
+ "steem":528,
8
+ "sbd":463
9
+ },
10
+ {
11
+ "price":"0.87100520624749700",
12
+ "steem":49940,
13
+ "sbd":43498
14
+ },
15
+ {
16
+ "price":"0.87000000000000000",
17
+ "steem":30000,
18
+ "sbd":26100
19
+ },
20
+ {
21
+ "price":"0.85200293335777788",
22
+ "steem":43636,
23
+ "sbd":37178
24
+ },
25
+ {
26
+ "price":"0.85099207002072985",
27
+ "steem":60782,
28
+ "sbd":51725
29
+ },
30
+ {
31
+ "price":"0.84999999999999998",
32
+ "steem":15000,
33
+ "sbd":12750
34
+ },
35
+ {
36
+ "price":"0.80078380143696937",
37
+ "steem":1531,
38
+ "sbd":1226
39
+ },
40
+ {
41
+ "price":"0.80000000000000004",
42
+ "steem":500000,
43
+ "sbd":400000
44
+ },
45
+ {
46
+ "price":"0.79000000000000004",
47
+ "steem":550000,
48
+ "sbd":434500
49
+ },
50
+ {
51
+ "price":"0.78000000000000003",
52
+ "steem":600000,
53
+ "sbd":468000
54
+ }
55
+ ],
56
+ "asks":[
57
+ {
58
+ "price":"0.91933333333333334",
59
+ "steem":3000,
60
+ "sbd":2758
61
+ },
62
+ {
63
+ "price":"0.91950113378684817",
64
+ "steem":1764,
65
+ "sbd":1622
66
+ },
67
+ {
68
+ "price":"0.91999970552942134",
69
+ "steem":135837,
70
+ "sbd":124970
71
+ },
72
+ {
73
+ "price":"0.93863196764550727",
74
+ "steem":371,
75
+ "sbd":348
76
+ },
77
+ {
78
+ "price":"0.94070080862533689",
79
+ "steem":371,
80
+ "sbd":349
81
+ },
82
+ {
83
+ "price":"0.94299999999999995",
84
+ "steem":19812,
85
+ "sbd":18682
86
+ },
87
+ {
88
+ "price":"0.94379114642451756",
89
+ "steem":44050,
90
+ "sbd":41574
91
+ },
92
+ {
93
+ "price":"0.94385057471264366",
94
+ "steem":174000,
95
+ "sbd":164230
96
+ },
97
+ {
98
+ "price":"0.94448136289494344",
99
+ "steem":16553,
100
+ "sbd":15634
101
+ },
102
+ {
103
+ "price":"0.95000000000000007",
104
+ "steem":164000,
105
+ "sbd":155800
106
+ }
107
+ ]
108
+ }
109
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "id":1,
3
+ "result":[
4
+ {
5
+ "date":"2016-09-08T05:21:51",
6
+ "current_pays":"16.311 STEEM",
7
+ "open_pays":"15.000 SBD"
8
+ },
9
+ {
10
+ "date":"2016-09-08T05:17:18",
11
+ "current_pays":"5.316 STEEM",
12
+ "open_pays":"5.000 SBD"
13
+ },
14
+ {
15
+ "date":"2016-09-08T04:07:42",
16
+ "current_pays":"0.178 SBD",
17
+ "open_pays":"0.188 STEEM"
18
+ },
19
+ {
20
+ "date":"2016-09-08T03:41:21",
21
+ "current_pays":"0.535 SBD",
22
+ "open_pays":"0.567 STEEM"
23
+ },
24
+ {
25
+ "date":"2016-09-08T03:40:36",
26
+ "current_pays":"0.181 SBD",
27
+ "open_pays":"0.191 STEEM"
28
+ },
29
+ {
30
+ "date":"2016-09-08T03:09:51",
31
+ "current_pays":"0.064 SBD",
32
+ "open_pays":"0.081 STEEM"
33
+ },
34
+ {
35
+ "date":"2016-09-08T03:09:36",
36
+ "current_pays":"1.040 SBD",
37
+ "open_pays":"1.298 STEEM"
38
+ },
39
+ {
40
+ "date":"2016-09-08T03:09:24",
41
+ "current_pays":"1.021 SBD",
42
+ "open_pays":"1.274 STEEM"
43
+ },
44
+ {
45
+ "date":"2016-09-08T03:09:18",
46
+ "current_pays":"1.000 STEEM",
47
+ "open_pays":"0.801 SBD"
48
+ },
49
+ {
50
+ "date":"2016-09-08T03:09:18",
51
+ "current_pays":"2.000 STEEM",
52
+ "open_pays":"1.602 SBD"
53
+ }
54
+ ]
55
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id":1,
3
+ "result":{
4
+ "latest":"0.94055680963130173",
5
+ "lowest_ask":"0.93863196764550727",
6
+ "highest_bid":"0.87689393939393945",
7
+ "percent_change":"-0.99402003881033996",
8
+ "steem_volume":"23904.964 STEEM",
9
+ "sbd_volume":"20281.476 SBD"
10
+ }
11
+ }
@@ -0,0 +1 @@
1
+ {"id":1,"result":{"steem_volume":"23921.275 STEEM","sbd_volume":"20296.476 SBD"}}
@@ -0,0 +1 @@
1
+ {"id":1,"result":null}
@@ -0,0 +1,525 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.steemitdev.com/
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"jsonrpc":"2.0","id":2,"method":"jsonrpc.get_signature","params":{"method":"account_by_key_api.get_key_references"}}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json; charset=utf-8
12
+ User-Agent:
13
+ - steem-ruby/0.9.4
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ Host:
19
+ - api.steemitdev.com
20
+ Content-Length:
21
+ - '67'
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Sat, 17 Oct 2020 04:21:55 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Length:
32
+ - '76'
33
+ Connection:
34
+ - keep-alive
35
+ Server:
36
+ - nginx
37
+ X-Jussi-Request-Id:
38
+ - '000096940271213458'
39
+ X-Amzn-Trace-Id:
40
+ - Root=1-5f8a7163-68f4700d283d2f1e7891214b
41
+ Access-Control-Allow-Origin:
42
+ - "*"
43
+ Access-Control-Allow-Methods:
44
+ - GET, POST, OPTIONS
45
+ Access-Control-Allow-Headers:
46
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
47
+ Strict-Transport-Security:
48
+ - max-age=31557600; includeSubDomains; preload
49
+ Content-Security-Policy:
50
+ - upgrade-insecure-requests
51
+ body:
52
+ encoding: UTF-8
53
+ string: '{"jsonrpc":"2.0","result":{"args":{"keys":[]},"ret":{"accounts":[]}},"id":2}'
54
+ recorded_at: Sat, 17 Oct 2020 04:21:56 GMT
55
+ - request:
56
+ method: post
57
+ uri: https://api.steemitdev.com/
58
+ body:
59
+ encoding: UTF-8
60
+ string: '{"jsonrpc":"2.0","id":3,"method":"account_by_key_api.get_key_references","params":{}}'
61
+ headers:
62
+ Content-Type:
63
+ - application/json; charset=utf-8
64
+ User-Agent:
65
+ - steem-ruby/0.9.4
66
+ Accept-Encoding:
67
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
68
+ Accept:
69
+ - "*/*"
70
+ Host:
71
+ - api.steemitdev.com
72
+ Content-Length:
73
+ - '117'
74
+ response:
75
+ status:
76
+ code: 200
77
+ message: OK
78
+ headers:
79
+ Date:
80
+ - Sat, 17 Oct 2020 04:21:56 GMT
81
+ Content-Type:
82
+ - application/json
83
+ Content-Length:
84
+ - '49'
85
+ Connection:
86
+ - keep-alive
87
+ Server:
88
+ - nginx
89
+ X-Jussi-Request-Id:
90
+ - '001008863640113494'
91
+ X-Amzn-Trace-Id:
92
+ - Root=1-5f8a7164-23ed65981ade1769161546aa
93
+ Access-Control-Allow-Origin:
94
+ - "*"
95
+ Access-Control-Allow-Methods:
96
+ - GET, POST, OPTIONS
97
+ Access-Control-Allow-Headers:
98
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
99
+ Strict-Transport-Security:
100
+ - max-age=31557600; includeSubDomains; preload
101
+ Content-Security-Policy:
102
+ - upgrade-insecure-requests
103
+ body:
104
+ encoding: UTF-8
105
+ string: '{"jsonrpc":"2.0","result":{"accounts":[]},"id":3}'
106
+ recorded_at: Sat, 17 Oct 2020 04:21:56 GMT
107
+ - request:
108
+ method: post
109
+ uri: https://api.steemitdev.com/
110
+ body:
111
+ encoding: UTF-8
112
+ string: '{"jsonrpc":"2.0","id":32,"method":"jsonrpc.get_signature","params":{"method":"account_by_key_api.get_key_references"}}'
113
+ headers:
114
+ Content-Type:
115
+ - application/json; charset=utf-8
116
+ User-Agent:
117
+ - steem-ruby/0.9.4
118
+ Accept-Encoding:
119
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
120
+ Accept:
121
+ - "*/*"
122
+ Host:
123
+ - api.steemitdev.com
124
+ Content-Length:
125
+ - '150'
126
+ response:
127
+ status:
128
+ code: 200
129
+ message: OK
130
+ headers:
131
+ Date:
132
+ - Sat, 17 Oct 2020 04:26:53 GMT
133
+ Content-Type:
134
+ - application/json
135
+ Content-Length:
136
+ - '77'
137
+ Connection:
138
+ - keep-alive
139
+ Server:
140
+ - nginx
141
+ X-Jussi-Cache-Hit:
142
+ - appbase.jsonrpc.get_signature.params={"method":"account_by_key_api.get_key_references"}
143
+ X-Jussi-Request-Id:
144
+ - '000574282807049636'
145
+ X-Amzn-Trace-Id:
146
+ - Root=1-5f8a728d-2053974d17e309f8139e1928
147
+ Access-Control-Allow-Origin:
148
+ - "*"
149
+ Access-Control-Allow-Methods:
150
+ - GET, POST, OPTIONS
151
+ Access-Control-Allow-Headers:
152
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
153
+ Strict-Transport-Security:
154
+ - max-age=31557600; includeSubDomains; preload
155
+ Content-Security-Policy:
156
+ - upgrade-insecure-requests
157
+ body:
158
+ encoding: UTF-8
159
+ string: '{"id":32,"jsonrpc":"2.0","result":{"args":{"keys":[]},"ret":{"accounts":[]}}}'
160
+ recorded_at: Sat, 17 Oct 2020 04:26:53 GMT
161
+ - request:
162
+ method: post
163
+ uri: https://api.steemitdev.com/
164
+ body:
165
+ encoding: UTF-8
166
+ string: '{"jsonrpc":"2.0","id":33,"method":"account_by_key_api.get_key_references","params":{}}'
167
+ headers:
168
+ Content-Type:
169
+ - application/json; charset=utf-8
170
+ User-Agent:
171
+ - steem-ruby/0.9.4
172
+ Accept-Encoding:
173
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
174
+ Accept:
175
+ - "*/*"
176
+ Host:
177
+ - api.steemitdev.com
178
+ Content-Length:
179
+ - '118'
180
+ response:
181
+ status:
182
+ code: 200
183
+ message: OK
184
+ headers:
185
+ Date:
186
+ - Sat, 17 Oct 2020 04:26:53 GMT
187
+ Content-Type:
188
+ - application/json
189
+ Content-Length:
190
+ - '50'
191
+ Connection:
192
+ - keep-alive
193
+ Server:
194
+ - nginx
195
+ X-Jussi-Request-Id:
196
+ - '000610504187107067'
197
+ X-Amzn-Trace-Id:
198
+ - Root=1-5f8a728d-7f10896370b798d245a383d5
199
+ Access-Control-Allow-Origin:
200
+ - "*"
201
+ Access-Control-Allow-Methods:
202
+ - GET, POST, OPTIONS
203
+ Access-Control-Allow-Headers:
204
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
205
+ Strict-Transport-Security:
206
+ - max-age=31557600; includeSubDomains; preload
207
+ Content-Security-Policy:
208
+ - upgrade-insecure-requests
209
+ body:
210
+ encoding: UTF-8
211
+ string: '{"jsonrpc":"2.0","result":{"accounts":[]},"id":33}'
212
+ recorded_at: Sat, 17 Oct 2020 04:26:54 GMT
213
+ - request:
214
+ method: post
215
+ uri: https://api.steemitdev.com/
216
+ body:
217
+ encoding: UTF-8
218
+ string: '{"jsonrpc":"2.0","id":82,"method":"jsonrpc.get_signature","params":{"method":"account_by_key_api.get_key_references"}}'
219
+ headers:
220
+ Content-Type:
221
+ - application/json; charset=utf-8
222
+ User-Agent:
223
+ - steem-ruby/0.9.4
224
+ Accept-Encoding:
225
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
226
+ Accept:
227
+ - "*/*"
228
+ Host:
229
+ - api.steemitdev.com
230
+ Content-Length:
231
+ - '78'
232
+ response:
233
+ status:
234
+ code: 200
235
+ message: OK
236
+ headers:
237
+ Date:
238
+ - Sat, 17 Oct 2020 04:34:43 GMT
239
+ Content-Type:
240
+ - application/json
241
+ Content-Length:
242
+ - '77'
243
+ Connection:
244
+ - keep-alive
245
+ Server:
246
+ - nginx
247
+ X-Jussi-Request-Id:
248
+ - '000114898818842009'
249
+ X-Amzn-Trace-Id:
250
+ - Root=1-5f8a745b-0231e5e108364a9f7b75f248
251
+ Access-Control-Allow-Origin:
252
+ - "*"
253
+ Access-Control-Allow-Methods:
254
+ - GET, POST, OPTIONS
255
+ Access-Control-Allow-Headers:
256
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
257
+ Strict-Transport-Security:
258
+ - max-age=31557600; includeSubDomains; preload
259
+ Content-Security-Policy:
260
+ - upgrade-insecure-requests
261
+ body:
262
+ encoding: UTF-8
263
+ string: '{"jsonrpc":"2.0","result":{"args":{"keys":[]},"ret":{"accounts":[]}},"id":82}'
264
+ recorded_at: Sat, 17 Oct 2020 04:34:43 GMT
265
+ - request:
266
+ method: post
267
+ uri: https://api.steemitdev.com/
268
+ body:
269
+ encoding: UTF-8
270
+ string: '{"jsonrpc":"2.0","id":83,"method":"account_by_key_api.get_key_references","params":{}}'
271
+ headers:
272
+ Content-Type:
273
+ - application/json; charset=utf-8
274
+ User-Agent:
275
+ - steem-ruby/0.9.4
276
+ Accept-Encoding:
277
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
278
+ Accept:
279
+ - "*/*"
280
+ Host:
281
+ - api.steemitdev.com
282
+ Content-Length:
283
+ - '118'
284
+ response:
285
+ status:
286
+ code: 200
287
+ message: OK
288
+ headers:
289
+ Date:
290
+ - Sat, 17 Oct 2020 04:34:49 GMT
291
+ Content-Type:
292
+ - application/json
293
+ Content-Length:
294
+ - '50'
295
+ Connection:
296
+ - keep-alive
297
+ Server:
298
+ - nginx
299
+ X-Jussi-Request-Id:
300
+ - '000412167331745235'
301
+ X-Amzn-Trace-Id:
302
+ - Root=1-5f8a7464-5e1f0aa41c185f5b368473ba
303
+ Access-Control-Allow-Origin:
304
+ - "*"
305
+ Access-Control-Allow-Methods:
306
+ - GET, POST, OPTIONS
307
+ Access-Control-Allow-Headers:
308
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
309
+ Strict-Transport-Security:
310
+ - max-age=31557600; includeSubDomains; preload
311
+ Content-Security-Policy:
312
+ - upgrade-insecure-requests
313
+ body:
314
+ encoding: UTF-8
315
+ string: '{"jsonrpc":"2.0","result":{"accounts":[]},"id":83}'
316
+ recorded_at: Sat, 17 Oct 2020 04:34:49 GMT
317
+ - request:
318
+ method: post
319
+ uri: https://api.steemitdev.com/
320
+ body:
321
+ encoding: UTF-8
322
+ string: '{"jsonrpc":"2.0","id":4,"method":"jsonrpc.get_signature","params":{"method":"account_by_key_api.get_key_references"}}'
323
+ headers:
324
+ Content-Type:
325
+ - application/json; charset=utf-8
326
+ User-Agent:
327
+ - steem-ruby/0.9.4
328
+ Accept-Encoding:
329
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
330
+ Accept:
331
+ - "*/*"
332
+ Host:
333
+ - api.steemitdev.com
334
+ Content-Length:
335
+ - '149'
336
+ response:
337
+ status:
338
+ code: 200
339
+ message: OK
340
+ headers:
341
+ Date:
342
+ - Sat, 17 Oct 2020 04:39:10 GMT
343
+ Content-Type:
344
+ - application/json
345
+ Content-Length:
346
+ - '76'
347
+ Connection:
348
+ - keep-alive
349
+ Server:
350
+ - nginx
351
+ X-Jussi-Request-Id:
352
+ - '000623113392932109'
353
+ X-Amzn-Trace-Id:
354
+ - Root=1-5f8a756e-712f31873bdca1c42e46ff31
355
+ Access-Control-Allow-Origin:
356
+ - "*"
357
+ Access-Control-Allow-Methods:
358
+ - GET, POST, OPTIONS
359
+ Access-Control-Allow-Headers:
360
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
361
+ Strict-Transport-Security:
362
+ - max-age=31557600; includeSubDomains; preload
363
+ Content-Security-Policy:
364
+ - upgrade-insecure-requests
365
+ body:
366
+ encoding: UTF-8
367
+ string: '{"jsonrpc":"2.0","result":{"args":{"keys":[]},"ret":{"accounts":[]}},"id":4}'
368
+ recorded_at: Sat, 17 Oct 2020 04:39:10 GMT
369
+ - request:
370
+ method: post
371
+ uri: https://api.steemitdev.com/
372
+ body:
373
+ encoding: UTF-8
374
+ string: '{"jsonrpc":"2.0","id":5,"method":"account_by_key_api.get_key_references","params":{}}'
375
+ headers:
376
+ Content-Type:
377
+ - application/json; charset=utf-8
378
+ User-Agent:
379
+ - steem-ruby/0.9.4
380
+ Accept-Encoding:
381
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
382
+ Accept:
383
+ - "*/*"
384
+ Host:
385
+ - api.steemitdev.com
386
+ Content-Length:
387
+ - '117'
388
+ response:
389
+ status:
390
+ code: 200
391
+ message: OK
392
+ headers:
393
+ Date:
394
+ - Sat, 17 Oct 2020 04:39:10 GMT
395
+ Content-Type:
396
+ - application/json
397
+ Content-Length:
398
+ - '49'
399
+ Connection:
400
+ - keep-alive
401
+ Server:
402
+ - nginx
403
+ X-Jussi-Request-Id:
404
+ - '000275674638676943'
405
+ X-Amzn-Trace-Id:
406
+ - Root=1-5f8a756e-0711fc172c0b8ecb0a73fab7
407
+ Access-Control-Allow-Origin:
408
+ - "*"
409
+ Access-Control-Allow-Methods:
410
+ - GET, POST, OPTIONS
411
+ Access-Control-Allow-Headers:
412
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
413
+ Strict-Transport-Security:
414
+ - max-age=31557600; includeSubDomains; preload
415
+ Content-Security-Policy:
416
+ - upgrade-insecure-requests
417
+ body:
418
+ encoding: UTF-8
419
+ string: '{"jsonrpc":"2.0","result":{"accounts":[]},"id":5}'
420
+ recorded_at: Sat, 17 Oct 2020 04:39:10 GMT
421
+ - request:
422
+ method: post
423
+ uri: https://api.steemitdev.com/
424
+ body:
425
+ encoding: UTF-8
426
+ string: '{"jsonrpc":"2.0","id":15,"method":"jsonrpc.get_signature","params":{"method":"account_by_key_api.get_key_references"}}'
427
+ headers:
428
+ Content-Type:
429
+ - application/json; charset=utf-8
430
+ User-Agent:
431
+ - steem-ruby/0.9.4
432
+ Accept-Encoding:
433
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
434
+ Accept:
435
+ - "*/*"
436
+ Host:
437
+ - api.steemit.com
438
+ Content-Length:
439
+ - '93'
440
+ response:
441
+ status:
442
+ code: 200
443
+ message: OK
444
+ headers:
445
+ Date:
446
+ - Sat, 17 Oct 2020 05:02:57 GMT
447
+ Content-Type:
448
+ - application/json
449
+ Content-Length:
450
+ - '77'
451
+ Connection:
452
+ - keep-alive
453
+ Server:
454
+ - nginx
455
+ X-Jussi-Request-Id:
456
+ - '000248603165498975'
457
+ X-Amzn-Trace-Id:
458
+ - Root=1-5f8a7b01-7145301757854a3f52ddcf4f
459
+ Access-Control-Allow-Origin:
460
+ - "*"
461
+ Access-Control-Allow-Methods:
462
+ - GET, POST, OPTIONS
463
+ Access-Control-Allow-Headers:
464
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
465
+ Strict-Transport-Security:
466
+ - max-age=31557600; includeSubDomains; preload
467
+ Content-Security-Policy:
468
+ - upgrade-insecure-requests
469
+ body:
470
+ encoding: UTF-8
471
+ string: '{"jsonrpc":"2.0","result":{"args":{"keys":[]},"ret":{"accounts":[]}},"id":15}'
472
+ recorded_at: Sat, 17 Oct 2020 05:02:57 GMT
473
+ - request:
474
+ method: post
475
+ uri: https://api.steemitdev.com/
476
+ body:
477
+ encoding: UTF-8
478
+ string: '{"jsonrpc":"2.0","id":16,"method":"account_by_key_api.get_key_references","params":{}}'
479
+ headers:
480
+ Content-Type:
481
+ - application/json; charset=utf-8
482
+ User-Agent:
483
+ - steem-ruby/0.9.4
484
+ Accept-Encoding:
485
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
486
+ Accept:
487
+ - "*/*"
488
+ Host:
489
+ - api.steemit.com
490
+ Content-Length:
491
+ - '118'
492
+ response:
493
+ status:
494
+ code: 200
495
+ message: OK
496
+ headers:
497
+ Date:
498
+ - Sat, 17 Oct 2020 05:02:58 GMT
499
+ Content-Type:
500
+ - application/json
501
+ Content-Length:
502
+ - '50'
503
+ Connection:
504
+ - keep-alive
505
+ Server:
506
+ - nginx
507
+ X-Jussi-Request-Id:
508
+ - '000697231195495044'
509
+ X-Amzn-Trace-Id:
510
+ - Root=1-5f8a7b02-16e76cad331b5b1e19365b54
511
+ Access-Control-Allow-Origin:
512
+ - "*"
513
+ Access-Control-Allow-Methods:
514
+ - GET, POST, OPTIONS
515
+ Access-Control-Allow-Headers:
516
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
517
+ Strict-Transport-Security:
518
+ - max-age=31557600; includeSubDomains; preload
519
+ Content-Security-Policy:
520
+ - upgrade-insecure-requests
521
+ body:
522
+ encoding: UTF-8
523
+ string: '{"jsonrpc":"2.0","result":{"accounts":[]},"id":16}'
524
+ recorded_at: Sat, 17 Oct 2020 05:02:58 GMT
525
+ recorded_with: VCR 6.0.0