Merge pull request #1260 from obscuren/tx-drop-low-tx

core: drop low gas tx
This commit is contained in:
Jeffrey Wilcke
2015-06-15 09:09:44 -07:00
8 changed files with 60 additions and 24 deletions

View File

@ -310,6 +310,7 @@ func New(config *Config) (*Ethereum, error) {
return nil, err
}
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.protocolManager = NewProtocolManager(config.ProtocolVersion, config.NetworkId, eth.eventMux, eth.txPool, eth.chainManager)