运行nodeos时候报错
Q:下边代码是用于异常停止服务的恢复
A:
nodeos --data-dir /opt/eosio/bin/data-dir --hard-replay-blockchain --truncate-at-block [有问题的区块编号] -e
Q:nodeos启动失败
:std::exception::what: unrecognised option '--resync-blockchain'
A:删除block,重新同步
nodeos --replay-blockchain --hard-replay-blockchain --delete-all-blocks
Q:部分版本插件名称错误
std::exception::what: unable to find plugin: eosio::account_history_api_plugin
A:
plugin = eosio::account_history_api_plugin
替换为
plugin = history_api_plugin
Q:get_actions和get_transaction接口使用后没有返回值?
A:启动的时候添加–filter-on "*"或者在config.ini中添加filter-on = *
Q:发布交易失败
Error 3090003: provided keys, permissions, and dela