Closed heifner closed 1 month ago
It is strange that get_info
is on the node
category, but what's the reasoning for further special-casing it vs just adding it to chain_ro
?
It is strange that
get_info
is on thenode
category, but what's the reasoning for further special-casing it vs just adding it tochain_ro
?
The point of it being in node
category was so it would always be available on all endpoints.
Replaced by #515
As of https://github.com/AntelopeIO/leap/pull/1137
v1/chain/get_info
has been part of thenode
http category. Thenode
category, it is NOT user configurable because it is available for all listened http addresses.Often users enable
eosio::chain_api_plugin
only so thatv1/chain/get_info
is available.Move
get_info
tohttp_plugin
so that is always available if any API plugin or even justhttp_plugin
is enabled. This would enable nodes to be run without having to enable theeosio::chain_api_plugin
and still haveget_info
available.