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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e19fc174759ced3e7e36ca803a0c75c5e9a2d0ad4dd2500df7349aa586beb951
4
- data.tar.gz: 616820b9a03134f1a88eb9dba05eac08e06aa451c4bc244005f16ba0cdb5b29d
3
+ metadata.gz: 5e847f8efb253f66c85ffab316982e914bac34fa7f33ed49cf20db71b9778a57
4
+ data.tar.gz: df026b194ae3d7f2bd856d9666f41f9b09912418413dc93a180e27c4782906b9
5
5
  SHA512:
6
- metadata.gz: 602bc8f91295d5c731cbfb1d5c077ef35e0f7d1048d7c43a1ccbffd767aab1d9bb69dd16aee84ac9abdc1819ed9dfc7297e0a92bcc5f274ec89940a427af33d2
7
- data.tar.gz: 4b9ca072034850498b5807cfd5e92152921b5e6b279356da6b2e635e636255a92cef82f74218d51ea46a685468cc8cd2af6c7b4a7301663c9697b5eab47cd557
6
+ metadata.gz: 15f6843970e8deb26b96c8628be9ac3b5b7084c963a867f8dc62f6423c1f7212126a7ff84a665aac141d793e6ebe562e2a9a1ee98cfc8978fe7882686fd08c15
7
+ data.tar.gz: a05ff0ddbd9444d2f902e80fdf9feac6a39ff2f92f1b9761d768b0e45ad2b88c234100e08625ffc205311e8b6e56af75064e2daaba9cc5cb3484c13ccf4e37eb
data/README.md CHANGED
@@ -535,7 +535,7 @@ options = {
535
535
  url: 'https://api.hive.blog',
536
536
  failover_urls: [
537
537
  'https://anyx.io',
538
- 'https://api.hivekings.com',
538
+ 'https://rpc.ecency.com'
539
539
  ]
540
540
  }
541
541
 
data/lib/radiator/api.rb CHANGED
@@ -149,17 +149,17 @@ module Radiator
149
149
  DEFAULT_HIVE_FAILOVER_URLS = [
150
150
  DEFAULT_HIVE_URL,
151
151
  'https://anyx.io',
152
- 'https://api.hivekings.com',
152
+ #'https://api.hivekings.com',
153
153
  'https://api.hive.blog',
154
154
  'https://techcoderx.com',
155
- 'https://rpc.ecency.com',
155
+ #'https://rpc.ecency.com',
156
156
  'https://hive.roelandp.nl',
157
157
  'https://api.c0ff33a.uk',
158
158
  'https://api.deathwing.me',
159
159
  'https://hive-api.arcange.eu',
160
- 'https://fin.hive.3speak.co',
161
- 'https://hived.privex.io',
160
+ #'https://hived.privex.io',
162
161
  'https://api.pharesim.me',
162
+ 'https://hived.emre.sh',
163
163
  # 'https://rpc.ausbit.dev'
164
164
  ]
165
165
 
@@ -229,8 +229,8 @@ module Radiator
229
229
 
230
230
  def self.network_api(chain, api_name, options = {})
231
231
  api = case chain.to_sym
232
- when :steem then Steem::Api.clone(freeze: true) rescue Api.clone
233
- when :hive then Hive::Api.clone(freeze: true) rescue Api.clone
232
+ when :steem then Steem::Api.clone(freeze: false) rescue Api.clone
233
+ when :hive then Hive::Api.clone(freeze: false) rescue Api.clone
234
234
  else; raise ApiError, "Unsupported chain: #{chain}"
235
235
  end
236
236
 
@@ -877,7 +877,7 @@ module Radiator
877
877
  if @recover_transactions_on_error
878
878
  begin
879
879
  if !!@restful_url
880
- JSON[open("#{@restful_url}/account_history_api/get_transaction?id=#{parser.trx_id}").read].tap do |tx|
880
+ JSON[Uri::open("#{@restful_url}/account_history_api/get_transaction?id=#{parser.trx_id}").read].tap do |tx|
881
881
  response[:result][:block_num] = tx['block_num']
