radiator 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/radiator/api.rb +8 -8
  4. data/lib/radiator/ssc/base_steem_smart_contract_rpc.rb +1 -1
  5. data/lib/radiator/ssc/blockchain.rb +1 -1
  6. data/lib/radiator/ssc/contracts.rb +1 -1
  7. data/lib/radiator/ssc/stream.rb +1 -1
  8. data/lib/radiator/version.rb +1 -1
  9. data/radiator.gemspec +3 -3
  10. data/test/fixtures/vcr_cassettes/account_by_key_api_all_methods.yml +207 -1
  11. data/test/fixtures/vcr_cassettes/api_all_methods.yml +331 -1
  12. data/test/fixtures/vcr_cassettes/base_per_debt.yml +855 -1
  13. data/test/fixtures/vcr_cassettes/base_per_mvest.yml +651 -1
  14. data/test/fixtures/vcr_cassettes/block_time.yml +733 -1
  15. data/test/fixtures/vcr_cassettes/broadcast_transaction.yml +108 -1
  16. data/test/fixtures/vcr_cassettes/condenser_all_all_methods.yml +166 -1
  17. data/test/fixtures/vcr_cassettes/expiration_initialize.yml +1162 -1
  18. data/test/fixtures/vcr_cassettes/find_account.yml +633 -1
  19. data/test/fixtures/vcr_cassettes/find_block.yml +628 -1
  20. data/test/fixtures/vcr_cassettes/find_comment.yml +1967 -1
  21. data/test/fixtures/vcr_cassettes/get_account_count.yml +53 -1
  22. data/test/fixtures/vcr_cassettes/get_account_references.yml +111 -1
  23. data/test/fixtures/vcr_cassettes/get_accounts.yml +62 -1
  24. data/test/fixtures/vcr_cassettes/get_accounts_no_argument.yml +111 -1
  25. data/test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml +59 -1
  26. data/test/fixtures/vcr_cassettes/get_feed_history.yml +191 -1
  27. data/test/fixtures/vcr_cassettes/get_hardfork_version.yml +53 -1
  28. data/test/fixtures/vcr_cassettes/get_key_references.yml +211 -1
  29. data/test/fixtures/vcr_cassettes/get_market_history.yml +209 -1
  30. data/test/fixtures/vcr_cassettes/get_market_history_buckets.yml +209 -1
  31. data/test/fixtures/vcr_cassettes/get_order_book.yml +209 -1
  32. data/test/fixtures/vcr_cassettes/get_recent_trades.yml +209 -1
  33. data/test/fixtures/vcr_cassettes/get_ticker.yml +105 -1
  34. data/test/fixtures/vcr_cassettes/get_trade_history.yml +209 -1
  35. data/test/fixtures/vcr_cassettes/get_vesting_delegations.yml +105 -1
  36. data/test/fixtures/vcr_cassettes/get_volume.yml +213 -1
  37. data/test/fixtures/vcr_cassettes/get_witness_by_account.yml +53 -1
  38. data/test/fixtures/vcr_cassettes/look_up_witnesses.yml +53 -1
  39. data/test/fixtures/vcr_cassettes/market_history_api_all_methods.yml +1461 -1
  40. data/test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml +217 -1
  41. data/test/fixtures/vcr_cassettes/properties.yml +633 -1
  42. data/test/fixtures/vcr_cassettes/recover_transaction.yml +111 -1
  43. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml +90 -3
  44. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml +88 -3
  45. data/test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml +89 -3
  46. data/test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml +82 -3
  47. data/test/fixtures/vcr_cassettes/ssc_contracts_contract.yml +364 -3
  48. data/test/fixtures/vcr_cassettes/ssc_contracts_find.yml +81 -3
  49. data/test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml +87 -3
  50. data/test/fixtures/vcr_cassettes/stream_jsonrpc.yml +2167 -1
  51. data/test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml +1229 -1
  52. data/test/fixtures/vcr_cassettes/transaction_jsonrpc.yml +2131 -1
  53. data/test/fixtures/vcr_cassettes/unknown_chain_id.yml +1203 -1
  54. data/test/fixtures/vcr_cassettes/valid_chains.yml +1157 -1
  55. metadata +42 -42
