diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-06-30 21:42:20 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-06-30 23:27:47 +0800 |
commit | a748afce0322af35d6031d76bf38afa1f974296a (patch) | |
tree | b36a2f2d97538fee560093558d4e6869afa353c4 /p2p/dial.go | |
parent | c14f0a44712891286b291761fb2d99bd90646234 (diff) | |
download | dexon-a748afce0322af35d6031d76bf38afa1f974296a.tar dexon-a748afce0322af35d6031d76bf38afa1f974296a.tar.gz dexon-a748afce0322af35d6031d76bf38afa1f974296a.tar.bz2 dexon-a748afce0322af35d6031d76bf38afa1f974296a.tar.lz dexon-a748afce0322af35d6031d76bf38afa1f974296a.tar.xz dexon-a748afce0322af35d6031d76bf38afa1f974296a.tar.zst dexon-a748afce0322af35d6031d76bf38afa1f974296a.zip |
core: txpool listen for ChainHeadEvent instead of ChainEvent
Changed the transaction pool to listen for ChainHeadEvent when resetting
the state instead of ChainEvent. It makes very little sense to burst
through transactions while we are catching up (e.g., have more than one
block to process)
Diffstat (limited to 'p2p/dial.go')
0 files changed, 0 insertions, 0 deletions