我正在安装 GETH 并与以太坊块完全快速同步。看我的截图。
web3.eth.syncing
{
currentBlock: 7001298,
highestBlock: 7001400,
knownStates: 110459512,
pulledStates: 110393584,
startingBlock: 567719
}
然后我尝试获取余额。但它总是会返回 0。
web3.fromWei(web3.eth.getBalance('0x59a5208B32e627891C389EbafC644145224006E8'),'ether').toString(10)
在 Etherscan 中,您可以看到该地址的余额。 https://etherscan.io/address/0x59a5208B32e627891C389EbafC644145224006E8
那么,为什么在主网络中同步完整块后,geth 会恢复到 0 平衡,我是用它来运行 geth
geth --rpc --datadir "/mnt/volume_sfo2_02" --syncmode "fast"
请帮助找出这个解决方案。