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. |
||
---|---|---|
.. | ||
algorithm_test.go | ||
algorithm.go | ||
api.go | ||
consensus_test.go | ||
consensus.go | ||
difficulty.go | ||
ethash_test.go | ||
ethash.go | ||
mmap_help_linux.go | ||
mmap_help_other.go | ||
sealer_test.go | ||
sealer.go |