aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb/database.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-08-07 01:57:39 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-08-08 04:29:02 +0800
commita23478c0be94e1e727a64d20341b8d6f98d7f0a0 (patch)
tree27020e2617acb8881332cac998965acdee6c2eb9 /ethdb/database.go
parentd7580f21f65beaf896bfc004cf13d28ed87f2ae3 (diff)
downloaddexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.gz
dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.zst
dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.zip
core, eth, trie, xeth: merged state, chain, extra databases in one
Diffstat (limited to 'ethdb/database.go')
-rw-r--r--ethdb/database.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/ethdb/database.go b/ethdb/database.go
index ace56c6c7..9e80e5409 100644
--- a/ethdb/database.go
+++ b/ethdb/database.go
@@ -39,9 +39,8 @@ var OpenFileLimit = 64
// cacheRatio specifies how the total alloted cache is distributed between the
// various system databases.
var cacheRatio = map[string]float64{
- "blockchain": 1.0 / 13.0,
- "extra": 2.0 / 13.0,
- "state": 10.0 / 13.0,
+ "dapp": 2.0 / 13.0,
+ "chaindata": 11.0 / 13.0,
}
type LDBDatabase struct {