@@ -1720,4 +1720,111 @@ http_interactions:
1720
1720
  string: '{"jsonrpc":"2.0","id":47,"error":{"code":-32603,"message":"Internal
1721
1721
  Error","data":{"error_id":"56680b60-69cf-4b02-b7dd-6dcf6c8a0a9c","jussi_request_id":"000246460624386742"}}}'
1722
1722
  recorded_at: Sun, 08 Nov 2020 06:01:31 GMT
1723
- recorded_with: VCR 6.0.0
1723
+ - request:
1724
+ method: post
1725
+ uri: https://api.steemitdev.com/
1726
+ body:
1727
+ encoding: UTF-8
1728
+ string: '{"jsonrpc":"2.0","id":42,"method":"jsonrpc.get_signature","params":{"method":"network_broadcast_api.broadcast_transaction"}}'
1729
+ headers:
1730
+ Content-Type:
1731
+ - application/json; charset=utf-8
1732
+ User-Agent:
1733
+ - steem-ruby/0.9.8
1734
+ Accept-Encoding:
1735
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1736
+ Accept:
1737
+ - "*/*"
1738
+ Host:
1739
+ - api.steemit.com
1740
+ Content-Length:
1741
+ - '68'
1742
+ response:
1743
+ status:
1744
+ code: 200
1745
+ message: OK
1746
+ headers:
1747
+ Date:
1748
+ - Sat, 30 Jul 2022 23:22:27 GMT
1749
+ Content-Type:
1750
+ - application/json
1751
+ Content-Length:
1752
+ - '203'
1753
+ Connection:
1754
+ - keep-alive
1755
+ Server:
1756
+ - nginx
1757
+ X-Jussi-Request-Id:
1758
+ - '001108488352402967'
1759
+ X-Amzn-Trace-Id:
1760
+ - Root=1-62e5bd33-1df1f2f179604c5010b7df68
1761
+ Access-Control-Allow-Origin:
1762
+ - "*"
1763
+ Access-Control-Allow-Methods:
1764
+ - GET, POST, OPTIONS
1765
+ Access-Control-Allow-Headers:
1766
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
1767
+ Strict-Transport-Security:
1768
+ - max-age=31557600; includeSubDomains; preload
1769
+ Content-Security-Policy:
1770
+ - upgrade-insecure-requests
1771
+ body:
1772
+ encoding: UTF-8
1773
+ string: '{"jsonrpc":"2.0","result":{"args":{"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"1970-01-01T00:00:00","operations":[],"extensions":[],"signatures":[]},"max_block_age":-1},"ret":{}},"id":42}'
1774
+ recorded_at: Sat, 30 Jul 2022 23:22:27 GMT
1775
+ - request:
1776
+ method: post
1777
+ uri: https://api.steemitdev.com/
1778
+ body:
1779
+ encoding: UTF-8
1780
+ string: '{"jsonrpc":"2.0","id":43,"method":"network_broadcast_api.broadcast_transaction","params":{}}'
1781
+ headers:
1782
+ Content-Type:
1783
+ - application/json; charset=utf-8
1784
+ User-Agent:
1785
+ - steem-ruby/0.9.8
1786
+ Accept-Encoding:
1787
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1788
+ Accept:
1789
+ - "*/*"
1790
+ Host:
1791
+ - api.steemit.com
1792
+ Content-Length:
1793
+ - '124'
1794
+ response:
1795
+ status:
1796
+ code: 200
1797
+ message: OK
1798
+ headers:
1799
+ Date:
1800
+ - Sat, 30 Jul 2022 23:22:27 GMT
1801
+ Content-Type:
1802
+ - application/json
1803
+ Content-Length:
1804
+ - '175'
1805
+ Connection:
1806
+ - keep-alive
1807
+ Server:
1808
+ - nginx
1809
+ X-Jussi-Error-Id:
1810
+ - 42f4623f-30e1-4088-b326-817f438c4178
1811
+ X-Jussi-Request-Id:
1812
+ - '000387091615014197'
1813
+ X-Amzn-Trace-Id:
1814
+ - Root=1-62e5bd33-3f200a73349cadf24b221436
1815
+ Access-Control-Allow-Origin:
1816
+ - "*"
1817
+ Access-Control-Allow-Methods:
1818
+ - GET, POST, OPTIONS
1819
+ Access-Control-Allow-Headers:
1820
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
1821
+ Strict-Transport-Security:
1822
+ - max-age=31557600; includeSubDomains; preload
1823
+ Content-Security-Policy:
1824
+ - upgrade-insecure-requests
1825
+ body:
1826
+ encoding: UTF-8
1827
+ string: '{"jsonrpc":"2.0","id":43,"error":{"code":-32603,"message":"Internal
1828
+ Error","data":{"error_id":"42f4623f-30e1-4088-b326-817f438c4178","jussi_request_id":"000244533330282595"}}}'
1829
+ recorded_at: Sat, 30 Jul 2022 23:22:27 GMT
1830
+ recorded_with: VCR 6.1.0
@@ -13767,4 +13767,169 @@ http_interactions:
13767
13767
  string: '{"jsonrpc":"2.0","id":21,"error":{"code":-32603,"message":"Internal
