Skip to content

eth.hashrate always returns 0 #17601

@jerryji

Description

@jerryji

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

net.peerCount
22
eth.hashrate
0
eth.getBlock("latest").difficulty
6042033910
eth.blockNumber
3990598
eth.getBalance(eth.coinbase)
0

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions