core, miner: tx pool drops txs below ask price

This commit is contained in:
obscuren
2015-06-15 11:33:08 +02:00
parent 6f5c6150b7
commit 6d817e16c1
4 changed files with 23 additions and 6 deletions

View File

@ -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)