aboutsummaryrefslogtreecommitdiffstats
path: root/core/bench_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-03 17:24:42 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-03 19:56:50 +0800
commit29e2fb38f8e80dfa077d139d8ff563169c644d74 (patch)
tree95ddfb2c8fb11cbaae65c9ee59555411debef4cf /core/bench_test.go
parent03129e7c93a4705eb159a2dacbab6e3755fe02ed (diff)
downloaddexon-29e2fb38f8e80dfa077d139d8ff563169c644d74.tar.gz
dexon-29e2fb38f8e80dfa077d139d8ff563169c644d74.tar.zst
dexon-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 'core/bench_test.go')
-rw-r--r--core/bench_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bench_test.go b/core/bench_test.go
index 6d851febd..8cd8c4299 100644
--- a/core/bench_test.go
+++ b/core/bench_test.go
@@ -152,7 +152,7 @@ func benchInsertChain(b *testing.B, disk bool, gen func(int, *BlockGen)) {
// Time the insertion of the new chain.
// State and blocks are stored in the same DB.
evmux := new(event.TypeMux)
- chainman, _ := NewChainManager(genesis, db, db, FakePow{}, evmux)
+ chainman, _ := NewChainManager(genesis, db, db, db, FakePow{}, evmux)
chainman.SetProcessor(NewBlockProcessor(db, db, FakePow{}, chainman, evmux))
defer chainman.Stop()
b.ReportAllocs()