如何在Geth中获取当前的载岩?
我在主网上开始了Geth 我做了Miner.start() 它在生成DAG时登录,获取块标头...等 但是当我做eth.hashrate
时,它会记录0 另外,当我做Miner.gethashrate()
或miner.hashrate
时,它会引发一个错误,说该函数是未定义的 它之前发生了,帐户余额不断增加 这是一个问题吗? 我如何获得当前的哈希拉特?
I started geth on mainnet
I did miner.start()
it logs when generating the DAG , getting block headers ...etc
but when i do eth.hashrate
it logs 0
also when i do miner.getHashRate()
or miner.HashRate
it throws an error saying that the function is undefined
It happened before , and the account balance keeps infcreasing
Is it a problem ?
How can I get the current Hashrate ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用
eth.hashrate
或miner.hashrate
检查桥梁,结果为H/S(每秒哈希操作)。如果它显示
0
表示以下意见:You can check your hashrate with
eth.hashrate
orminer.hashrate
, the result is in H/s (Hash operations per second).If it shows
0
it means the following: