Skip to content

EthereumAPI.Hashrate

Source (upstream pre-purge) Current
File eth/api.go api_pow.go
Symbol EthereumAPI.Hashrate EthereumAPI.Hashrate
Ref d8e0807da~1 etc/v1.17.3-full-node

eth_hashrate RPC.

3-way merge — purge → getc ← upstream

pre-purge
// Hashrate returns the POW hashrate.
func (api *EthereumAPI) Hashrate() hexutil.Uint64 {
return hexutil.Uint64(api.e.Miner().Hashrate())
}
core-geth validation — **Identical** ✅ | | | |---|---| | File | [`api.go`](https://github.com/etclabscore/core-geth/blob/v1.12.20/eth/api.go) | | Symbol | `EthereumAPI.Hashrate` | | Ref | `v1.12.20` |

← RPC & API