plugeth/miner
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
..
stress miner/stress: initialize account backends explicitly (#23699) 2021-10-09 16:39:53 +02:00
miner_test.go trie : use trie.NewStackTrie instead of new(trie.Trie) (#22246) 2021-02-02 13:09:23 +01:00
miner.go eth: close miner on exit (instead of just stopping) (#21992) 2021-10-08 18:36:58 +02:00
unconfirmed_test.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
unconfirmed.go all: replace RWMutex with Mutex in places where RLock is not used (#21622) 2020-10-13 10:58:41 +02:00
worker_test.go consensus/clique: prevent 0 len extradata from panicing (#23538) 2021-09-21 10:46:08 +02:00
worker.go miner, consensus/clique: avoid memory leak during block stasis (#23861) 2021-11-05 16:17:13 +01:00