是否可以运行BSC节点geth -—syncmode light
模式?
以下是仅使用https://github.com/binance-chain/bsc的-—syncmode light
步骤
t=2021-05-08T11:56:12+0300 lvl=info msg="Block synchronisation started"
t=2021-05-08T11:56:47+0300 lvl=info msg="Looking for peers" peercount=0 tried=26 static=26
t=2021-05-08T11:56:57+0300 lvl=info msg="Looking for peers" peercount=0 tried=26 static=26
t=2021-05-08T11:57:12+0300 lvl=warn msg="Synchronisation failed, dropping peer" peer=0e8faf860dce288213e055a2c3efee9b3db5190465d6bdc9333b9a8178ffebda err=timeout
t=2021-05-08T11:57:22+0300 lvl=info msg="Looking for peers" peercount=0 tried=0 static=26
t=2021-05-08T11:57:57+0300 lvl=info msg="Looking for peers" peercount=0 tried=26 static=26
t=2021-05-08T11:58:22+0300 lvl=warn msg="Synchronisation failed, dropping peer" peer=0e8faf860dce288213e055a2c3efee9b3db5190465d6bdc9333b9a8178ffebda err=timeout
t=2021-05-08T11:58:32+0300 lvl=info msg="Looking for peers" peercount=0 tried=26 static=26
t=2021-05-08T11:58:42+0300 lvl=info msg="Looking for peers" peercount=0 tried=26 static=26
t=2021-05-08T11:59:07+0300 lvl=info msg="Looking for peers" peercount=0 tried=0 static=26
t=2021-05-08T11:59:42+0300 lvl=info msg="Looking for peers" peercount=0 tried=26 static=26
以此类推,不同步任何块
发布于 2021-11-03 19:53:24
然而,BSC1.1.3实现了名为扩散同步的功能,它具有轻量级的安全特性。
Diffsync,当使用--diffsync
标志激活时,将使硬件更容易处理新的块,而代价是安全性。但是,您仍然需要对节点进行正常同步才能使用diffsync (首先需要快速同步或完全同步)。Diffsync只用于保持节点同步(直到最后8个小时),而不是从头开始同步。
编辑:似乎有些人已经能够运行一些轻节点在过去,但不再能够因为缺乏同行。我不认为有很多节点服务于轻节点,因为BSC已经对硬件和带宽造成了很大的负担。Ligth模式可能不时工作(可能),但它似乎根本不可靠。
https://ethereum.stackexchange.com/questions/98558
复制相似问题