bsc/consensus/parlia
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
..
abi.go fix: code compatibility fixes 2022-07-05 11:14:21 +08:00
api.go upgrade to 1.10.2 2021-04-16 12:45:26 +08:00
parlia_test.go enforce backoff time for out-turn validator (#23) 2020-08-07 17:06:29 +08:00
parlia.go worker: always drop on new block imported. 2022-11-21 17:28:23 +08:00
ramanujanfork.go fix: code compatibility fixes 2022-07-05 11:14:21 +08:00
snapshot_test.go add consensus engine Parlia implement 2020-05-20 12:19:24 +08:00
snapshot.go fix: code compatibility fixes 2022-07-05 11:14:21 +08:00