882
882
  response[:result][:trx_num] = tx['transaction_num']
883
883
  end
@@ -913,7 +913,7 @@ module Radiator
913
913
 
914
914
  # Also note, this check is done **without** net-http-persistent.
915
915
 
916
- response = open(url + HEALTH_URI)
916
+ response = Uri::open(url + HEALTH_URI)
917
917
  response = JSON[response.read]
918
918
 
919
919
  if !!response['error']
@@ -10,7 +10,7 @@ module Radiator
10
10
  MAX_BACKOFF = 60.0
11
11
 
12
12
  def initialize(options = {})
13
- @root_url = options[:root_url] || 'https://api.steem-engine.com/rpc'
13
+ @root_url = options[:root_url] || 'https://api.steem-engine.net/rpc'
14
14
 
15
15
  @self_hashie_logger = false
16
16
  @hashie_logger = if options[:hashie_logger].nil?
@@ -5,7 +5,7 @@ module Radiator
5
5
  # See: https://github.com/harpagon210/steemsmartcontracts/wiki/JSON-RPC-server#1-the-blockchain-endpoint-httplocalhost5000blockchain
6
6
  class Blockchain < BaseSteemSmartContractRPC
7
7
  # @param options [::Hash] The attributes
8
- # @option options [String] :url Specify the full node end-point. Default: https://api.steem-engine.com/rpc/blockchain
8
+ # @option options [String] :url Specify the full node end-point. Default: https://api.steem-engine.net/rpc/blockchain
9
9
  def initialize(options = {})
10
10
  super
11
11
  @url = options[:url] || "#{@root_url}/blockchain"
@@ -5,7 +5,7 @@ module Radiator
5
5
  # See: https://github.com/harpagon210/steemsmartcontracts/wiki/JSON-RPC-server#3-the-contracts-endpoint-httplocalhost5000contracts
6
6
  class Contracts < BaseSteemSmartContractRPC
7
7
  # @param options [::Hash] The attributes
8
- # @option options [String] :url Specify the full node end-point. Default: https://api.steem-engine.com/rpc/contracts
8
+ # @option options [String] :url Specify the full node end-point. Default: https://api.steem-engine.net/rpc/contracts
9
9
  def initialize(options = {})
10
10
  super
11
11
  @url = options[:url] || "#{@root_url}/contracts"
@@ -11,7 +11,7 @@ module Radiator
11
11
  MIN_BLOCK_PRODUCTION = 3.0
12
12
 
13
13
  # @param options [::Hash] The attributes
14
- # @option options [String] :url Specify the full node end-point. Default: https://api.steem-engine.com/rpc/blockchain
14
+ # @option options [String] :url Specify the full node end-point. Default: https://api.steem-engine.net/rpc/blockchain
15
15
  def initialize(options = {})
16
16
  super
17
17
  end
@@ -1,4 +1,4 @@
1
1
  module Radiator
2
- VERSION = '0.4.8'
2
+ VERSION = '0.4.9'
3
3
  AGENT_ID = "radiator/#{VERSION}"
4
4
  end
data/radiator.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency 'minitest-line', '~> 0.6.3'
24
24
  spec.add_development_dependency 'minitest-proveit', '~> 1.0', '>= 1.0.0'
25
25
  spec.add_development_dependency 'webmock', '~> 3.6', '>= 3.6.0'
26
- spec.add_development_dependency 'simplecov', '~> 0.19.0'
26
+ spec.add_development_dependency 'simplecov', '~> 0.21.2'
27
27
  spec.add_development_dependency 'vcr', '~> 6.0', '>= 6.0.0'
28
28
  spec.add_development_dependency 'yard', '~> 0.9.20'
29
29
  spec.add_development_dependency 'pry', '~> 0.11', '>= 0.11.3'
@@ -33,8 +33,8 @@ Gem::Specification.new do |spec|
33
33
  # net-http-persistent has an open-ended dependency because radiator directly
