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](
|
||
|---|---|---|
| .. | ||
| account.md | ||
| account_import.md | ||
| account_list.md | ||
| account_new.md | ||
| attach.md | ||
| bootnode.md | ||
| chain.md | ||
| chain_sethead.md | ||
| chain_watch.md | ||
| debug.md | ||
| debug_block.md | ||
| debug_pprof.md | ||
| dumpconfig.md | ||
| example_config.toml | ||
| fingerprint.md | ||
| peers.md | ||
| peers_add.md | ||
| peers_list.md | ||
| peers_remove.md | ||
| peers_status.md | ||
| README.md | ||
| removedb.md | ||
| server.md | ||
| snapshot.md | ||
| snapshot_prune-state.md | ||
| status.md | ||
| version.md | ||