Skip to content

Commit

Permalink
Merge pull request EOSIO#5560 from EOSIO/revert-5463-getinfoapi1
Browse files Browse the repository at this point in the history
Revert "Simplify Wallet Tools EOSIO Blockchain Detection for End Users"
  • Loading branch information
arhag authored Sep 7, 2018
2 parents e6502ca + bcd9802 commit 038da9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions plugins/chain_plugin/chain_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -950,8 +950,6 @@ read_only::get_info_results read_only::get_info(const read_only::get_info_params
//std::bitset<64>(db.get_dynamic_global_properties().recent_slots_filled).to_string(),
//__builtin_popcountll(db.get_dynamic_global_properties().recent_slots_filled) / 64.0,
app().version_string(),
symbol().name(),
symbol().precision(),
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ class read_only {
//string recent_slots;
//double participation_rate = 0;
optional<string> server_version_string;
optional<string> core_symbol;
optional<uint64_t> core_symbol_precision;
};
get_info_results get_info(const get_info_params&) const;

Expand Down Expand Up @@ -627,7 +625,7 @@ class chain_plugin : public plugin<chain_plugin> {
FC_REFLECT( eosio::chain_apis::permission, (perm_name)(parent)(required_auth) )
FC_REFLECT(eosio::chain_apis::empty, )
FC_REFLECT(eosio::chain_apis::read_only::get_info_results,
(server_version)(chain_id)(head_block_num)(last_irreversible_block_num)(last_irreversible_block_id)(head_block_id)(head_block_time)(head_block_producer)(virtual_block_cpu_limit)(virtual_block_net_limit)(block_cpu_limit)(block_net_limit)(server_version_string)(core_symbol)(core_symbol_precision) )
(server_version)(chain_id)(head_block_num)(last_irreversible_block_num)(last_irreversible_block_id)(head_block_id)(head_block_time)(head_block_producer)(virtual_block_cpu_limit)(virtual_block_net_limit)(block_cpu_limit)(block_net_limit)(server_version_string) )
FC_REFLECT(eosio::chain_apis::read_only::get_block_params, (block_num_or_id))
FC_REFLECT(eosio::chain_apis::read_only::get_block_header_state_params, (block_num_or_id))

Expand Down

0 comments on commit 038da9f

Please sign in to comment.