go-ethereum/consensus
Martin Holst Swende 476fb565ce
miner, consensus/clique: avoid memory leak during block stasis (#23861)
This PR fixes a problem which arises on clique networks when there is a network stall. Previously, the worker packages were tracked, even if the sealing engine decided not to seal the block (due to clique rules about recent signing). These tracked-but-not-sealed blocks kept building up in memory. 
This PR changes the situation so the sealing engine instead returns an error, and the worker can thus un-track the package.
2021-11-05 16:17:13 +01:00
..
clique miner, consensus/clique: avoid memory leak during block stasis (#23861) 2021-11-05 16:17:13 +01:00
ethash consensus/ethash: avoid runtime errors due to OOD on mmap writes (#23799) 2021-11-02 11:33:54 +01:00
misc params: changed CatalystBlock to TerminalTotalDifficulty (#23700) 2021-10-11 18:58:11 +03:00
consensus.go consensus: remove seal verification from the consensus engine interface (#22274) 2021-02-05 20:44:34 +02:00
errors.go consensus: fix possessives in comments. (#20209) 2019-10-28 09:57:34 +02:00