安裝EOS我就不在這贅述了,來嘮嘮EOS踩到的坑,跟着官方文檔走,而後到了同步數據的時候,Ctrl+Z結束了以後,再次運行報錯node
root@ubuntu:~# nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin 629210ms thread-0 chain_plugin.cpp:208 plugin_initialize ] initializing chain plugin 629212ms thread-0 main.cpp:123 main ] database dirty flag set (likely due to unclean shutdown): replay required
原來是這麼一弄數據就壞了。。。。。。ubuntu
解決辦法:api
1當發生錯誤後,刪除數據bash
rm -rf ~/.local/share/eosio/nodeos/data
2不能用Ctrl+Z結束,要用ui
pkill nodeos