21b985c14b
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. |
||
---|---|---|
.. | ||
beacon | ||
clique | ||
ethash | ||
misc | ||
parlia | ||
consensus.go | ||
errors.go | ||
merger.go |