Skip to content

API.GetHashrate

Source (upstream pre-purge) Current
File consensus/ethash/api.go api.go
Symbol API.GetHashrate API.GetHashrate
Ref dde2da0ef~1 etc/v1.17.3-full-node

3-way merge — purge → getc ← upstream

pre-purge
// GetHashrate returns the current hashrate for local CPU miner and remote miner.
func (api *API) GetHashrate() uint64 {
return uint64(api.ethash.Hashrate())
}
core-geth validation — **Identical** ✅ | | | |---|---| | File | [`api.go`](https://github.com/etclabscore/core-geth/blob/v1.12.20/consensus/ethash/api.go) | | Symbol | `API.GetHashrate` | | Ref | `v1.12.20` |

← Consensus & Ethash