bsc/consensus
setunapo 21b985c14b worker: always drop on new block imported.
When new block is imported, there is no need to commit the current
work, even the new imported block is offturn and itself is inturn.

That is because when offturn block is received, the inturn block is
already later to broadcast block, deliver the later block will cause
many reorg, which is not reasonable.

And also make sure all useless work can be discarded, to avoid goroutine leak.
2022-11-21 17:28:23 +08:00
..
beacon worker: always drop on new block imported. 2022-11-21 17:28:23 +08:00
clique worker: always drop on new block imported. 2022-11-21 17:28:23 +08:00
ethash worker: always drop on new block imported. 2022-11-21 17:28:23 +08:00
misc consensus: fix the GasLimitBoundDivisor (#1060) 2022-08-22 11:24:50 +08:00
parlia worker: always drop on new block imported. 2022-11-21 17:28:23 +08:00
consensus.go worker: always drop on new block imported. 2022-11-21 17:28:23 +08:00
errors.go consensus: fix possessives in comments. (#20209) 2019-10-28 09:57:34 +02:00
merger.go all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00