葛永远不会停止在rinkeby testnet上同步 [英] geth never stop syncing on rinkeby testnet
问题描述
当currentBlock接近最高块时,它停止增长,最高块开始增长.不久之后,currentBlock开始再次增长.
when the currentBlock becomes close to the highestBlock, it stop growing, and the highestBlock begin to grow. A while later, the currentBlock begin growing again.
我用命令geth --rinkeby --fast
运行geth.
I run geth with command geth --rinkeby --fast
.
我的最高封锁与 https://www.rinkeby.io上的实际号码非常接近./#faucet .
> eth.syncing
{
currentBlock: 2401750,
highestBlock: 2401826,
knownStates: 14219701,
pulledStates: 14205841,
startingBlock: 2401554
}
> eth.blockNumber
0
下面的日志似乎很正常:
logs below, seems normal:
INFO [06-04|15:34:52] Imported new state entries count=621 elapsed=4.093ms processed=14288823 pending=12362 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:34:56] Imported new block headers count=1 elapsed=713.868µs number=2401841 hash=db818c…70c969 ignored=0
INFO [06-04|15:34:57] Imported new state entries count=1388 elapsed=9.091ms processed=14290211 pending=12354 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:00] Imported new state entries count=768 elapsed=9.649ms processed=14290979 pending=11944 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:02] Imported new state entries count=607 elapsed=4.707ms processed=14291586 pending=11757 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:05] Imported new state entries count=768 elapsed=5.867ms processed=14292354 pending=11629 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:07] Imported new state entries count=601 elapsed=4.242ms processed=14292955 pending=11759 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:09] Imported new state entries count=601 elapsed=4.924ms processed=14293556 pending=11479 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:09] Imported new block headers count=1 elapsed=711.566µs number=2401842 hash=39a2d8…5318ec ignored=0
INFO [06-04|15:35:10] Imported new state entries count=384 elapsed=3.093ms processed=14293940 pending=11375 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:11] Imported new state entries count=384 elapsed=2.660ms processed=14294324 pending=11365 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:13] Imported new state entries count=601 elapsed=5.337ms processed=14294925 pending=11094 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:17] Imported new state entries count=985 elapsed=6.948ms processed=14295910 pending=11024 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:20] Imported new state entries count=602 elapsed=4.317ms processed=14296512 pending=10940 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:25] Imported new state entries count=602 elapsed=4.380ms processed=14297114 pending=10973 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:25] Imported new block headers count=1 elapsed=469.834µs number=2401843 hash=e8d3a7…152487 ignored=0
INFO [06-04|15:35:25] Imported new state entries count=384 elapsed=2.758ms processed=14297498 pending=11062 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:28] Imported new state entries count=592 elapsed=5.524ms processed=14298090 pending=11015 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:31] Imported new state entries count=1210 elapsed=203.329ms processed=14299300 pending=10477 retry=0 duplicate=6543 unexpected=9538
INFO [06-04|15:35:37] Imported new state entries count=1033 elapsed=1.656ms processed=14300333 pending=10590 retry=0 duplicate=6543 unexpected=9538
我想我已经等待了足够长的时间,但是currentBlock甚至无法达到最高的Block,即使它们非常接近.
I think I've waited long enough, but the currentBlock just can't reach the highestBlock, even they are very close.
这很常见吗?
同步已完成.这些数字并不代表一切,请稍候.
syncing finished. Theses numbers do not mean everything, just wait.
推荐答案
您必须耐心同步节点.
我花了60个小时在快速模式下同步Rinkeby.同步后,有 1.25亿个状态条目,并且文件夹大小为 38GB .随着时间的流逝,这两个数字都会增长.
It took me 60 hours to sync Rinkeby in fast mode. There were 125M state entries and the folder size was 38GB after synchronization. With time, both these numbers will grow.
您可以在Geth控制台中键入eth.syncing
.如果输出为"False",则表示同步已完成.否则,您将获得有关块和状态的各种详细信息.
You can type eth.syncing
in Geth console. If you get 'False' as output, it means that syncing is finished. Otherwise you'll get various details about the blocks and the states.
通过键入eth.blockNumber
,您将获得当前的块号.如果输出为0,则说明同步尚未完成.
By typing eth.blockNumber
you will get the current block number. If the output is 0 then the syncing is not yet complete.
这是同步完成时的图像(所有状态均已拉出),我开始下载链段. 同步Rinkeby
Here is the image when syncing was complete(all the states were pulled) and I started downloading the chain segments. Synchronized Rinkeby
这篇关于葛永远不会停止在rinkeby testnet上同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!