aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-15 17:33:08 +0800
committerobscuren <geffobscura@gmail.com>2015-06-15 17:33:08 +0800
commit6d817e16c1c17f7cad4a34fa91457e21f63f2de4 (patch)
treefad58ed95ee70bcee2766347148eb25b27382122 /eth
parent6f5c6150b7060b6b2ee68ac95b30f46c5c2c7f90 (diff)
downloaddexon-6d817e16c1c17f7cad4a34fa91457e21f63f2de4.tar
dexon-6d817e16c1c17f7cad4a34fa91457e21f63f2de4.tar.gz
dexon-6d817e16c1c17f7cad4a34fa91457e21f63f2de4.tar.bz2
dexon-6d817e16c1c17f7cad4a34fa91457e21f63f2de4.tar.lz
dexon-6d817e16c1c17f7cad4a34fa91457e21f63f2de4.tar.xz
dexon-6d817e16c1c17f7cad4a34fa91457e21f63f2de4.tar.zst
dexon-6d817e16c1c17f7cad4a34fa91457e21f63f2de4.zip
core, miner: tx pool drops txs below ask price
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/backend.go b/eth/backend.go
index d2ec0cc62..6b7eb736f 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -292,6 +292,7 @@ func New(config *Config) (*Ethereum, error) {
}
eth.downloader = downloader.New(eth.EventMux(), eth.chainManager.HasBlock, eth.chainManager.GetBlock)
eth.txPool = core.NewTxPool(eth.EventMux(), eth.chainManager.State, eth.chainManager.GasLimit)
+
eth.blockProcessor = core.NewBlockProcessor(stateDb, extraDb, eth.pow, eth.chainManager, eth.EventMux())
eth.chainManager.SetProcessor(eth.blockProcessor)
eth.miner = miner.New(eth, eth.EventMux(), eth.pow)