mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
* Add CLI flags to config LevelDB table/total sizes
I wired up CLI flags to allow configuring LevelDB table and total sizes:
- `--leveldb.compaction.table.size`, LevelDB SSTable file size factor in MiB (default: 2)
- `--leveldb.compaction.table.multiplier`, multiplier on LevelDB SSTable file size (default: 1)
- `--leveldb.compaction.total.size`, total size factor in MiB of LevelDB levels (default: 10)
- `--leveldb.compaction.total.multiplier`, multiplier on LevelDB total level size (default: 10)
N.B. that the default values for these configs are exactly the same as
before this changset and so Bor behavior should not change unless these
flags are deliberately overridden. Bor/Geth inherited the default values
from [the `goleveldb`
defaults](
|
||
|---|---|---|
| .. | ||
| flagset | ||
| server | ||
| account.go | ||
| account_import.go | ||
| account_list.go | ||
| account_new.go | ||
| attach.go | ||
| bootnode.go | ||
| bor_fingerprint.go | ||
| chain.go | ||
| chain_sethead.go | ||
| chain_watch.go | ||
| command.go | ||
| debug.go | ||
| debug_block.go | ||
| debug_pprof.go | ||
| debug_test.go | ||
| dumpconfig.go | ||
| markdown.go | ||
| markdown_test.go | ||
| peers.go | ||
| peers_add.go | ||
| peers_list.go | ||
| peers_remove.go | ||
| peers_status.go | ||
| removedb.go | ||
| snapshot.go | ||
| status.go | ||
| status_test.go | ||
| version.go | ||