gpt4 book ai didi

blockchain - geth 在生成 DAG 后立即挂起

转载 作者:行者123 更新时间:2023-12-02 03:47:14 24 4
gpt4 key购买 nike

我正在尝试使用以太坊创建一个私有(private)区 block 链(仅具有一个节点)。我按照这个教程:https://media.consensys.net/how-to-build-a-private-ethereum-blockchain-fbf3904f337

最后我触发了以下命令:

go-ethereum/build/bin/geth --mine --nodiscover --maxpeers 0 --networkid 13 --rpc --rpccorsdomain "*"

我的 geth 进程在以下步骤挂起(生成 DAG 后):

INFO [09-25|22:04:29] Generating DAG in progress               epoch=1 percentage=98 elapsed=5m2.991s
INFO [09-25|22:04:33] Generating DAG in progress epoch=1 percentage=99 elapsed=5m6.578s
INFO [09-25|22:04:33] Generated ethash verification cache epoch=1 elapsed=5m6.582s

我希望看到教程中提到的一些区 block 正在挖掘。谁能告诉我什么可能会出错?有什么办法可以解决吗?

最佳答案

我遇到了同样的问题,我所做的只是重复使用miner.start()几次,它就会显示

 Updated mining threads                   threads=1

经过几次尝试后,挖矿开始并且帐户收到资金

关于blockchain - geth 在生成 DAG 后立即挂起,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46417379/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com