BSV節點升級到v1.0.1版本後,getwalletinfo 命令執行失敗:
Safe mode: Warning: We do not appear to fully agree with our peers! You may need to upgrade, or other nodes may need to upgrade.
解決方法:
./bitcoind --daemon -upgradewallet
升級錢包格式
後續我發現,運行一段時間後總會這樣。所以上面的方法並不能解決這個問題。
其實是區塊已經被破壞了,接受了太多非法區塊導致節點自動進入安全模式。
我的做法是:重新跑區塊,把所有文件都刪了,只留wallet.dat 和 bitcoin.conf 就可以。完全重新同步節點,現在不會出現這個問題了。