diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-12 22:26:38 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-12 22:26:38 +0800 |
commit | f87094b660c95b547486e7439620e68f3d59c45f (patch) | |
tree | 870c82c7c67c683d1339c1a081c20d87f8f261b8 /eth | |
parent | d82caa5ce38705d2dcdc2ba15c93df9325504e34 (diff) | |
parent | dca290d5252f23435f48f6b15c332422b2c39b72 (diff) | |
download | dexon-f87094b660c95b547486e7439620e68f3d59c45f.tar.gz dexon-f87094b660c95b547486e7439620e68f3d59c45f.tar.zst dexon-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.go | 1 |
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) |