首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我在我的私有ethereum块链中遇到了这个问题( Node不是同步的,节点数据写入错误,同步失败,重试)

我在我的私有ethereum块链中遇到了这个问题( Node不是同步的,节点数据写入错误,同步失败,重试)
EN

Ethereum用户
提问于 2018-03-20 06:37:24
回答 2查看 2.4K关注 0票数 -1

我对ethereum很陌生,现在我用geth和

geth -端口3000 --networkid 58342 -rpc-rpcport 8545 -rpcaddr 10.0.0.2 -rpccorsdomain "*“控制台

代码语言:javascript
复制
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,
EN

回答 2

Ethereum用户

发布于 2018-03-21 08:49:07

试着使用geth作为测试网络,根据连接的不同,同步需要几个小时,甚至几天。否则,如果你想要主链的警察,你可以使用geth - light,这将给你一个与主网交互的区块链的光同步。同步时间应仅为5-10分钟左右-光线。您可以通过打开一个新终端来检查同步百分比,并使用geth进行光同步,或者使用geth附加进行光同步。这将允许您使用"eth.syncing“检查同步状态,然后可以将当前块大小与以太扫描或以太chain.org进行比较。

还有其他选项可以让节点在机器上运行,比如testrpc、ganache-cli,但是这些只是本地节点,它们是that块链的表示。

票数 0
EN

Ethereum用户

发布于 2019-12-20 03:37:49

您可能有两个不同的节点试图将它们自己版本的链数据库与您的数据库同步。如果是这样的话,请断开其他节点并尝试用正确的节点重新同步它们。

票数 0
EN
页面原文内容由Ethereum提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://ethereum.stackexchange.com/questions/43278

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档