我对ethereum很陌生,现在我用geth和
geth -端口3000 --networkid 58342 -rpc-rpcport 8545 -rpcaddr 10.0.0.2 -rpccorsdomain "*“控制台
INFO [03-20|11:41:12] Block synchronisation started
WARN [03-20|11:41:12] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:41:12] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
> net.peerCount
1
> net.listeningWARN [03-20|11:41:22] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:41:22] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
true
> WARN [03-20|11:41:32] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:41:32] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:41:42] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:41:42] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:41:52] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:41:52] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:02] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:02] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:12] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:12] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:22] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:22] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:32] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:32] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:42] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:42] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:52] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:42:52] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:43:02] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:43:02] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:43:12] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:43:12] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:43:22] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:43:22] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:43:32] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:43:32] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:43:42] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
WARN [03-20|11:43:42] Synchronisation failed, retrying err="state node c56d5a…f2fb4a failed with all peers (1 tries, 1 peers)"
> admin.nodeInfo.enoWARN [03-20|11:43:52] Node data write error err="state node c56d5a…f2fb4a failed with all peers (1 tries,发布于 2018-03-21 08:49:07
试着使用geth作为测试网络,根据连接的不同,同步需要几个小时,甚至几天。否则,如果你想要主链的警察,你可以使用geth - light,这将给你一个与主网交互的区块链的光同步。同步时间应仅为5-10分钟左右-光线。您可以通过打开一个新终端来检查同步百分比,并使用geth进行光同步,或者使用geth附加进行光同步。这将允许您使用"eth.syncing“检查同步状态,然后可以将当前块大小与以太扫描或以太chain.org进行比较。
还有其他选项可以让节点在机器上运行,比如testrpc、ganache-cli,但是这些只是本地节点,它们是that块链的表示。
发布于 2019-12-20 03:37:49
您可能有两个不同的节点试图将它们自己版本的链数据库与您的数据库同步。如果是这样的话,请断开其他节点并尝试用正确的节点重新同步它们。
https://ethereum.stackexchange.com/questions/43278
复制相似问题