Commit 71010122 authored by inertia's avatar inertia

eclipse update

parent 8cc47d69
......@@ -4,7 +4,7 @@ position: 1
layout: full
---
Everyone is welcome to contribute code to Steemit, Inc. projects. We have a Code of Conduct;
Everyone is welcome to contribute code to Hive projects. We have a Code of Conduct;
we ask that you please follow it in all your interactions with our team and your fellow
contributors.
......@@ -60,7 +60,7 @@ We will clarify standards of acceptable behavior and we will take appropriate
and fair corrective action in response to any instances of unacceptable behavior.
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting us at github.abuse@steemit.com. All
reported by contacting us at github.abuse@hive.blog. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. We
maintain strict confidentiality with regard to the reporter of an incident.
......
......@@ -4,7 +4,7 @@ gem 'jekyll'
gem 'neatjson'
gem 'rake'
gem 'git'
gem 'steem-ruby'
gem 'hive-ruby'
gem 'html-proofer'
group :jekyll_plugins do
......
......@@ -4,7 +4,7 @@ GEM
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
base58 (0.2.3)
bindata (2.4.6)
bindata (2.4.8)
bitcoin-ruby (0.0.20)
eventmachine
ffi
......@@ -25,6 +25,14 @@ GEM
git (1.6.0)
rchardet (~> 1.8)
hashie (3.6.0)
hive-ruby (1.0.1)
base58 (~> 0.2, >= 0.2.3)
bindata (~> 2.4, >= 2.4.4)
bitcoin-ruby (~> 0.0, = 0.0.20)
ffi (~> 1.9, >= 1.9.23)
hashie (~> 3.5, >= 3.5.7)
json (~> 2.1, >= 2.1.0)
logging (~> 2.2, >= 2.2.0)
html-proofer (3.15.1)
addressable (~> 2.3)
mercenary (~> 0.3)
......@@ -59,7 +67,7 @@ GEM
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.3.0)
json (2.3.1)
kramdown (2.1.0)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
......@@ -68,12 +76,12 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
little-plugger (1.1.4)
logging (2.2.2)
logging (2.3.0)
little-plugger (~> 1.1)
multi_json (~> 1.10)
multi_json (~> 1.14)
mercenary (0.3.6)
mini_portile2 (2.4.0)
multi_json (1.14.1)
multi_json (1.15.0)
neatjson (0.9)
nokogiri (1.10.9)
mini_portile2 (~> 2.4.0)
......@@ -95,14 +103,6 @@ GEM
ffi (~> 1.9)
scrypt (3.0.7)
ffi-compiler (>= 1.0, < 2.0)
steem-ruby (0.9.4)
base58 (~> 0.2, >= 0.2.3)
bindata (~> 2.4, >= 2.4.4)
bitcoin-ruby (~> 0.0, >= 0.0.18)
ffi (~> 1.9, >= 1.9.23)
hashie (~> 3.5, >= 3.5.7)
json (~> 2.1, >= 2.1.0)
logging (~> 2.2, >= 2.2.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
typhoeus (1.3.1)
......@@ -115,13 +115,13 @@ PLATFORMS
DEPENDENCIES
git
hive-ruby
html-proofer
jekyll
jekyll-seo-tag
jekyll-sitemap
neatjson
rake
steem-ruby
BUNDLED WITH
2.1.4
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'scrape/api_definitions_job'
require 'generate/tutorials_job/base'
require 'generate/tutorials_job/javascript'
require 'generate/tutorials_job/python'
require 'generate/tutorials_job/ruby'
require 'rake/testtask'
require 'net/https'
......@@ -15,54 +11,13 @@ require 'html-proofer'
namespace :scrape do
desc "Scrape API Definitions"
task :api_defs do
url = ENV.fetch('TEST_NODE', 'https://api.openhive.network')
url = ENV.fetch('TEST_NODE', 'https://api.hive.blog')
job = Scrape::ApiDefinitionsJob.new(url: url)
count = job.perform
puts "Methods added or changed: #{count}"
end
end
namespace :gen do
desc 'Generate all known tutorial README.md files.'
task :tutorials do
puts '=' * 80
puts "JS-Tutorials:"
Rake::Task["gen:tutorials:js"].invoke
puts '=' * 80
puts "PY-Tutorials:"
Rake::Task["gen:tutorials:py"].invoke
puts '=' * 80
puts "RB-Tutorials:"
Rake::Task["gen:tutorials:rb"].invoke
end
namespace :tutorials do
desc 'Generate JS-Tutorials'
task :js, [:num, :force] do |t, args|
job = Generate::TutorialsJob::Javascript.new(num: args[:num], force: args[:force])
count = job.perform
puts "Tutorials added or changed: #{count}"
end
desc 'Generate PY-Tutorials'
task :py, [:num, :force] do |t, args|
job = Generate::TutorialsJob::Python.new(num: args[:num], force: args[:force])
count = job.perform
puts "Tutorials added or changed: #{count}"
end
desc 'Generate RB-Tutorials'
task :rb, [:num, :force] do |t, args|
job = Generate::TutorialsJob::Ruby.new(num: args[:num], force: args[:force])
count = job.perform
puts "Tutorials added or changed: #{count}"
end
end
end
namespace :production do
task :prevent_dirty_builds do
......@@ -145,16 +100,16 @@ namespace :test do
desc "Tests the curl examples of api definitions. Known APIs: #{KNOWN_APIS.join(' ')}"
task :curl, [:apis] do |t, args|
smoke = 0
url = ENV.fetch('TEST_NODE', 'https://api.openhive.network')
url = ENV.fetch('TEST_NODE', 'https://api.hive.blog')
apis = [args[:apis].split(' ').map(&:to_sym)].flatten if !!args[:apis]
apis ||= KNOWN_APIS
version = `curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_version", "params":[], "id":1}' #{url}`
version = JSON[version]['result']
blockchain_version = version['blockchain_version']
steem_rev = version['steem_revision'][0..5]
hive_rev = version['hive_revision'][0..5]
fc_rev = version['fc_revision'][0..5]
puts "node: #{url}; blockchain_version: #{blockchain_version}; steem_rev: #{steem_rev}; fc_rev: #{fc_rev}"
puts "node: #{url}; blockchain_version: #{blockchain_version}; hive_rev: #{hive_rev}; fc_rev: #{fc_rev}"
apis.each do |api|
file_name = "_data/apidefinitions/#{api}.yml"
......
......@@ -57,7 +57,7 @@
},
"beneficiaries":[],
"max_accepted_payout":"1000000.000 HBD",
"percent_steem_dollars":10000,
"percent_hbd":10000,
"url":"/wonderland/@alice/that-march-hare",
"blacklists":[]
}
......
This diff is collapsed.
......@@ -55,7 +55,7 @@
- '{"jsonrpc":"2.0", "method":"condenser_api.broadcast_transaction", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["vote",{"voter":"hiveio","author":"alice","permlink":"a-post-by-alice","weight":10000}]],"extensions":[],"signatures":[]}],
"id":1}'
- '{"jsonrpc":"2.0", "method":"condenser_api.broadcast_transaction", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":"100.000
HIVE","maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
HIVE","maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
"id":1}'
expected_curl_responses:
- missing required posting authority
......@@ -80,7 +80,7 @@
"id":1}'
- '{"jsonrpc":"2.0", "method":"condenser_api.broadcast_transaction_synchronous",
"params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":"100.000
HIVE","maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
HIVE","maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
"id":1}'
expected_curl_responses:
- missing required posting authority
......@@ -243,19 +243,19 @@
last_vote_time: '2016-12-04T23:10:57'
balance: 0.000 HIVE
savings_balance: 0.0 HIVE
sbd_balance: 0.0 HBD
sbd_seconds: ''
sbd_seconds_last_update: '2018-04-10T04:08:36'
sbd_last_interest_payment: '2018-03-15T17:58:24'
savings_sbd_balance: 0.000 HBD
savings_sbd_seconds: ''
savings_sbd_seconds_last_update: '1970-01-01T00:00:00'
savings_sbd_last_interest_payment: '1970-01-01T00:00:00'
hbd_balance: 0.0 HBD
hbd_seconds: ''
hbd_seconds_last_update: '2018-04-10T04:08:36'
hbd_last_interest_payment: '2018-03-15T17:58:24'
savings_hbd_balance: 0.000 HBD
savings_hbd_seconds: ''
savings_hbd_seconds_last_update: '1970-01-01T00:00:00'
savings_hbd_last_interest_payment: '1970-01-01T00:00:00'
savings_withdraw_requests: 0
reward_sbd_balance: 0.000 HBD
reward_steem_balance: 0.000 HIVE
reward_hbd_balance: 0.000 HBD
reward_hive_balance: 0.000 HIVE
reward_vesting_balance: 0.000000 VESTS
reward_vesting_steem: 0.000 HIVE
reward_vesting_hive: 0.000 HIVE
vesting_shares: 0.000 VESTS
delegated_vesting_shares: 0.000000 VESTS
received_vesting_shares: 0.000000 VESTS
......@@ -439,7 +439,7 @@
amount: '1000000000'
pecision: 3
nai: "@@000000013"
percent_steem_dollars: 10000
percent_hbd: 10000
allow_replies: true
allow_votes: true
allow_curation_rewards: true
......@@ -503,7 +503,7 @@
expected_response_json:
account_creation_fee: 0.100 HIVE
maximum_block_size: 131072
sbd_interest_rate: 1000
hbd_interest_rate: 1000
account_subsidy_limit: 0
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.get_chain_properties", "params":[],
......@@ -579,7 +579,7 @@
root_author: ''
root_permlink: ''
max_accepted_payout: 0.000 HIVE
percent_steem_dollars: 0
percent_hbd: 0
allow_replies: false
allow_votes: false
allow_curation_rewards: false
......@@ -644,7 +644,7 @@
root_author: ''
root_permlink: ''
max_accepted_payout: 0.000 HIVE
percent_steem_dollars: 0
percent_hbd: 0
allow_replies: false
allow_votes: false
allow_curation_rewards: false
......@@ -672,7 +672,7 @@
|-------------------|-|
| `1234` | Queries a conversion request with the id of 1234. |
Also see: [database_api.list_sbd_conversion_requests]({{ '/apidefinitions/#database_api.list_sbd_conversion_requests' | relative_url }})
Also see: [database_api.list_hbd_conversion_requests]({{ '/apidefinitions/#database_api.list_hbd_conversion_requests' | relative_url }})
parameter_json:
- 0
expected_response_json: []
......@@ -917,16 +917,16 @@
virtual_supply: 0.000 HIVE
current_supply: 0.000 HIVE
confidential_supply: 0.000 HIVE
current_sbd_supply: 0.000 HIVE
confidential_sbd_supply: 0.000 HIVE
total_vesting_fund_steem: 0.000 HIVE
current_hbd_supply: 0.000 HIVE
confidential_hbd_supply: 0.000 HIVE
total_vesting_fund_hive: 0.000 HIVE
total_vesting_shares: 0.000 HIVE
total_reward_fund_steem: 0.000 HIVE
total_reward_fund_hive: 0.000 HIVE
total_reward_shares2: '0'
pending_rewarded_vesting_shares: 0.000 HIVE
pending_rewarded_vesting_steem: 0.000 HIVE
sbd_interest_rate: 0
sbd_print_rate: 10000
pending_rewarded_vesting_hive: 0.000 HIVE
hbd_interest_rate: 0
hbd_print_rate: 10000
maximum_block_size: 0
current_aslot: 0
recent_slots_filled: '0'
......@@ -1149,7 +1149,7 @@
open: 0
close: 0
volume: 0
non_steem:
non_hive:
high: 0
low: 0
open: 0
......@@ -1301,7 +1301,7 @@
signatures: []
expected_response_json: []
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.get_potential_signatures", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
- '{"jsonrpc":"2.0", "method":"condenser_api.get_potential_signatures", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
"id":1}'
- api_method: condenser_api.get_reblogged_by
since: HF14
......@@ -1391,7 +1391,7 @@
- []
expected_response_json: []
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.get_required_signatures", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]},[]],
- '{"jsonrpc":"2.0", "method":"condenser_api.get_required_signatures", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]},[]],
"id":1}'
- api_method: condenser_api.get_reward_fund
since: HF17
......@@ -1466,16 +1466,16 @@
virtual_supply: 0.000 HIVE
current_supply: 0.000 HIVE
confidential_supply: 0.000 HIVE
current_sbd_supply: 0.000 HIVE
confidential_sbd_supply: 0.000 HIVE
total_vesting_fund_steem: 0.000 HIVE
current_hbd_supply: 0.000 HIVE
confidential_hbd_supply: 0.000 HIVE
total_vesting_fund_hive: 0.000 HIVE
total_vesting_shares: 0.000 HIVE
total_reward_fund_steem: 0.000 HIVE
total_reward_fund_hive: 0.000 HIVE
total_reward_shares2: '0'
pending_rewarded_vesting_shares: 0.000 HIVE
pending_rewarded_vesting_steem: 0.000 HIVE
sbd_interest_rate: 0
sbd_print_rate: 10000
pending_rewarded_vesting_hive: 0.000 HIVE
hbd_interest_rate: 0
hbd_print_rate: 10000
maximum_block_size: 0
current_aslot: 0
recent_slots_filled: '0'
......@@ -1505,7 +1505,7 @@
median_props:
account_creation_fee: 0.000 HIVE
maximum_block_size: 131072
sbd_interest_rate: 1000
hbd_interest_rate: 1000
majority_version: 0.0.0
max_voted_witnesses: 19
max_miner_witnesses: 1
......@@ -1544,8 +1544,8 @@
lowest_ask: '0.00000000000000000'
highest_bid: '0.00000000000000000'
percent_change: '0.00000000000000000'
steem_volume: 0.000 HIVE
sbd_volume: 0.000 HIVE
hive_volume: 0.000 HIVE
hbd_volume: 0.000 HIVE
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.get_ticker", "params":[], "id":1}'
- api_method: condenser_api.get_trade_history
......@@ -1608,7 +1608,7 @@
signatures: []
expected_response_json: ''
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.get_transaction_hex", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
- '{"jsonrpc":"2.0", "method":"condenser_api.get_transaction_hex", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
"id":1}'
- api_method: condenser_api.get_trending_tags
purpose: |
......@@ -1643,7 +1643,7 @@
parameter_json: []
expected_response_json:
blockchain_version: ''
steem_revision: ''
hive_revision: ''
fc_revision: ''
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.get_version", "params":[], "id":1}'
......@@ -1677,8 +1677,8 @@
Also see: [market_history_api.get_volume]({{ '/apidefinitions/#market_history_api.get_volume' | relative_url }})
parameter_json: []
expected_response_json:
steem_volume: 0.000 HIVE
sbd_volume: 0.000 HIVE
hive_volume: 0.000 HIVE
hbd_volume: 0.000 HIVE
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.get_volume", "params":[], "id":1}'
- api_method: condenser_api.get_withdraw_routes
......@@ -1736,11 +1736,11 @@
props:
account_creation_fee: 0.000 HIVE
maximum_block_size: 65536
sbd_interest_rate: 0
sbd_exchange_rate:
hbd_interest_rate: 0
hbd_exchange_rate:
base: 0.000 HBD
quote: 0.000 HIVE
last_sbd_exchange_update: '1970-01-01T00:00:00'
last_hbd_exchange_update: '1970-01-01T00:00:00'
last_work: ''
running_version: ''
hardfork_version_vote: ''
......@@ -1774,7 +1774,7 @@
median_props:
account_creation_fee: 0.000 HIVE
maximum_block_size: 131072
sbd_interest_rate: 1000
hbd_interest_rate: 1000
majority_version: 0.0.0
max_voted_witnesses: 19
max_miner_witnesses: 1
......@@ -1869,19 +1869,19 @@
last_vote_time: '2016-12-04T23:10:57'
balance: 0.006 HIVE
savings_balance: 11006644.632 HIVE
sbd_balance: 8581.890 HBD
sbd_seconds: '18846158467785'
sbd_seconds_last_update: '2018-04-10T04:08:36'
sbd_last_interest_payment: '2018-03-15T17:58:24'
savings_sbd_balance: 0.000 HBD
savings_sbd_seconds: '0'
savings_sbd_seconds_last_update: '1970-01-01T00:00:00'
savings_sbd_last_interest_payment: '1970-01-01T00:00:00'
hbd_balance: 8581.890 HBD
hbd_seconds: '18846158467785'
hbd_seconds_last_update: '2018-04-10T04:08:36'
hbd_last_interest_payment: '2018-03-15T17:58:24'
savings_hbd_balance: 0.000 HBD
savings_hbd_seconds: '0'
savings_hbd_seconds_last_update: '1970-01-01T00:00:00'
savings_hbd_last_interest_payment: '1970-01-01T00:00:00'
savings_withdraw_requests: 0
reward_sbd_balance: 0.000 HBD
reward_steem_balance: 0.000 HIVE
reward_hbd_balance: 0.000 HBD
reward_hive_balance: 0.000 HIVE
reward_vesting_balance: 0.000000 VESTS
reward_vesting_steem: 0.000 HIVE
reward_vesting_hive: 0.000 HIVE
vesting_shares: 90039851836.689703 VESTS
delegated_vesting_shares: 0.000000 VESTS
received_vesting_shares: 0.000000 VESTS
......@@ -1964,7 +1964,7 @@
signatures: []
expected_response_json: false
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.verify_authority", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
- '{"jsonrpc":"2.0", "method":"condenser_api.verify_authority", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
"id":1}'
- api_method: condenser_api.get_account_references
disabled: true
......
This diff is collapsed.
......@@ -26,7 +26,7 @@
- api_method: debug_node_api.debug_get_witness_schedule
purpose:
parameter_json: "{}"
expected_response_json: '{"id":0,"current_virtual_time":"0","next_shuffle_block_num":21573344,"current_shuffled_witnesses":[],"num_scheduled_witnesses":192,"elected_weight":49,"timeshare_weight":73,"miner_weight":1,"witness_pay_normalization_factor":0,"median_props":{"account_creation_fee":{"amount":"0","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000,"account_subsidy_budget":797,"account_subsidy_decay":347321},"majority_version":"0.0.0","max_voted_witnesses":128,"max_miner_witnesses":131,"max_runner_witnesses":191,"hardfork_required_witnesses":4,"account_subsidy_rd":{"resource_unit":0,"budget_per_time_unit":0,"pool_eq":0,"max_pool_size":0,"decay_params":{"decay_per_time_unit":0,"decay_per_time_unit_denom_shift":0},"min_decay":0},"account_subsidy_witness_rd":{"resource_unit":0,"budget_per_time_unit":0,"pool_eq":0,"max_pool_size":0,"decay_params":{"decay_per_time_unit":0,"decay_per_time_unit_denom_shift":0},"min_decay":0},"min_witness_account_subsidy_decay":0}'
expected_response_json: '{"id":0,"current_virtual_time":"0","next_shuffle_block_num":21573344,"current_shuffled_witnesses":[],"num_scheduled_witnesses":192,"elected_weight":49,"timeshare_weight":73,"miner_weight":1,"witness_pay_normalization_factor":0,"median_props":{"account_creation_fee":{"amount":"0","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000,"account_subsidy_budget":797,"account_subsidy_decay":347321},"majority_version":"0.0.0","max_voted_witnesses":128,"max_miner_witnesses":131,"max_runner_witnesses":191,"hardfork_required_witnesses":4,"account_subsidy_rd":{"resource_unit":0,"budget_per_time_unit":0,"pool_eq":0,"max_pool_size":0,"decay_params":{"decay_per_time_unit":0,"decay_per_time_unit_denom_shift":0},"min_decay":0},"account_subsidy_witness_rd":{"resource_unit":0,"budget_per_time_unit":0,"pool_eq":0,"max_pool_size":0,"decay_params":{"decay_per_time_unit":0,"decay_per_time_unit_denom_shift":0},"min_decay":0},"min_witness_account_subsidy_decay":0}'
- api_method: debug_node_api.debug_has_hardfork
purpose:
parameter_json: '{"hardfork_id":0}'
......
......@@ -80,7 +80,7 @@
"precision": 3,
"nai": "@@000000013"
},
"percent_steem_dollars": 10000,
"percent_hbd": 10000,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
......
......@@ -115,7 +115,7 @@
"database_api.find_owner_histories",
"database_api.find_proposals",
"database_api.find_savings_withdrawals",
"database_api.find_sbd_conversion_requests",
"database_api.find_hbd_conversion_requests",
"database_api.find_smt_contributions",
"database_api.find_smt_token_emissions",
"database_api.find_smt_tokens",
......@@ -149,7 +149,7 @@
"database_api.list_proposal_votes",
"database_api.list_proposals",
"database_api.list_savings_withdrawals",
"database_api.list_sbd_conversion_requests",
"database_api.list_hbd_conversion_requests",
"database_api.list_smt_contributions",
"database_api.list_smt_token_emissions",
"database_api.list_smt_tokens",
......
......@@ -26,7 +26,7 @@
"nai": "@@000000013",
"precision": 3
},
"non_steem": {
"non_hive": {
"high": 100000,
"low": 100000,
"open": 100000,
......@@ -85,7 +85,7 @@
},
"real_price": "0.10000000000000001",
"steem": 100000,
"sbd": 10000,
"hbd": 10000,
"created": "2019-12-18T01:24:42"
},
{
......@@ -103,7 +103,7 @@
},
"real_price": "1.00000000000000000",
"steem": 1000,
"sbd": 1000,
"hbd": 1000,
"created": "2019-12-18T01:22:12"
},
{
......@@ -121,7 +121,7 @@
},
"real_price": "100000000.00000000000000000",
"steem": 1000,
"sbd": "100000000000",