34
34
  # supports net-http-persistent-4.0.0 as well as net-http-persistent-2.5.2.
35
35
  spec.add_dependency('net-http-persistent', '>= 2.5.2')
36
- spec.add_dependency('steem-ruby', '~> 0.9', '>= 0.9.5')
37
- spec.add_dependency('hive-ruby', '~> 1.0', '>= 1.0.2')
36
+ spec.add_dependency('steem-ruby', '~> 0.9', '>= 0.9.7')
37
+ spec.add_dependency('hive-ruby', '~> 1.0', '>= 1.0.3')
38
38
  spec.add_dependency('json', '~> 2.0', '>= 2.0.2')
39
39
  spec.add_dependency('logging', '~> 2.2', '>= 2.2.0')
40
40
  # hashie is floating because we prefer 4.1 or higher, but the official
@@ -1462,4 +1462,210 @@ http_interactions:
1462
1462
  encoding: UTF-8
1463
1463
  string: '{"jsonrpc":"2.0","result":{"accounts":[]},"id":49}'
1464
1464
  recorded_at: Sun, 08 Nov 2020 06:01:35 GMT
1465
- recorded_with: VCR 6.0.0
1465
+ - request:
1466
+ method: post
1467
+ uri: https://api.steemitdev.com/
1468
+ body:
1469
+ encoding: UTF-8
1470
+ string: '{"jsonrpc":"2.0","id":119,"method":"jsonrpc.get_signature","params":{"method":"account_by_key_api.get_key_references"}}'
1471
+ headers:
1472
+ Content-Type:
1473
+ - application/json; charset=utf-8
1474
+ User-Agent:
1475
+ - steem-ruby/0.9.8
1476
+ Accept-Encoding:
1477
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1478
+ Accept:
1479
+ - "*/*"
1480
+ Host:
1481
+ - api.steemit.com
1482
+ Content-Length:
1483
+ - '151'
1484
+ response:
1485
+ status:
1486
+ code: 200
1487
+ message: OK
1488
+ headers:
1489
+ Date:
1490
+ - Sat, 30 Jul 2022 23:23:29 GMT
1491
+ Content-Type:
1492
+ - application/json
1493
+ Content-Length:
1494
+ - '78'
1495
+ Connection:
1496
+ - keep-alive
1497
+ Server:
1498
+ - nginx
1499
+ X-Jussi-Cache-Hit:
1500
+ - appbase.jsonrpc.get_signature.params={"method":"account_by_key_api.get_key_references"}
1501
+ X-Jussi-Request-Id:
1502
+ - '000532573234641318'
1503
+ X-Amzn-Trace-Id:
1504
+ - Root=1-62e5bd71-0749c9a123dd1b640abeb72d
1505
+ Access-Control-Allow-Origin:
1506
+ - "*"
1507
+ Access-Control-Allow-Methods:
1508
+ - GET, POST, OPTIONS
1509
+ Access-Control-Allow-Headers:
1510
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
1511
+ Strict-Transport-Security:
1512
+ - max-age=31557600; includeSubDomains; preload
1513
+ Content-Security-Policy:
1514
+ - upgrade-insecure-requests
1515
+ body:
1516
+ encoding: UTF-8
1517
+ string: '{"id":119,"jsonrpc":"2.0","result":{"args":{"keys":[]},"ret":{"accounts":[]}}}'
1518
+ recorded_at: Sat, 30 Jul 2022 23:23:29 GMT
1519
+ - request:
1520
+ method: post
1521
+ uri: https://api.steemitdev.com/
1522
+ body:
1523
+ encoding: UTF-8
1524
+ string: '{"jsonrpc":"2.0","id":120,"method":"account_by_key_api.get_key_references","params":{}}'
1525
+ headers:
1526
+ Content-Type:
1527
+ - application/json; charset=utf-8
1528
+ User-Agent:
1529
+ - steem-ruby/0.9.8
1530
+ Accept-Encoding:
1531
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1532
+ Accept:
1533
+ - "*/*"
1534
+ Host:
1535
+ - api.steemit.com
1536
+ Content-Length:
1537
+ - '119'
1538
+ response:
1539
+ status:
1540
+ code: 200
1541
+ message: OK
1542
+ headers:
1543
+ Date:
1544
+ - Sat, 30 Jul 2022 23:23:29 GMT
1545
+ Content-Type:
1546
+ - application/json
1547
+ Content-Length:
1548
+ - '51'
1549
+ Connection:
1550
+ - keep-alive
1551
+ Server:
1552
+ - nginx
1553
+ X-Jussi-Request-Id:
1554
+ - '000715515872417238'
1555
+ X-Amzn-Trace-Id:
1556
+ - Root=1-62e5bd71-3057e8764386a7a75eef14bd
1557
+ Access-Control-Allow-Origin:
1558
+ - "*"
1559
+ Access-Control-Allow-Methods:
1560
+ - GET, POST, OPTIONS
1561
+ Access-Control-Allow-Headers:
1562
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
1563
+ Strict-Transport-Security:
1564
+ - max-age=31557600; includeSubDomains; preload
1565
+ Content-Security-Policy:
1566
+ - upgrade-insecure-requests
1567
+ body:
1568
+ encoding: UTF-8
1569
+ string: '{"jsonrpc":"2.0","result":{"accounts":[]},"id":120}'
1570
+ recorded_at: Sat, 30 Jul 2022 23:23:29 GMT
1571
+ - request:
1572
+ method: post
1573
+ uri: https://api.steemitdev.com/
1574
+ body:
1575
+ encoding: UTF-8
1576
+ string: '{"jsonrpc":"2.0","id":6,"method":"jsonrpc.get_signature","params":{"method":"account_by_key_api.get_key_references"}}'
1577
+ headers:
1578
+ Content-Type:
1579
+ - application/json; charset=utf-8
1580
+ User-Agent:
1581
+ - steem-ruby/0.9.8
1582
+ Accept-Encoding:
1583
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1584
+ Accept:
1585
+ - "*/*"
1586
+ response:
1587
+ status:
1588
+ code: 200
1589
+ message: OK
1590
+ headers:
1591
+ Date:
1592
+ - Sat, 30 Jul 2022 23:27:43 GMT
1593
+ Content-Type:
1594
+ - application/json
1595
+ Content-Length:
1596
+ - '76'
1597
+ Connection:
1598
+ - keep-alive
1599
+ Server:
1600
+ - nginx
1601
+ X-Jussi-Request-Id:
1602
+ - '000541999303129455'
1603
+ X-Amzn-Trace-Id:
1604
+ - Root=1-62e5be6f-0025e1a63e1f4d4c28e368b7
1605
+ Access-Control-Allow-Origin:
1606
+ - "*"
1607
+ Access-Control-Allow-Methods:
1608
+ - GET, POST, OPTIONS
1609
+ Access-Control-Allow-Headers:
1610
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
1611
+ Strict-Transport-Security:
1612
+ - max-age=31557600; includeSubDomains; preload
1613
+ Content-Security-Policy:
1614
+ - upgrade-insecure-requests
1615
+ body:
1616
+ encoding: UTF-8
1617
+ string: '{"jsonrpc":"2.0","result":{"args":{"keys":[]},"ret":{"accounts":[]}},"id":6}'
1618
+ recorded_at: Sat, 30 Jul 2022 23:27:43 GMT
1619
+ - request:
1620
+ method: post
1621
+ uri: https://api.steemitdev.com/
1622
+ body:
1623
+ encoding: UTF-8
1624
+ string: '{"jsonrpc":"2.0","id":7,"method":"account_by_key_api.get_key_references","params":{}}'
1625
+ headers:
1626
+ Content-Type:
1627
+ - application/json; charset=utf-8
1628
+ User-Agent:
1629
+ - steem-ruby/0.9.8
1630
+ Accept-Encoding:
1631
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1632
+ Accept:
1633
+ - "*/*"
1634
+ Host:
1635
+ - api.steemitdev.com
1636
+ Content-Length:
1637
+ - '117'
1638
+ response:
1639
+ status:
1640
+ code: 200
1641
+ message: OK
1642
+ headers:
1643
+ Date:
1644
+ - Sat, 30 Jul 2022 23:27:43 GMT
1645
+ Content-Type:
1646
+ - application/json
1647
+ Content-Length:
1648
+ - '49'
1649
+ Connection:
1650
+ - keep-alive
1651
+ Server:
1652
+ - nginx
1653
+ X-Jussi-Request-Id:
1654
+ - '000750131505189847'
1655
+ X-Amzn-Trace-Id:
1656
+ - Root=1-62e5be6f-79f511543b5294681074ed4b
1657
+ Access-Control-Allow-Origin:
1658
+ - "*"
1659
+ Access-Control-Allow-Methods:
1660
+ - GET, POST, OPTIONS
1661
+ Access-Control-Allow-Headers:
1662
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
1663
+ Strict-Transport-Security:
1664
+ - max-age=31557600; includeSubDomains; preload
1665
+ Content-Security-Policy:
1666
+ - upgrade-insecure-requests
1667
+ body:
1668
+ encoding: UTF-8
1669
+ string: '{"jsonrpc":"2.0","result":{"accounts":[]},"id":7}'
1670
+ recorded_at: Sat, 30 Jul 2022 23:27:44 GMT
1671
+ recorded_with: VCR 6.1.0
@@ -13799,4 +13799,334 @@ http_interactions:
13799
13799
  string: '{"jsonrpc":"2.0","id":77,"error":{"code":-32603,"message":"Internal
