bsc/miner
Mateusz Morusiewicz cef1a86df2
miner: discard interrupted blocks (#24638)
During mining, when a new head arrives and interrupts the block building, the block being built should not be commited (but discarded). Committing the interrupted block introduces unnecessary delay, and possibly causes miner to mine on the previous head, which could result in higher uncle rate.
2022-05-06 11:19:30 +02:00
..
stress core: eth: implement Kiln-v2 spec (#24506) 2022-03-17 17:20:03 +02:00
miner_test.go eth, miner: use miner for post-merge block production (#23256) 2022-01-24 09:19:52 +02:00
miner.go eth, miner: use miner for post-merge block production (#23256) 2022-01-24 09:19:52 +02:00
unconfirmed_test.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
unconfirmed.go all: replace RWMutex with Mutex in places where RLock is not used (#21622) 2020-10-13 10:58:41 +02:00
worker_test.go eth, miner: use miner for post-merge block production (#23256) 2022-01-24 09:19:52 +02:00
worker.go miner: discard interrupted blocks (#24638) 2022-05-06 11:19:30 +02:00