[ethereum/go-ethereum] WIP consensus, miner: stale block supporting (#17506)

Note: this PR is still in progress
You can view, comment on, or merge this pull request online at:

https://github.com/ethereum/go-ethereum/pull/17506

— Commit Summary —

* consensus, miner: stale block supporting

— File Changes —

M consensus/consensus.go (3)
M consensus/ethash/ethash.go (65)
M consensus/ethash/sealer.go (64)
M core/blockchain.go (2)
M core/state/statedb.go (4)
M eth/api_tracer.go (6)
M miner/worker.go (82)
M trie/database.go (8)

— Patch Links —

https://github.com/ethereum/go-ethereum/pull/17506.patch
https://github.com/ethereum/go-ethereum/pull/17506.diff