13800
13800
  Error","data":{"error_id":"6cb29eda-0aea-41ed-ba30-b8dadbba7a9d","jussi_request_id":"000864192635637621"}}}'
13801
13801
  recorded_at: Sun, 08 Nov 2020 05:48:07 GMT
13802
- recorded_with: VCR 6.0.0
13802
+ - request:
13803
+ method: post
13804
+ uri: https://api.steemitdev.com/
13805
+ body:
13806
+ encoding: UTF-8
13807
+ string: '{"jsonrpc":"2.0","id":52,"method":"condenser_api.broadcast_block","params":[]}'
13808
+ headers:
13809
+ Content-Type:
13810
+ - application/json; charset=utf-8
13811
+ User-Agent:
13812
+ - steem-ruby/0.9.8
13813
+ Accept-Encoding:
13814
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
13815
+ Accept:
13816
+ - "*/*"
13817
+ Host:
13818
+ - api.steemit.com
13819
+ Content-Length:
13820
+ - '80'
13821
+ response:
13822
+ status:
13823
+ code: 200
13824
+ message: OK
13825
+ headers:
13826
+ Date:
13827
+ - Sat, 30 Jul 2022 23:22:31 GMT
13828
+ Content-Type:
13829
+ - application/json
13830
+ Content-Length:
13831
+ - '433'
13832
+ Connection:
13833
+ - keep-alive
13834
+ Server:
13835
+ - nginx
13836
+ X-Jussi-Request-Id:
13837
+ - '000604680530108954'
13838
+ X-Amzn-Trace-Id:
13839
+ - Root=1-62e5bd37-300bcc2656ee673b7b136347
13840
+ Access-Control-Allow-Origin:
13841
+ - "*"
13842
+ Access-Control-Allow-Methods:
13843
+ - GET, POST, OPTIONS
13844
+ Access-Control-Allow-Headers:
13845
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
13846
+ Strict-Transport-Security:
13847
+ - max-age=31557600; includeSubDomains; preload
13848
+ Content-Security-Policy:
13849
+ - upgrade-insecure-requests
13850
+ body:
13851
+ encoding: UTF-8
13852
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
13853
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
13854
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":1744,"method":"broadcast_block","hostname":"","timestamp":"2022-07-30T23:22:31"},"format":"args.size()
13855
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":52}'
13856
+ recorded_at: Sat, 30 Jul 2022 23:22:31 GMT
13857
+ - request:
13858
+ method: post
13859
+ uri: https://api.steemitdev.com/
13860
+ body:
13861
+ encoding: UTF-8
13862
+ string: '{"jsonrpc":"2.0","id":53,"method":"condenser_api.broadcast_transaction","params":[]}'
13863
+ headers:
13864
+ Content-Type:
13865
+ - application/json; charset=utf-8
13866
+ User-Agent:
13867
+ - steem-ruby/0.9.8
13868
+ Accept-Encoding:
13869
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
13870
+ Accept:
13871
+ - "*/*"
13872
+ Host:
13873
+ - api.steemit.com
13874
+ Content-Length:
13875
+ - '78'
13876
+ response:
13877
+ status:
13878
+ code: 200
13879
+ message: OK
13880
+ headers:
13881
+ Date:
13882
+ - Sat, 30 Jul 2022 23:22:31 GMT
13883
+ Content-Type:
13884
+ - application/json
13885
+ Content-Length:
13886
+ - '175'
13887
+ Connection:
13888
+ - keep-alive
13889
+ Server:
13890
+ - nginx
13891
+ X-Jussi-Error-Id:
13892
+ - 7a621cbb-00ad-44cb-91e6-d0d156c7065f
13893
+ X-Jussi-Request-Id:
13894
+ - '000644152729539035'
13895
+ X-Amzn-Trace-Id:
13896
+ - Root=1-62e5bd37-2dddacd64f70b1b923ef8aec
13897
+ Access-Control-Allow-Origin:
13898
+ - "*"
13899
+ Access-Control-Allow-Methods:
13900
+ - GET, POST, OPTIONS
13901
+ Access-Control-Allow-Headers:
13902
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
13903
+ Strict-Transport-Security:
13904
+ - max-age=31557600; includeSubDomains; preload
13905
+ Content-Security-Policy:
13906
+ - upgrade-insecure-requests
13907
+ body:
13908
+ encoding: UTF-8
13909
+ string: '{"jsonrpc":"2.0","id":53,"error":{"code":-32603,"message":"Internal
13910
+ Error","data":{"error_id":"7a621cbb-00ad-44cb-91e6-d0d156c7065f","jussi_request_id":"000512341866016685"}}}'
13911
+ recorded_at: Sat, 30 Jul 2022 23:22:31 GMT
13912
+ - request:
13913
+ method: post
13914
+ uri: https://api.steemitdev.com/
13915
+ body:
13916
+ encoding: UTF-8
13917
+ string: '{"jsonrpc":"2.0","id":54,"method":"condenser_api.broadcast_transaction_synchronous","params":[]}'
13918
+ headers:
13919
+ Content-Type:
13920
+ - application/json; charset=utf-8
13921
+ User-Agent:
13922
+ - steem-ruby/0.9.8
13923
+ Accept-Encoding:
13924
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
13925
+ Accept:
13926
+ - "*/*"
13927
+ Host:
13928
+ - api.steemit.com
13929
+ Content-Length:
13930
+ - '84'
13931
+ response:
13932
+ status:
13933
+ code: 200
13934
+ message: OK
13935
+ headers:
13936
+ Date:
13937
+ - Sat, 30 Jul 2022 23:22:31 GMT
13938
+ Content-Type:
13939
+ - application/json
13940
+ Content-Length:
13941
+ - '175'
13942
+ Connection:
13943
+ - keep-alive
13944
+ Server:
13945
+ - nginx
13946
+ X-Jussi-Error-Id:
13947
+ - 3174d0dc-f30f-415e-9848-4406426a6bac
13948
+ X-Jussi-Request-Id:
13949
+ - '000353291244941137'
13950
+ X-Amzn-Trace-Id:
13951
+ - Root=1-62e5bd37-2a4a95db740a307a2070358e
13952
+ Access-Control-Allow-Origin:
13953
+ - "*"
13954
+ Access-Control-Allow-Methods:
13955
+ - GET, POST, OPTIONS
13956
+ Access-Control-Allow-Headers:
13957
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
13958
+ Strict-Transport-Security:
13959
+ - max-age=31557600; includeSubDomains; preload
13960
+ Content-Security-Policy:
13961
+ - upgrade-insecure-requests
13962
+ body:
13963
+ encoding: UTF-8
13964
+ string: '{"jsonrpc":"2.0","id":54,"error":{"code":-32603,"message":"Internal
13965
+ Error","data":{"error_id":"3174d0dc-f30f-415e-9848-4406426a6bac","jussi_request_id":"000694710482848900"}}}'
13966
+ recorded_at: Sat, 30 Jul 2022 23:22:31 GMT
13967
+ - request:
13968
+ method: post
13969
+ uri: https://api.steemitdev.com/
13970
+ body:
13971
+ encoding: UTF-8
13972
+ string: '{"jsonrpc":"2.0","id":107,"method":"condenser_api.broadcast_block","params":[]}'
13973
+ headers:
13974
+ Content-Type:
13975
+ - application/json; charset=utf-8
13976
+ User-Agent:
13977
+ - steem-ruby/0.9.8
13978
+ Accept-Encoding:
13979
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
13980
+ Accept:
13981
+ - "*/*"
13982
+ Host:
13983
+ - api.steemitdev.com
13984
+ Content-Length:
13985
+ - '93'
13986
+ response:
13987
+ status:
13988
+ code: 200
13989
+ message: OK
13990
+ headers:
13991
+ Date:
13992
+ - Sat, 30 Jul 2022 23:28:50 GMT
13993
+ Content-Type:
13994
+ - application/json
13995
+ Content-Length:
13996
+ - '434'
13997
+ Connection:
13998
+ - keep-alive
13999
+ Server:
14000
+ - nginx
14001
+ X-Jussi-Request-Id:
14002
+ - '000396532448393917'
14003
+ X-Amzn-Trace-Id:
14004
+ - Root=1-62e5beb2-0e9e74037519359a4d53b190
14005
+ Access-Control-Allow-Origin:
14006
+ - "*"
14007
+ Access-Control-Allow-Methods:
14008
+ - GET, POST, OPTIONS
14009
+ Access-Control-Allow-Headers:
14010
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
14011
+ Strict-Transport-Security:
14012
+ - max-age=31557600; includeSubDomains; preload
14013
+ Content-Security-Policy:
14014
+ - upgrade-insecure-requests
14015
+ body:
14016
+ encoding: UTF-8
14017
+ string: '{"jsonrpc":"2.0","error":{"code":-32003,"message":"Assert Exception:args.size()
14018
+ == 1: Expected #s argument(s), was 0","data":{"code":10,"name":"assert_exception","message":"Assert
14019
+ Exception","stack":[{"context":{"level":"error","file":"condenser_api.cpp","line":1744,"method":"broadcast_block","hostname":"","timestamp":"2022-07-30T23:28:50"},"format":"args.size()
14020
+ == 1: Expected #s argument(s), was ${n}","data":{"n":0}}]}},"id":107}'
14021
+ recorded_at: Sat, 30 Jul 2022 23:28:50 GMT
14022
+ - request:
14023
+ method: post
14024
+ uri: https://api.steemitdev.com/
14025
+ body:
14026
+ encoding: UTF-8
14027
+ string: '{"jsonrpc":"2.0","id":108,"method":"condenser_api.broadcast_transaction","params":[]}'
14028
+ headers:
14029
+ Content-Type:
14030
+ - application/json; charset=utf-8
14031
+ User-Agent:
14032
+ - steem-ruby/0.9.8
14033
+ Accept-Encoding:
14034
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14035
+ Accept:
14036
+ - "*/*"
14037
+ Host:
14038
+ - api.steemitdev.com
14039
+ Content-Length:
14040
+ - '79'
14041
+ response:
14042
+ status:
14043
+ code: 200
14044
+ message: OK
14045
+ headers:
14046
+ Date:
14047
+ - Sat, 30 Jul 2022 23:28:50 GMT
14048
+ Content-Type:
14049
+ - application/json
14050
+ Content-Length:
14051
+ - '176'
14052
+ Connection:
14053
+ - keep-alive
14054
+ Server:
14055
+ - nginx
14056
+ X-Jussi-Error-Id:
14057
+ - 0f0731be-5f3c-435a-afcb-f525fccc236a
14058
+ X-Jussi-Request-Id:
14059
+ - '001116942767553980'
14060
+ X-Amzn-Trace-Id:
14061
+ - Root=1-62e5beb2-09bbc9fb6c52d87f370553cd
14062
+ Access-Control-Allow-Origin:
14063
+ - "*"
14064
+ Access-Control-Allow-Methods:
14065
+ - GET, POST, OPTIONS
14066
+ Access-Control-Allow-Headers:
14067
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
14068
+ Strict-Transport-Security:
14069
+ - max-age=31557600; includeSubDomains; preload
14070
+ Content-Security-Policy:
14071
+ - upgrade-insecure-requests
14072
+ body:
14073
+ encoding: UTF-8
14074
+ string: '{"jsonrpc":"2.0","id":108,"error":{"code":-32603,"message":"Internal
14075
+ Error","data":{"error_id":"0f0731be-5f3c-435a-afcb-f525fccc236a","jussi_request_id":"000531170567653698"}}}'
14076
+ recorded_at: Sat, 30 Jul 2022 23:28:50 GMT
14077
+ - request:
14078
+ method: post
14079
+ uri: https://api.steemitdev.com/
14080
+ body:
14081
+ encoding: UTF-8
14082
+ string: '{"jsonrpc":"2.0","id":109,"method":"condenser_api.broadcast_transaction_synchronous","params":[]}'
14083
+ headers:
14084
+ Content-Type:
14085
+ - application/json; charset=utf-8
14086
+ User-Agent:
14087
+ - steem-ruby/0.9.8
14088
+ Accept-Encoding:
14089
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14090
+ Accept:
14091
+ - "*/*"
14092
+ Host:
14093
+ - api.steemitdev.com
14094
+ Content-Length:
14095
+ - '85'
14096
+ response:
14097
+ status:
14098
+ code: 200
14099
+ message: OK
14100
+ headers:
14101
+ Date:
14102
+ - Sat, 30 Jul 2022 23:28:50 GMT
14103
+ Content-Type:
14104
+ - application/json
14105
+ Content-Length:
14106
+ - '176'
14107
+ Connection:
14108
+ - keep-alive
14109
+ Server:
14110
+ - nginx
14111
+ X-Jussi-Error-Id:
14112
+ - b1976db1-2050-4a96-be70-ca4d76bb443c
14113
+ X-Jussi-Request-Id:
14114
+ - '000461800165481172'
14115
+ X-Amzn-Trace-Id:
14116
+ - Root=1-62e5beb2-32d5d90f09c65d0944a60d03
14117
+ Access-Control-Allow-Origin:
14118
+ - "*"
14119
+ Access-Control-Allow-Methods:
14120
+ - GET, POST, OPTIONS
14121
+ Access-Control-Allow-Headers:
14122
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
14123
+ Strict-Transport-Security:
14124
+ - max-age=31557600; includeSubDomains; preload
14125
+ Content-Security-Policy:
14126
+ - upgrade-insecure-requests
14127
+ body:
14128
+ encoding: UTF-8
14129
+ string: '{"jsonrpc":"2.0","id":109,"error":{"code":-32603,"message":"Internal
14130
+ Error","data":{"error_id":"b1976db1-2050-4a96-be70-ca4d76bb443c","jussi_request_id":"000357280393288473"}}}'
14131
+ recorded_at: Sat, 30 Jul 2022 23:28:50 GMT
14132
+ recorded_with: VCR 6.1.0