cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache

This commit is contained in:
Péter Szilágyi
2016-02-19 14:29:19 +02:00
parent 05c86c2c9f
commit e90958cd29
13 changed files with 176 additions and 24 deletions

View File

@ -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))
}