diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-23 16:17:18 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-23 16:17:18 +0800 |
commit | b403b9e4c398a285c0e307771761b29bab47adb9 (patch) | |
tree | b9991d8a9ab71e84a1350e0769ec9ae59ecd3cc0 /core | |
parent | 26a269ea09667f7e49b89f96bb5eaee66c0d10f8 (diff) | |
parent | c7e7778f2a7d80fa12643db546db98fa70f2e384 (diff) | |
download | go-tangerine-b403b9e4c398a285c0e307771761b29bab47adb9.tar.gz go-tangerine-b403b9e4c398a285c0e307771761b29bab47adb9.tar.zst go-tangerine-b403b9e4c398a285c0e307771761b29bab47adb9.zip |
Merge pull request #1508 from karalabe/database-caching
cmd, core, eth, ethdb: cache flag to allocate memory for db internal use
Diffstat (limited to 'core')
-rw-r--r-- | core/bench_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bench_test.go b/core/bench_test.go index 018d27d8d..ec0474ad9 100644 --- a/core/bench_test.go +++ b/core/bench_test.go @@ -153,7 +153,7 @@ func benchInsertChain(b *testing.B, disk bool, gen func(int, *BlockGen)) { b.Fatalf("cannot create temporary directory: %v", err) } defer os.RemoveAll(dir) - db, err = ethdb.NewLDBDatabase(dir) + db, err = ethdb.NewLDBDatabase(dir, 0) if err != nil { b.Fatalf("cannot create temporary database: %v", err) } |