-
Notifications
You must be signed in to change notification settings - Fork 20.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eth.hashrate always returns 0 #17601
Comments
Last time I checked you have to add |
Thanks @csokun , --metrics does the trick (isn't much, but at least not zero :)
|
Hi, experience the same problem as @jerryji . eth.hashrate always returns 0 although --metrics is enabled. I start geth (for a private network ) like this: |
Same thing happens with me while running a private network using Flags. 1.I removed the datadir for each of the node. Now eth.hashrate is showing some values instead of zero. |
Hi there,
please note that this is an issue tracker reserved for bug reports and feature requests.
For general questions please use the gitter channel or the Ethereum stack exchange at https://ethereum.stackexchange.com.
System information
Geth version: 1.8.15-stable
OS & Version: Linux (Ubuntu 18.04 64-bit)
Commit hash : (if
develop
)Expected behaviour
eth.hashrate returns some non-zero value
Actual behaviour
eth.hashrate always returns zero on my Intel Core i7-7500U laptop (512G SSD PCIe)
$ geth --testnet --port 30303 --mine --minerthreads=4 --cache=2048
Steps to reproduce the behaviour
miner.stop()
miner.start(4)
eth.hashrate
while geth has been eating 95% CPU for hours
Backtrace
N.A.
Note
Found this StackOverflow question https://ethereum.stackexchange.com/questions/51220/cpu-mining-on-testnet-using-geth-on-ubuntu-eth-hashrate-0 but it doesn't really help much
The text was updated successfully, but these errors were encountered: