首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我在采矿吗?日志的哪一部分和它有关?(Geth)

问我在采矿吗?日志的哪一部分和它有关?(Geth)
EN

Ethereum用户
提问于 2017-05-19 03:33:05
回答 1查看 386关注 0票数 0

我开始在CPU上工作了,但我不确定,

是这样的吗

I0519 06:26:02.720818 ethash.go:291] Generating DAG: 67%

意思是我在采矿?当生成DAG停止时,我是否停止挖掘?

或者是这样的:

I0519 06:26:05.475875 core/blockchain.go:1001] imported 11 block(s) (0 queued 0 ignored) including 402 txs in 8.545847414s. #756963 [0ef146c0 / d65fca69]

应该告诉我我在采矿吗?

为什么挖掘有时会停止使用类似于这个goroutine 118 [IO wait, 8 minutes]: net.runtime_pollWait(0x7fc130005f40, 0x72, 0x0) /usr/lib/go/src/runtime/netpoll.go:160 +0x59 net.(*pollDesc).wait(0xc4204395d0, 0x72, 0xc422d12dc0, 0xc4200101e0) /usr/lib/go/src/net/fd_poll_runtime.go:73 +0x38 net.(*pollDesc).waitRead(0xc4204395d0, 0x1482c00, 0xc4200101e0) /usr/lib/go/src/net/fd_poll_runtime.go:78 +0x34 net.(*netFD).accept(0xc420439570, 0x0, 0x14809c0, 0xc422d18020) /usr/lib/go/src/net/fd_unix.go:419 +0x238 net.(*TCPListener).accept(0xc42003e0a8, 0xc422d12e98, 0xc422d12e98, 0x418385) /usr/lib/go/src/net/tcpsock_posix.go:132 +0x2e net.(*TCPListener).Accept(0xc42003e0a8, 0xc422d1c000, 0x0, 0x2, 0xc4204d2000) /usr/lib/go/src/net/tcpsock.go:222 +0x49 github.com/ethereum/go-ethereum/p2p.(*Server).listenLoop(0xc42045c300) /var/tmp/portage/net-p2p/go-ethereum-1.4.18/work/go-ethereum-1.4.18/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/server.go:579 +0x276 created by github.com/ethereum/go-ethereum/p2p.(*Server).startListening /var/tmp/portage/net-p2p/go-ethereum-1.4.18/work/go-ethereum-1.4.18/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/server.go:382 +0x156的长消息

这是一个错误,还是它是好的,我已经挖掘了什么?

我是新来的,不幸的是,手册中没有描述过这一点。手册要求检查控制台模式下的所有内容,但它不起作用(对所有有趣的问题回答“未定义”)

谢谢

EN

回答 1

Ethereum用户

回答已采纳

发布于 2017-05-19 21:43:26

通常,在创建达格之前不会启动挖掘。DAG生成可能需要一段时间,取决于您的硬件,可以选择加快速度并更快地进行挖掘。一种选择是在更快的机器上预生成它,然后将其移动到挖掘节点。

块导入行看起来与区块链同步是正确的。你应该等着,直到区块链在挖掘前同步。

至于goroutine的追踪,很难不看代码就说出来。

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

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

复制
相关文章

相似问题

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