radiator 0.4.6pre1 → 0.4.8.pre.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -12
  3. data/Rakefile +53 -23
  4. data/lib/radiator.rb +3 -1
  5. data/lib/radiator/api.rb +111 -16
  6. data/lib/radiator/bridge.rb +34 -0
  7. data/lib/radiator/broadcast_operations.json +7 -7
  8. data/lib/radiator/chain.rb +1 -1
  9. data/lib/radiator/chain_config.rb +9 -2
  10. data/lib/radiator/database_api.rb +1 -1
  11. data/lib/radiator/error_parser.rb +1 -1
  12. data/lib/radiator/follow_api.rb +1 -1
  13. data/lib/radiator/market_history_api.rb +1 -1
  14. data/lib/radiator/mixins/acts_as_poster.rb +4 -4
  15. data/lib/radiator/operation.rb +3 -2
  16. data/lib/radiator/operation_types.rb +43 -27
  17. data/lib/radiator/ssc/base_steem_smart_contract_rpc.rb +1 -1
  18. data/lib/radiator/stream.rb +21 -8
  19. data/lib/radiator/transaction.rb +43 -3
  20. data/lib/radiator/type/amount.rb +8 -50
  21. data/lib/radiator/type/beneficiaries.rb +8 -1
  22. data/lib/radiator/type/price.rb +2 -2
  23. data/lib/radiator/version.rb +1 -1
  24. data/radiator.gemspec +17 -13
  25. data/test/fixtures/empty.json +1 -0
  26. data/test/fixtures/error.json +29 -0
  27. data/test/fixtures/follow_api_get_followers.json +1 -0
  28. data/test/fixtures/get_account.json +165 -0
  29. data/test/fixtures/get_account_count.json +1 -0
  30. data/test/fixtures/get_account_references.json +1 -0
  31. data/test/fixtures/get_block.json +193 -0
  32. data/test/fixtures/get_dynamic_global_properties.json +32 -0
  33. data/test/fixtures/get_feed_history.json +684 -0
  34. data/test/fixtures/get_hardfork_version.json +1 -0
  35. data/test/fixtures/get_key_references.json +14 -0
  36. data/test/fixtures/get_stats_for_time.json +57 -0
  37. data/test/fixtures/get_vesting_delegation.json +936 -0
  38. data/test/fixtures/golos_get_dynamic_global_properties.json +32 -0
  39. data/test/fixtures/market_history_api_get_market_history_buckets.json +1 -0
  40. data/test/fixtures/market_history_api_get_order_book.json +109 -0
  41. data/test/fixtures/market_history_api_get_recent_trades.json +55 -0
  42. data/test/fixtures/market_history_api_get_ticker.json +11 -0
  43. data/test/fixtures/market_history_api_get_volume.json +1 -0
  44. data/test/fixtures/null.json +1 -0
  45. data/test/fixtures/vcr_cassettes/account_by_key_api_all_methods.yml +1465 -0
  46. data/test/fixtures/vcr_cassettes/account_by_key_api_jsonrpc.yml +199 -0
  47. data/test/fixtures/vcr_cassettes/api_all_methods.yml +13802 -0
  48. data/test/fixtures/vcr_cassettes/api_jsonrpc.yml +53 -0
  49. data/test/fixtures/vcr_cassettes/base_per_debt.yml +11068 -0
  50. data/test/fixtures/vcr_cassettes/base_per_mvest.yml +6024 -0
  51. data/test/fixtures/vcr_cassettes/block_time.yml +5368 -0
  52. data/test/fixtures/vcr_cassettes/broadcast_transaction.yml +1723 -0
  53. data/test/fixtures/vcr_cassettes/chain_stats_api_jsonrpc.yml +51 -0
  54. data/test/fixtures/vcr_cassettes/condenser_all_all_methods.yml +13770 -0
  55. data/test/fixtures/vcr_cassettes/condenser_api_jsonrpc.yml +103 -0
  56. data/test/fixtures/vcr_cassettes/expiration_initialize.yml +16108 -0
  57. data/test/fixtures/vcr_cassettes/find_account.yml +5732 -0
  58. data/test/fixtures/vcr_cassettes/find_block.yml +5322 -0
  59. data/test/fixtures/vcr_cassettes/find_comment.yml +16386 -0
  60. data/test/fixtures/vcr_cassettes/follow_api_jsonrpc.yml +99 -0
  61. data/test/fixtures/vcr_cassettes/get_account_count.yml +783 -0
  62. data/test/fixtures/vcr_cassettes/get_account_references.yml +773 -0
  63. data/test/fixtures/vcr_cassettes/get_accounts.yml +918 -0
  64. data/test/fixtures/vcr_cassettes/get_accounts_no_argument.yml +773 -0
  65. data/test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml +893 -0
  66. data/test/fixtures/vcr_cassettes/get_feed_history.yml +1432 -0
  67. data/test/fixtures/vcr_cassettes/get_hardfork_version.yml +835 -0
  68. data/test/fixtures/vcr_cassettes/get_key_references.yml +1571 -0
  69. data/test/fixtures/vcr_cassettes/get_market_history.yml +1563 -0
  70. data/test/fixtures/vcr_cassettes/get_market_history_buckets.yml +1665 -0
  71. data/test/fixtures/vcr_cassettes/get_order_book.yml +1459 -0
  72. data/test/fixtures/vcr_cassettes/get_recent_trades.yml +1459 -0
  73. data/test/fixtures/vcr_cassettes/get_ticker.yml +1563 -0
  74. data/test/fixtures/vcr_cassettes/get_trade_history.yml +1459 -0
  75. data/test/fixtures/vcr_cassettes/get_vesting_delegations.yml +731 -0
  76. data/test/fixtures/vcr_cassettes/get_volume.yml +1561 -0
  77. data/test/fixtures/vcr_cassettes/get_witness_by_account.yml +835 -0
  78. data/test/fixtures/vcr_cassettes/look_up_witnesses.yml +831 -0
  79. data/test/fixtures/vcr_cassettes/market_history_api_all_methods.yml +10191 -0
  80. data/test/fixtures/vcr_cassettes/market_history_api_jsonrpc.yml +51 -0
  81. data/test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml +2455 -0
  82. data/test/fixtures/vcr_cassettes/network_broadcast_api_jsonrpc.yml +51 -0
  83. data/test/fixtures/vcr_cassettes/properties.yml +5551 -0
  84. data/test/fixtures/vcr_cassettes/recover_transaction.yml +1815 -0
  85. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml +90 -0
  86. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml +88 -0
  87. data/test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml +90 -0
  88. data/test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml +90 -0
  89. data/test/fixtures/vcr_cassettes/ssc_contracts_contract.yml +364 -0
  90. data/test/fixtures/vcr_cassettes/ssc_contracts_find.yml +89 -0
  91. data/test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml +87 -0
  92. data/test/fixtures/vcr_cassettes/stream_jsonrpc.yml +27502 -0
  93. data/test/fixtures/vcr_cassettes/tag_api_jsonrpc.yml +155 -0
  94. data/test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml +17597 -0
  95. data/test/fixtures/vcr_cassettes/transaction_jsonrpc.yml +61 -0
  96. data/test/fixtures/vcr_cassettes/unknown_chain_id.yml +13038 -0
  97. data/test/fixtures/vcr_cassettes/valid_chains.yml +11450 -0
  98. data/test/radiator/account_by_key_api_test.rb +46 -0
  99. data/test/radiator/api_test.rb +135 -0
  100. data/test/radiator/chain_stats_api_test.rb +49 -0
  101. data/test/radiator/chain_test.rb +153 -0
  102. data/test/radiator/condenser_api_test.rb +48 -0
  103. data/test/radiator/follow_api_test.rb +48 -0
  104. data/test/radiator/market_history_api_test.rb +100 -0
  105. data/test/radiator/network_broadcast_api_test.rb +48 -0
  106. data/test/radiator/operation_test.rb +116 -0
  107. data/test/radiator/ssc/blockchain_test.rb +58 -0
  108. data/test/radiator/ssc/contracts_test.rb +65 -0
  109. data/test/radiator/stream_test.rb +48 -0
  110. data/test/radiator/tag_api_test.rb +40 -0
  111. data/test/radiator/transaction_test.rb +755 -0
  112. data/test/test_helper.rb +66 -0
  113. metadata +187 -79
  114. data/.codeclimate.yml +0 -19
  115. data/.gitignore +0 -52
  116. data/.travis.yml +0 -23
  117. data/gource.sh +0 -8
  118. data/images/Anthony Martin.png +0 -0
  119. data/images/Marvin Hofmann.jpg +0 -0
  120. data/images/Marvin Hofmann.png +0 -0
  121. data/lib/steem.rb +0 -17
