• Martin Holst Swende's avatar
    miner, consensus/clique: avoid memory leak during block stasis (#23861) · 476fb565
    Martin Holst Swende authored
    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. 
    476fb565
Name
Last commit
Last update
..
stress Loading commit data...
miner.go Loading commit data...
miner_test.go Loading commit data...
unconfirmed.go Loading commit data...
unconfirmed_test.go Loading commit data...
worker.go Loading commit data...
worker_test.go Loading commit data...