aboutsummaryrefslogtreecommitdiffstats
path: root/trie
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-19 20:29:19 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-03-09 16:33:39 +0800
commite90958cd29a228b051faeaa25d66e053cf9d2228 (patch)
treedd7dd52d31628375ead8a06e681441102faf9037 /trie
parent05c86c2c9fa14ea03fdc5d0cd77cdecc34e4f164 (diff)
downloadgo-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar
go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.gz
go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.bz2
go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.lz
go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.xz
go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.zst
go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.zip
cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
Diffstat (limited to 'trie')
-rw-r--r--trie/trie_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/trie/trie_test.go b/trie/trie_test.go
index 35d043cdf..493f99d91 100644
--- a/trie/trie_test.go
+++ b/trie/trie_test.go
@@ -461,7 +461,7 @@ func tempDB() (string, Database) {
if err != nil {
panic(fmt.Sprintf("can't create temporary directory: %v", err))
}
- db, err := ethdb.NewLDBDatabase(dir, 300*1024)
+ db, err := ethdb.NewLDBDatabase(dir, 256, 0)
if err != nil {
panic(fmt.Sprintf("can't create temporary database: %v", err))
}