bsc/consensus/clique
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
..
api.go rpc: avoid crashing on clique getSigner during sync (#23832) 2021-11-01 07:51:03 +01:00
clique_test.go consensus/clique: avoid a copy in clique (#23149) 2021-07-02 09:18:50 +02:00
clique.go miner, consensus/clique: avoid memory leak during block stasis (#23861) 2021-11-05 16:17:13 +01:00
snapshot_test.go accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
snapshot.go cosensus, core, eth, params, trie: fixes + clique history cap 2019-05-16 10:39:35 +03:00