aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-12 22:26:38 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-12 22:26:38 +0800
commitf87094b660c95b547486e7439620e68f3d59c45f (patch)
tree870c82c7c67c683d1339c1a081c20d87f8f261b8 /eth
parentd82caa5ce38705d2dcdc2ba15c93df9325504e34 (diff)
parentdca290d5252f23435f48f6b15c332422b2c39b72 (diff)
downloadgo-tangerine-f87094b660c95b547486e7439620e68f3d59c45f.tar
go-tangerine-f87094b660c95b547486e7439620e68f3d59c45f.tar.gz
go-tangerine-f87094b660c95b547486e7439620e68f3d59c45f.tar.bz2
go-tangerine-f87094b660c95b547486e7439620e68f3d59c45f.tar.lz
go-tangerine-f87094b660c95b547486e7439620e68f3d59c45f.tar.xz
go-tangerine-f87094b660c95b547486e7439620e68f3d59c45f.tar.zst
go-tangerine-f87094b660c95b547486e7439620e68f3d59c45f.zip
Merge pull request #932 from obscuren/develop
xeth, rpc: implement eth_estimateGas. Closes #930
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 80da30086..46ef64a8a 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -207,6 +207,7 @@ func New(config *Config) (*Ethereum, error) {
logger.NewJSONsystem(config.DataDir, config.LogJSON)
}
+ // Let the database take 3/4 of the max open files (TODO figure out a way to get the actual limit of the open files)
const dbCount = 3
ethdb.OpenFileLimit = 256 / (dbCount + 1)