diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-03 17:24:42 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-03 19:56:50 +0800 |
commit | 29e2fb38f8e80dfa077d139d8ff563169c644d74 (patch) | |
tree | 95ddfb2c8fb11cbaae65c9ee59555411debef4cf /cmd/utils | |
parent | 03129e7c93a4705eb159a2dacbab6e3755fe02ed (diff) | |
download | go-tangerine-29e2fb38f8e80dfa077d139d8ff563169c644d74.tar go-tangerine-29e2fb38f8e80dfa077d139d8ff563169c644d74.tar.gz go-tangerine-29e2fb38f8e80dfa077d139d8ff563169c644d74.tar.bz2 go-tangerine-29e2fb38f8e80dfa077d139d8ff563169c644d74.tar.lz go-tangerine-29e2fb38f8e80dfa077d139d8ff563169c644d74.tar.xz go-tangerine-29e2fb38f8e80dfa077d139d8ff563169c644d74.tar.zst go-tangerine-29e2fb38f8e80dfa077d139d8ff563169c644d74.zip |
core, miner: miner header validation, transaction & receipt writing
* Miners do now verify their own header, not their state.
* Changed old putTx and putReceipts to be exported
* Moved writing of transactions and receipts out of the block processer
in to the chain manager. Closes #1386
* Miner post ChainHeadEvent & ChainEvent. Closes #1388
Diffstat (limited to 'cmd/utils')
-rw-r--r-- | cmd/utils/flags.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 6f319eb40..f27f1bbcd 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -412,7 +412,7 @@ func MakeChain(ctx *cli.Context) (chain *core.ChainManager, blockDB, stateDB, ex eventMux := new(event.TypeMux) pow := ethash.New() genesis := core.GenesisBlock(uint64(ctx.GlobalInt(GenesisNonceFlag.Name)), blockDB) - chain, err = core.NewChainManager(genesis, blockDB, stateDB, pow, eventMux) + chain, err = core.NewChainManager(genesis, blockDB, stateDB, extraDB, pow, eventMux) if err != nil { Fatalf("Could not start chainmanager: %v", err) } |