13768
13768
  Error","data":{"error_id":"c1a12c6e-5326-40da-adc2-2c66d6ce623c","jussi_request_id":"000399124310312768"}}}'
13769
13769
  recorded_at: Sun, 08 Nov 2020 06:00:50 GMT
13770
- recorded_with: VCR 6.0.0
13770
+ - request:
13771
+ method: post
13772
+ uri: https://api.steemitdev.com/
13773
+ body:
13774
+ encoding: UTF-8
13775
+ string: '{"jsonrpc":"2.0","id":61,"method":"condenser_api.broadcast_block","params":[]}'
13776
+ headers:
13777
+ Content-Type:
13778
+ - application/json; charset=utf-8
13779
+ User-Agent:
13780
+ - steem-ruby/0.9.8
13781
+ Accept-Encoding:
13782
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
13783
+ Accept:
13784
+ - "*/*"
13785
+ Host:
13786
+ - api.steemit.com
13787
+ Content-Length:
13788
+ - '91'
13789
+ response:
13790
+ status:
13791
+ code: 200
13792
+ message: OK
13793
+ headers:
13794
+ Date:
13795
+ - Sat, 30 Jul 2022 23:22:44 GMT
13796
+ Content-Type:
13797
+ - application/json
13798
+ Content-Length:
13799
+ - '433'
13800
+ Connection:
13801
+ - keep-alive
13802
+ Server:
13803
+ - nginx
13804
+ X-Jussi-Request-Id:
13805
+ - '000811191976101231'
13806
+ X-Amzn-Trace-Id:
13807
+ - Root=1-62e5bd44-64cf91c9644abcb5590eea11
13808
+ Access-Control-Allow-Origin:
13809
+ - "*"
13810
+ Access-Control-Allow-Methods:
13811
+ - GET, POST, OPTIONS
13812
+ Access-Control-Allow-Headers:
13813
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
13814
+ Strict-Transport-Security:
13815
+ - max-age=31557600; includeSubDomains; preload
13816
+ Content-Security-Policy:
13817
+ - upgrade-insecure-requests
13818
+ body:
13819
+ encoding: UTF-8
13820
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
13821
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
13822
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":1744,"method":"broadcast_block","hostname":"","timestamp":"2022-07-30T23:22:44"},"format":"args.size()
13823
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":61}'
13824
+ recorded_at: Sat, 30 Jul 2022 23:22:44 GMT
13825
+ - request:
13826
+ method: post
13827
+ uri: https://api.steemitdev.com/
13828
+ body:
13829
+ encoding: UTF-8
13830
+ string: '{"jsonrpc":"2.0","id":62,"method":"condenser_api.broadcast_transaction","params":[]}'
13831
+ headers:
13832
+ Content-Type:
13833
+ - application/json; charset=utf-8
13834
+ User-Agent:
13835
+ - steem-ruby/0.9.8
13836
+ Accept-Encoding:
13837
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
13838
+ Accept:
13839
+ - "*/*"
13840
+ Host:
13841
+ - api.steemit.com
13842
+ Content-Length:
13843
+ - '78'
13844
+ response:
13845
+ status:
13846
+ code: 200
13847
+ message: OK
13848
+ headers:
13849
+ Date:
13850
+ - Sat, 30 Jul 2022 23:22:44 GMT
13851
+ Content-Type:
13852
+ - application/json
13853
+ Content-Length:
13854
+ - '175'
13855
+ Connection:
13856
+ - keep-alive
13857
+ Server:
13858
+ - nginx
13859
+ X-Jussi-Error-Id:
13860
+ - 921af047-eb35-4996-afc4-37c51d77148c
13861
+ X-Jussi-Request-Id:
13862
+ - '000683984676887642'
13863
+ X-Amzn-Trace-Id:
13864
+ - Root=1-62e5bd44-555b77fa1b6fe6fb182e4334
13865
+ Access-Control-Allow-Origin:
13866
+ - "*"
13867
+ Access-Control-Allow-Methods:
13868
+ - GET, POST, OPTIONS
13869
+ Access-Control-Allow-Headers:
13870
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
13871
+ Strict-Transport-Security:
13872
+ - max-age=31557600; includeSubDomains; preload
13873
+ Content-Security-Policy:
13874
+ - upgrade-insecure-requests
13875
+ body:
13876
+ encoding: UTF-8
13877
+ string: '{"jsonrpc":"2.0","id":62,"error":{"code":-32603,"message":"Internal
13878
+ Error","data":{"error_id":"921af047-eb35-4996-afc4-37c51d77148c","jussi_request_id":"000391122329997238"}}}'
13879
+ recorded_at: Sat, 30 Jul 2022 23:22:44 GMT
13880
+ - request:
13881
+ method: post
13882
+ uri: https://api.steemitdev.com/
13883
+ body:
13884
+ encoding: UTF-8
13885
+ string: '{"jsonrpc":"2.0","id":63,"method":"condenser_api.broadcast_transaction_synchronous","params":[]}'
13886
+ headers:
13887
+ Content-Type:
13888
+ - application/json; charset=utf-8
13889
+ User-Agent:
13890
+ - steem-ruby/0.9.8
13891
+ Accept-Encoding:
13892
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
13893
+ Accept:
13894
+ - "*/*"
13895
+ Host:
13896
+ - api.steemit.com
13897
+ Content-Length:
13898
+ - '84'
13899
+ response:
13900
+ status:
13901
+ code: 200
13902
+ message: OK
13903
+ headers:
13904
+ Date:
13905
+ - Sat, 30 Jul 2022 23:22:44 GMT
13906
+ Content-Type:
13907
+ - application/json
13908
+ Content-Length:
13909
+ - '175'
13910
+ Connection:
13911
+ - keep-alive
13912
+ Server:
13913
+ - nginx
13914
+ X-Jussi-Error-Id:
13915
+ - a50bb9dc-324a-4705-9977-e06a6a808b16
13916
+ X-Jussi-Request-Id:
13917
+ - '000234266630582383'
13918
+ X-Amzn-Trace-Id:
13919
+ - Root=1-62e5bd44-3a199b272d23c419335a3b38
13920
+ Access-Control-Allow-Origin:
13921
+ - "*"
13922
+ Access-Control-Allow-Methods:
13923
+ - GET, POST, OPTIONS
13924
+ Access-Control-Allow-Headers:
13925
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
13926
+ Strict-Transport-Security:
13927
+ - max-age=31557600; includeSubDomains; preload
13928
+ Content-Security-Policy:
13929
+ - upgrade-insecure-requests
13930
+ body:
13931
+ encoding: UTF-8
13932
+ string: '{"jsonrpc":"2.0","id":63,"error":{"code":-32603,"message":"Internal
13933
+ Error","data":{"error_id":"a50bb9dc-324a-4705-9977-e06a6a808b16","jussi_request_id":"000393478999228830"}}}'
13934
+ recorded_at: Sat, 30 Jul 2022 23:22:44 GMT
13935
+ recorded_with: VCR 6.1.0