plugeth/miner
bas-vk 4e36b1e3da core: bugfix state change race condition in txpool (#3412)
The transaction pool keeps track of the current nonce in its local pendingState. When a
new block comes in the pendingState is reset. During the reset it fetches multiple times
the current state through the use of the currentState callback. When a second block comes
in during the reset its possible that the state changes during the reset. If that block
holds transactions that are currently in the pool the local pendingState that is used to
determine nonces can get out of sync.
2016-12-10 23:54:58 +01:00
..
agent.go miner: Move CpuAgent channel creation from Start() to initialization (fixes #2948) 2016-08-26 00:12:17 +10:00
miner.go eth, miner: removed unnecessary state.Copy() 2016-11-30 11:48:48 +02:00
remote_agent.go miner: synchronise start / stop 2015-10-31 02:18:41 +01:00
worker.go core: bugfix state change race condition in txpool (#3412) 2016-12-10 23:54:58 +01:00