aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb
diff options
context:
space:
mode:
authorvillesundell <github@solarius.fi>2016-07-12 17:42:47 +0800
committerFelix Lange <fjl@twurst.com>2016-07-12 17:42:47 +0800
commitc7442ef0d20ff17485921d248b1f0d7caeeb9188 (patch)
treec2bed11bcbcc327a603120bc119e46f2bfedc963 /ethdb
parent2b94d7fc7fa93ecfd5ab6ddaa0c7bf4d2224d2be (diff)
downloaddexon-c7442ef0d20ff17485921d248b1f0d7caeeb9188.tar
dexon-c7442ef0d20ff17485921d248b1f0d7caeeb9188.tar.gz
dexon-c7442ef0d20ff17485921d248b1f0d7caeeb9188.tar.bz2
dexon-c7442ef0d20ff17485921d248b1f0d7caeeb9188.tar.lz
dexon-c7442ef0d20ff17485921d248b1f0d7caeeb9188.tar.xz
dexon-c7442ef0d20ff17485921d248b1f0d7caeeb9188.tar.zst
dexon-c7442ef0d20ff17485921d248b1f0d7caeeb9188.zip
ethdb, p2p/discover: replace "alloted" with "allotted" (#2785)
Diffstat (limited to 'ethdb')
-rw-r--r--ethdb/database.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/ethdb/database.go b/ethdb/database.go
index dffb42e2b..29da4a197 100644
--- a/ethdb/database.go
+++ b/ethdb/database.go
@@ -36,14 +36,14 @@ import (
var OpenFileLimit = 64
-// cacheRatio specifies how the total alloted cache is distributed between the
+// cacheRatio specifies how the total allotted cache is distributed between the
// various system databases.
var cacheRatio = map[string]float64{
"dapp": 0.0,
"chaindata": 1.0,
}
-// handleRatio specifies how the total alloted file descriptors is distributed
+// handleRatio specifies how the total allotted file descriptors is distributed
// between the various system databases.
var handleRatio = map[string]float64{
"dapp": 0.0,
@@ -79,7 +79,7 @@ func NewLDBDatabase(file string, cache int, handles int) (*LDBDatabase, error) {
if handles < 16 {
handles = 16
}
- glog.V(logger.Info).Infof("Alloted %dMB cache and %d file handles to %s", cache, handles, file)
+ glog.V(logger.Info).Infof("Allotted %dMB cache and %d file handles to %s", cache, handles, file)
// Open the db and recover any potential corruptions
db, err := leveldb.OpenFile(file, &opt.Options{