Skip to content

MinerAPI.SetRecommitInterval

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

miner_setRecommitInterval RPC. Source is upstream pre-miner-refactor (d8e0807da~1).

3-way merge — purge → getc ← upstream

pre-purge
// SetRecommitInterval updates the interval for miner sealing work recommitting.
func (api *MinerAPI) SetRecommitInterval(interval int) {
api.e.Miner().SetRecommitInterval(time.Duration(interval) * time.Millisecond)
}
core-geth validation — **Identical** ✅ | | | |---|---| | File | [`api_miner.go`](https://github.com/etclabscore/core-geth/blob/v1.12.20/eth/api_miner.go) | | Symbol | `MinerAPI.SetRecommitInterval` | | Ref | `v1.12.20` |

← RPC & API