diff options
| author | Péter Szilágyi <peterke@gmail.com> | 2018-02-06 00:40:32 +0800 |
|---|---|---|
| committer | Felix Lange <fjl@users.noreply.github.com> | 2018-02-06 00:40:32 +0800 |
| commit | 55599ee95d4151a2502465e0afc7c47bd1acba77 (patch) | |
| tree | 4165e73ae852db4f025a5ed57f0bc499e87cb8b9 /core/chain_makers_test.go | |
| parent | 59336283c0dbeb1d0a74ff7a8b717b2b3bb0cf40 (diff) | |
| download | dexon-55599ee95d4151a2502465e0afc7c47bd1acba77.tar.gz dexon-55599ee95d4151a2502465e0afc7c47bd1acba77.tar.zst dexon-55599ee95d4151a2502465e0afc7c47bd1acba77.zip | |
core, trie: intermediate mempool between trie and database (#15857)
This commit reduces database I/O by not writing every state trie to disk.
Diffstat (limited to 'core/chain_makers_test.go')
| -rw-r--r-- | core/chain_makers_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go index a3b80da29..93be43ddc 100644 --- a/core/chain_makers_test.go +++ b/core/chain_makers_test.go @@ -79,7 +79,7 @@ func ExampleGenerateChain() { }) // Import the chain. This runs all block validation rules. - blockchain, _ := NewBlockChain(db, gspec.Config, ethash.NewFaker(), vm.Config{}) + blockchain, _ := NewBlockChain(db, nil, gspec.Config, ethash.NewFaker(), vm.Config{}) defer blockchain.Stop() if i, err := blockchain.InsertChain(chain); err != nil { |