@@ -0,0 +1,773 @@
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":52,"method":"condenser_api.get_accounts","params":[]}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json; charset=utf-8
12
+ User-Agent:
13
+ - steem-ruby/0.9.5
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ Host:
19
+ - api.steemit.com
20
+ Content-Length:
21
+ - '86'
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Sat, 07 Nov 2020 19:33:29 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Length:
32
+ - '429'
33
+ Connection:
34
+ - keep-alive
35
+ Server:
36
+ - nginx
37
+ X-Jussi-Request-Id:
38
+ - '000192865817993644'
39
+ X-Amzn-Trace-Id:
40
+ - Root=1-5fa6f688-2e5beffe33f32d8954fa5940
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","error":{"code":-32003,"message":"Assert Exception:args.size()
54
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
55
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-07T19:33:29"},"format":"args.size()
56
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":52}'
57
+ recorded_at: Sat, 07 Nov 2020 19:33:30 GMT
58
+ - request:
59
+ method: post
60
+ uri: https://api.steemitdev.com/
61
+ body:
62
+ encoding: UTF-8
63
+ string: '{"jsonrpc":"2.0","id":50,"method":"condenser_api.get_accounts","params":[]}'
64
+ headers:
65
+ Content-Type:
66
+ - application/json; charset=utf-8
67
+ User-Agent:
68
+ - steem-ruby/0.9.5
69
+ Accept-Encoding:
70
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
71
+ Accept:
72
+ - "*/*"
73
+ Host:
74
+ - api.steemitdev.com
75
+ Content-Length:
76
+ - '92'
77
+ response:
78
+ status:
79
+ code: 200
80
+ message: OK
81
+ headers:
82
+ Date:
83
+ - Sat, 07 Nov 2020 20:13:39 GMT
84
+ Content-Type:
85
+ - application/json
86
+ Content-Length:
87
+ - '429'
88
+ Connection:
89
+ - keep-alive
90
+ Server:
91
+ - nginx
92
+ X-Jussi-Request-Id:
93
+ - '001099153299059074'
94
+ X-Amzn-Trace-Id:
95
+ - Root=1-5fa6fff2-36b2d1750eb1d8124c9d90f1
96
+ Access-Control-Allow-Origin:
97
+ - "*"
98
+ Access-Control-Allow-Methods:
99
+ - GET, POST, OPTIONS
100
+ Access-Control-Allow-Headers:
101
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
102
+ Strict-Transport-Security:
103
+ - max-age=31557600; includeSubDomains; preload
104
+ Content-Security-Policy:
105
+ - upgrade-insecure-requests
106
+ body:
107
+ encoding: UTF-8
108
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
109
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
110
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-07T20:13:39"},"format":"args.size()
111
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":50}'
112
+ recorded_at: Sat, 07 Nov 2020 20:13:40 GMT
113
+ - request:
114
+ method: post
115
+ uri: https://api.steemitdev.com/
116
+ body:
117
+ encoding: UTF-8
118
+ string: '{"jsonrpc":"2.0","id":116,"method":"condenser_api.get_accounts","params":[]}'
119
+ headers:
120
+ Content-Type:
121
+ - application/json; charset=utf-8
122
+ User-Agent:
123
+ - steem-ruby/0.9.5
124
+ Accept-Encoding:
125
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
126
+ Accept:
127
+ - "*/*"
128
+ Host:
129
+ - api.steemitdev.com
130
+ Content-Length:
131
+ - '81'
132
+ response:
133
+ status:
134
+ code: 200
135
+ message: OK
136
+ headers:
137
+ Date:
138
+ - Sat, 07 Nov 2020 20:22:45 GMT
139
+ Content-Type:
140
+ - application/json
141
+ Content-Length:
142
+ - '430'
143
+ Connection:
144
+ - keep-alive
145
+ Server:
146
+ - nginx
147
+ X-Jussi-Request-Id:
148
+ - '001000699383409737'
149
+ X-Amzn-Trace-Id:
150
+ - Root=1-5fa70212-65f27b4a14c61f8d4d75ca26
151
+ Access-Control-Allow-Origin:
152
+ - "*"
153
+ Access-Control-Allow-Methods:
154
+ - GET, POST, OPTIONS
155
+ Access-Control-Allow-Headers:
156
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
157
+ Strict-Transport-Security:
158
+ - max-age=31557600; includeSubDomains; preload
159
+ Content-Security-Policy:
160
+ - upgrade-insecure-requests
161
+ body:
162
+ encoding: UTF-8
163
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
164
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
165
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-07T20:22:45"},"format":"args.size()
166
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":116}'
167
+ recorded_at: Sat, 07 Nov 2020 20:22:45 GMT
168
+ - request:
169
+ method: post
170
+ uri: https://api.steemitdev.com/
171
+ body:
172
+ encoding: UTF-8
173
+ string: '{"jsonrpc":"2.0","id":61,"method":"condenser_api.get_accounts","params":[]}'
174
+ headers:
175
+ Content-Type:
176
+ - application/json; charset=utf-8
177
+ User-Agent:
178
+ - steem-ruby/0.9.5
179
+ Accept-Encoding:
180
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
181
+ Accept:
182
+ - "*/*"
183
+ Host:
184
+ - api.steemit.com
185
+ Content-Length:
186
+ - '83'
187
+ response:
188
+ status:
189
+ code: 200
190
+ message: OK
191
+ headers:
192
+ Date:
193
+ - Sat, 07 Nov 2020 20:27:15 GMT
194
+ Content-Type:
195
+ - application/json
196
+ Content-Length:
197
+ - '429'
198
+ Connection:
199
+ - keep-alive
200
+ Server:
201
+ - nginx
202
+ X-Jussi-Request-Id:
203
+ - '000171417767299157'
204
+ X-Amzn-Trace-Id:
205
+ - Root=1-5fa70323-6933d3470c2cc8a565b982d5
206
+ Access-Control-Allow-Origin:
207
+ - "*"
208
+ Access-Control-Allow-Methods:
209
+ - GET, POST, OPTIONS
210
+ Access-Control-Allow-Headers:
211
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
212
+ Strict-Transport-Security:
213
+ - max-age=31557600; includeSubDomains; preload
214
+ Content-Security-Policy:
215
+ - upgrade-insecure-requests
216
+ body:
217
+ encoding: UTF-8
218
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
219
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
220
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-07T20:27:15"},"format":"args.size()
221
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":61}'
222
+ recorded_at: Sat, 07 Nov 2020 20:27:15 GMT
223
+ - request:
224
+ method: post
225
+ uri: https://api.steemitdev.com/
226
+ body:
227
+ encoding: UTF-8
228
+ string: '{"jsonrpc":"2.0","id":98,"method":"condenser_api.get_accounts","params":[]}'
229
+ headers:
230
+ Content-Type:
231
+ - application/json; charset=utf-8
232
+ User-Agent:
233
+ - steem-ruby/0.9.5
234
+ Accept-Encoding:
235
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
236
+ Accept:
237
+ - "*/*"
238
+ Host:
239
+ - api.steemitdev.com
240
+ Content-Length:
241
+ - '87'
242
+ response:
243
+ status:
244
+ code: 200
245
+ message: OK
246
+ headers:
247
+ Date:
248
+ - Sat, 07 Nov 2020 20:31:48 GMT
249
+ Content-Type:
250
+ - application/json
251
+ Content-Length:
252
+ - '429'
253
+ Connection:
254
+ - keep-alive
255
+ Server:
256
+ - nginx
257
+ X-Jussi-Request-Id:
258
+ - '000734041465592363'
259
+ X-Amzn-Trace-Id:
260
+ - Root=1-5fa70432-10e2be4f34da78b14a342deb
261
+ Access-Control-Allow-Origin:
262
+ - "*"
263
+ Access-Control-Allow-Methods:
264
+ - GET, POST, OPTIONS
265
+ Access-Control-Allow-Headers:
266
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
267
+ Strict-Transport-Security:
268
+ - max-age=31557600; includeSubDomains; preload
269
+ Content-Security-Policy:
270
+ - upgrade-insecure-requests
271
+ body:
272
+ encoding: UTF-8
273
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
274
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
275
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-07T20:31:48"},"format":"args.size()
276
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":98}'
277
+ recorded_at: Sat, 07 Nov 2020 20:31:48 GMT
278
+ - request:
279
+ method: post
280
+ uri: https://api.steemitdev.com/
281
+ body:
282
+ encoding: UTF-8
283
+ string: '{"jsonrpc":"2.0","id":125,"method":"condenser_api.get_accounts","params":[]}'
284
+ headers:
285
+ Content-Type:
286
+ - application/json; charset=utf-8
287
+ User-Agent:
288
+ - steem-ruby/0.9.5
289
+ Accept-Encoding:
290
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
291
+ Accept:
292
+ - "*/*"
293
+ Host:
294
+ - api.steemitdev.com
295
+ Content-Length:
296
+ - '81'
297
+ response:
298
+ status:
299
+ code: 200
300
+ message: OK
301
+ headers:
302
+ Date:
303
+ - Sat, 07 Nov 2020 20:43:19 GMT
304
+ Content-Type:
305
+ - application/json
306
+ Content-Length:
307
+ - '430'
308
+ Connection:
309
+ - keep-alive
310
+ Server:
311
+ - nginx
312
+ X-Jussi-Request-Id:
313
+ - '000430508189945193'
314
+ X-Amzn-Trace-Id:
315
+ - Root=1-5fa706e3-1c1dd0301b9973d253a6ab34
316
+ Access-Control-Allow-Origin:
317
+ - "*"
318
+ Access-Control-Allow-Methods:
319
+ - GET, POST, OPTIONS
320
+ Access-Control-Allow-Headers:
321
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
322
+ Strict-Transport-Security:
323
+ - max-age=31557600; includeSubDomains; preload
324
+ Content-Security-Policy:
325
+ - upgrade-insecure-requests
326
+ body:
327
+ encoding: UTF-8
328
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
329
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
330
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-07T20:43:19"},"format":"args.size()
331
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":125}'
332
+ recorded_at: Sat, 07 Nov 2020 20:43:19 GMT
333
+ - request:
334
+ method: post
335
+ uri: https://api.steemitdev.com/
336
+ body:
337
+ encoding: UTF-8
338
+ string: '{"jsonrpc":"2.0","id":18,"method":"condenser_api.get_accounts","params":[]}'
339
+ headers:
340
+ Content-Type:
341
+ - application/json; charset=utf-8
342
+ User-Agent:
343
+ - steem-ruby/0.9.5
344
+ Accept-Encoding:
345
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
346
+ Accept:
347
+ - "*/*"
348
+ Host:
349
+ - api.steemitdev.com
350
+ Content-Length:
351
+ - '87'
352
+ response:
353
+ status:
354
+ code: 200
355
+ message: OK
356
+ headers:
357
+ Date:
358
+ - Sat, 07 Nov 2020 20:46:25 GMT
359
+ Content-Type:
360
+ - application/json
361
+ Content-Length:
362
+ - '429'
363
+ Connection:
364
+ - keep-alive
365
+ Server:
366
+ - nginx
367
+ X-Jussi-Request-Id:
368
+ - '000846229275929920'
369
+ X-Amzn-Trace-Id:
370
+ - Root=1-5fa707a0-495c32543f07eac55a688d03
371
+ Access-Control-Allow-Origin:
372
+ - "*"
373
+ Access-Control-Allow-Methods:
374
+ - GET, POST, OPTIONS
375
+ Access-Control-Allow-Headers:
376
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
377
+ Strict-Transport-Security:
378
+ - max-age=31557600; includeSubDomains; preload
379
+ Content-Security-Policy:
380
+ - upgrade-insecure-requests
381
+ body:
382
+ encoding: UTF-8
383
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
384
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
385
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-07T20:46:25"},"format":"args.size()
386
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":18}'
387
+ recorded_at: Sat, 07 Nov 2020 20:46:25 GMT
388
+ - request:
389
+ method: post
390
+ uri: https://api.steemitdev.com/
391
+ body:
392
+ encoding: UTF-8
393
+ string: '{"jsonrpc":"2.0","id":86,"method":"condenser_api.get_accounts","params":[]}'
394
+ headers:
395
+ Content-Type:
396
+ - application/json; charset=utf-8
397
+ User-Agent:
398
+ - steem-ruby/0.9.5
399
+ Accept-Encoding:
400
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
401
+ Accept:
402
+ - "*/*"
403
+ Host:
404
+ - api.steemitdev.com
405
+ Content-Length:
406
+ - '86'
407
+ response:
408
+ status:
409
+ code: 200
410
+ message: OK
411
+ headers:
412
+ Date:
413
+ - Sat, 07 Nov 2020 20:54:17 GMT
414
+ Content-Type:
415
+ - application/json
416
+ Content-Length:
417
+ - '429'
418
+ Connection:
419
+ - keep-alive
420
+ Server:
421
+ - nginx
422
+ X-Jussi-Request-Id:
423
+ - '000287542629796843'
424
+ X-Amzn-Trace-Id:
425
+ - Root=1-5fa70978-180c1ce60c348013757e755f
426
+ Access-Control-Allow-Origin:
427
+ - "*"
428
+ Access-Control-Allow-Methods:
429
+ - GET, POST, OPTIONS
430
+ Access-Control-Allow-Headers:
431
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
432
+ Strict-Transport-Security:
433
+ - max-age=31557600; includeSubDomains; preload
434
+ Content-Security-Policy:
435
+ - upgrade-insecure-requests
436
+ body:
437
+ encoding: UTF-8
438
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
439
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
440
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-07T20:54:17"},"format":"args.size()
441
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":86}'
442
+ recorded_at: Sat, 07 Nov 2020 20:54:17 GMT
443
+ - request:
444
+ method: post
445
+ uri: https://api.steemitdev.com/
446
+ body:
447
+ encoding: UTF-8
448
+ string: '{"jsonrpc":"2.0","id":7,"method":"condenser_api.get_accounts","params":[]}'
449
+ headers:
450
+ Content-Type:
451
+ - application/json; charset=utf-8
452
+ User-Agent:
453
+ - steem-ruby/0.9.5
454
+ Accept-Encoding:
455
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
456
+ Accept:
457
+ - "*/*"
458
+ Host:
459
+ - api.steemitdev.com
460
+ Content-Length:
461
+ - '85'
462
+ response:
463
+ status:
464
+ code: 200
465
+ message: OK
466
+ headers:
467
+ Date:
468
+ - Sat, 07 Nov 2020 21:00:44 GMT
469
+ Content-Type:
470
+ - application/json
471
+ Content-Length:
472
+ - '428'
473
+ Connection:
474
+ - keep-alive
475
+ Server:
476
+ - nginx
477
+ X-Jussi-Request-Id:
478
+ - '001104416074770976'
479
+ X-Amzn-Trace-Id:
480
+ - Root=1-5fa70afb-30b29d8748de80e901fad9df
481
+ Access-Control-Allow-Origin:
482
+ - "*"
483
+ Access-Control-Allow-Methods:
484
+ - GET, POST, OPTIONS
485
+ Access-Control-Allow-Headers:
486
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
487
+ Strict-Transport-Security:
488
+ - max-age=31557600; includeSubDomains; preload
489
+ Content-Security-Policy:
490
+ - upgrade-insecure-requests
491
+ body:
492
+ encoding: UTF-8
493
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
494
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
495
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-07T21:00:44"},"format":"args.size()
496
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":7}'
497
+ recorded_at: Sat, 07 Nov 2020 21:00:44 GMT
498
+ - request:
499
+ method: post
500
+ uri: https://api.steemitdev.com/
501
+ body:
502
+ encoding: UTF-8
503
+ string: '{"jsonrpc":"2.0","id":106,"method":"condenser_api.get_accounts","params":[]}'
504
+ headers:
505
+ Content-Type:
506
+ - application/json; charset=utf-8
507
+ User-Agent:
508
+ - steem-ruby/0.9.5
509
+ Accept-Encoding:
510
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
511
+ Accept:
512
+ - "*/*"
513
+ Host:
514
+ - api.steemit.com
515
+ Content-Length:
516
+ - '79'
517
+ response:
518
+ status:
519
+ code: 200
520
+ message: OK
521
+ headers:
522
+ Date:
523
+ - Sat, 07 Nov 2020 21:08:44 GMT
524
+ Content-Type:
525
+ - application/json
526
+ Content-Length:
527
+ - '430'
528
+ Connection:
529
+ - keep-alive
530
+ Server:
531
+ - nginx
532
+ X-Jussi-Request-Id:
533
+ - '000380382195064856'
534
+ X-Amzn-Trace-Id:
535
+ - Root=1-5fa70cdc-5f6dfe7604c1735c77d1974b
536
+ Access-Control-Allow-Origin:
537
+ - "*"
538
+ Access-Control-Allow-Methods:
539
+ - GET, POST, OPTIONS
540
+ Access-Control-Allow-Headers:
541
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
542
+ Strict-Transport-Security:
543
+ - max-age=31557600; includeSubDomains; preload
544
+ Content-Security-Policy:
545
+ - upgrade-insecure-requests
546
+ body:
547
+ encoding: UTF-8
548
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
549
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
550
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-07T21:08:44"},"format":"args.size()
551
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":106}'
552
+ recorded_at: Sat, 07 Nov 2020 21:08:44 GMT
553
+ - request:
554
+ method: post
555
+ uri: https://api.steemitdev.com/
556
+ body:
557
+ encoding: UTF-8
558
+ string: '{"jsonrpc":"2.0","id":121,"method":"condenser_api.get_accounts","params":[]}'
559
+ headers:
560
+ Content-Type:
561
+ - application/json; charset=utf-8
562
+ User-Agent:
563
+ - steem-ruby/0.9.5
564
+ Accept-Encoding:
565
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
566
+ Accept:
567
+ - "*/*"
568
+ Host:
569
+ - api.steemitdev.com
570
+ Content-Length:
571
+ - '84'
572
+ response:
573
+ status:
574
+ code: 200
575
+ message: OK
576
+ headers:
577
+ Date:
578
+ - Sat, 07 Nov 2020 21:11:45 GMT
579
+ Content-Type:
580
+ - application/json
581
+ Content-Length:
582
+ - '430'
583
+ Connection:
584
+ - keep-alive
585
+ Server:
586
+ - nginx
587
+ X-Jussi-Request-Id:
588
+ - '000850932482149596'
589
+ X-Amzn-Trace-Id:
590
+ - Root=1-5fa70d8f-61278eda5a9542185d98dab8
591
+ Access-Control-Allow-Origin:
592
+ - "*"
593
+ Access-Control-Allow-Methods:
594
+ - GET, POST, OPTIONS
595
+ Access-Control-Allow-Headers:
596
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
597
+ Strict-Transport-Security:
598
+ - max-age=31557600; includeSubDomains; preload
599
+ Content-Security-Policy:
600
+ - upgrade-insecure-requests
601
+ body:
602
+ encoding: UTF-8
603
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
604
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
605
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-07T21:11:45"},"format":"args.size()
606
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":121}'
607
+ recorded_at: Sat, 07 Nov 2020 21:11:45 GMT
608
+ - request:
609
+ method: post
610
+ uri: https://api.steemitdev.com/
611
+ body:
612
+ encoding: UTF-8
613
+ string: '{"jsonrpc":"2.0","id":3,"method":"condenser_api.get_accounts","params":[]}'
614
+ headers:
615
+ Content-Type:
616
+ - application/json; charset=utf-8
617
+ User-Agent:
618
+ - steem-ruby/0.9.5
619
+ Accept-Encoding:
620
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
621
+ Accept:
622
+ - "*/*"
623
+ Host:
624
+ - api.steemitdev.com
625
+ Content-Length:
626
+ - '91'
627
+ response:
628
+ status:
629
+ code: 200
630
+ message: OK
631
+ headers:
632
+ Date:
633
+ - Sun, 08 Nov 2020 05:35:05 GMT
634
+ Content-Type:
635
+ - application/json
636
+ Content-Length:
637
+ - '428'
638
+ Connection:
639
+ - keep-alive
640
+ Server:
641
+ - nginx
642
+ X-Jussi-Request-Id:
643
+ - '000968066613381875'
644
+ X-Amzn-Trace-Id:
645
+ - Root=1-5fa78388-50a46846214ddd5b0e6a82af
646
+ Access-Control-Allow-Origin:
647
+ - "*"
648
+ Access-Control-Allow-Methods:
649
+ - GET, POST, OPTIONS
650
+ Access-Control-Allow-Headers:
651
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
652
+ Strict-Transport-Security:
653
+ - max-age=31557600; includeSubDomains; preload
654
+ Content-Security-Policy:
655
+ - upgrade-insecure-requests
656
+ body:
657
+ encoding: UTF-8
658
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
659
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
660
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-08T05:35:05"},"format":"args.size()
661
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":3}'
662
+ recorded_at: Sun, 08 Nov 2020 05:35:05 GMT
663
+ - request:
664
+ method: post
665
+ uri: https://api.steemitdev.com/
666
+ body:
667
+ encoding: UTF-8
668
+ string: '{"jsonrpc":"2.0","id":45,"method":"condenser_api.get_accounts","params":[]}'
669
+ headers:
670
+ Content-Type:
671
+ - application/json; charset=utf-8
672
+ User-Agent:
673
+ - steem-ruby/0.9.5
674
+ Accept-Encoding:
675
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
676
+ Accept:
677
+ - "*/*"
678
+ Host:
679
+ - api.steemit.com
680
+ Content-Length:
681
+ - '96'
682
+ response:
683
+ status:
684
+ code: 200
685
+ message: OK
686
+ headers:
687
+ Date:
688
+ - Sun, 08 Nov 2020 05:39:44 GMT
689
+ Content-Type:
690
+ - application/json
691
+ Content-Length:
692
+ - '429'
693
+ Connection:
694
+ - keep-alive
695
+ Server:
696
+ - nginx
697
+ X-Jussi-Request-Id:
698
+ - '000637667982757963'
699
+ X-Amzn-Trace-Id:
700
+ - Root=1-5fa7849f-3e75180246dcf311341b1d01
701
+ Access-Control-Allow-Origin:
702
+ - "*"
703
+ Access-Control-Allow-Methods:
704
+ - GET, POST, OPTIONS
705
+ Access-Control-Allow-Headers:
706
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
707
+ Strict-Transport-Security:
708
+ - max-age=31557600; includeSubDomains; preload
709
+ Content-Security-Policy:
710
+ - upgrade-insecure-requests
711
+ body:
712
+ encoding: UTF-8
713
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
714
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
715
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-08T05:39:44"},"format":"args.size()
716
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":45}'
717
+ recorded_at: Sun, 08 Nov 2020 05:39:44 GMT
718
+ - request:
719
+ method: post
720
+ uri: https://api.steemitdev.com/
721
+ body:
722
+ encoding: UTF-8
723
+ string: '{"jsonrpc":"2.0","id":12,"method":"condenser_api.get_accounts","params":[]}'
724
+ headers:
725
+ Content-Type:
726
+ - application/json; charset=utf-8
727
+ User-Agent:
728
+ - steem-ruby/0.9.5
729
+ Accept-Encoding:
730
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
731
+ Accept:
732
+ - "*/*"
733
+ Host:
734
+ - api.steemitdev.com
735
+ Content-Length:
736
+ - '77'
737
+ response:
738
+ status:
739
+ code: 200
740
+ message: OK
741
+ headers:
742
+ Date:
743
+ - Sun, 08 Nov 2020 06:00:36 GMT
744
+ Content-Type:
745
+ - application/json
746
+ Content-Length:
747
+ - '429'
748
+ Connection:
749
+ - keep-alive
750
+ Server:
751
+ - nginx
752
+ X-Jussi-Request-Id:
753
+ - '000224297055540763'
754
+ X-Amzn-Trace-Id:
755
+ - Root=1-5fa78984-51979d1c03195a3861dcb559
756
+ Access-Control-Allow-Origin:
757
+ - "*"
758
+ Access-Control-Allow-Methods:
759
+ - GET, POST, OPTIONS
760
+ Access-Control-Allow-Headers:
761
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
762
+ Strict-Transport-Security:
763
+ - max-age=31557600; includeSubDomains; preload
764
+ Content-Security-Policy:
765
+ - upgrade-insecure-requests
766
+ body:
767
+ encoding: UTF-8
768
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
769
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
770
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":854,"method":"get_accounts","hostname":"","timestamp":"2020-11-08T06:00:36"},"format":"args.size()
771
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":12}'
772
+ recorded_at: Sun, 08 Nov 2020 06:00:36 GMT
773
+ recorded_with: VCR 6.0.0