Skip to content

Ethash.StopRemoteSealer

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

3-way merge — purge → getc ← upstream

pre-purge
// StopRemoteSealer stops the remote sealer
func (ethash *Ethash) StopRemoteSealer() error {
ethash.closeOnce.Do(func() {
// Short circuit if the exit channel is not allocated.
if ethash.remote == nil {
return
}
close(ethash.remote.requestExit)
<-ethash.remote.exitCh
})
return nil
}
core-geth validation — **Identical** ✅ | | | |---|---| | File | [`ethash.go`](https://github.com/etclabscore/core-geth/blob/v1.12.20/consensus/ethash/ethash.go) | | Symbol | `Ethash.StopRemoteSealer` | | Ref | `v1.12.20` |

← Consensus & Ethash