history-tools
history-tools copied to clipboard
Legacy History API incompatible with History Plugin
Looks like legacy-server (https://github.com/EOSIO/history-tools/blob/d8312a722c78f7c7742a728274df18603680534a/wasms/legacy/legacy-server.cpp) don't compatible with API from History API. It's quite confusing. And it's more about functionality than data formats. For example: /v1/history/get_actions just always returns actions from first to abs(offset) action, pos don't used.
Do we can change this to more robust approach or make behavior more similar to History API? Looks like that enough use some method/filtration, which allow pagination over actions per account? Does it's currently available?
I actually get the issue from that when the data from API '/v1/history/get_transaction' is not compatible with History Plugin (have described on the EOS main website). https://developers.eos.io/eosio-nodeos/reference#get_transaction-1
I have the same problems on ' /v1/history/get_actions' do not support pos