Skip to content

MinerAPI.Stop

Source (upstream pre-purge) Current
File eth/api_miner.go api_miner_pow.go
Symbol MinerAPI.Stop MinerAPI.Stop
Ref d8e0807da~1 etc/v1.17.3-full-node

miner_stop RPC.

3-way merge — purge → getc ← upstream

pre-purgefork-only
// Stop terminates the miner.
func (api *MinerAPI) Stop() {
api.e.StopMining()
}
core-geth validation — +1 -2 | | | |---|---| | File | [`api_miner.go`](https://github.com/etclabscore/core-geth/blob/v1.12.20/eth/api_miner.go) | | Symbol | `MinerAPI.Stop` | | Ref | `v1.12.20` |
--- a/core-geth/eth/api_miner.go
+++ b/etc/eth/api_miner_pow.go
@@ -1,5 +1,4 @@
-// Stop terminates the miner, both at the consensus engine level as well as at
-// the block creation level.
+// Stop terminates the miner.
 func (api *MinerAPI) Stop() {
    api.e.StopMining()
 }

← RPC & API