feat(cli): override static files datadir (#7212)

Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
This commit is contained in:
back
2024-06-03 09:47:15 -07:00
committed by GitHub
parent 994f98f12d
commit 4522fd8baf
50 changed files with 460 additions and 646 deletions

28
book/cli/reth/p2p.md vendored
View File

@ -24,16 +24,10 @@ Options:
[default: mainnet]
--datadir <DATA_DIR>
The path to the data dir for all reth files and subdirectories.
--retries <RETRIES>
The number of retries per request
Defaults to the OS-specific data directory:
- Linux: `$XDG_DATA_HOME/reth/` or `$HOME/.local/share/reth/`
- Windows: `{FOLDERID_RoamingAppData}/reth/`
- macOS: `$HOME/Library/Application Support/reth/`
[default: default]
[default: 5]
--instance <INSTANCE>
Add a new instance of a node.
@ -176,10 +170,20 @@ Networking:
[default: 131072]
--retries <RETRIES>
The number of retries per request
Datadir:
--datadir <DATA_DIR>
The path to the data dir for all reth files and subdirectories.
[default: 5]
Defaults to the OS-specific data directory:
- Linux: `$XDG_DATA_HOME/reth/` or `$HOME/.local/share/reth/`
- Windows: `{FOLDERID_RoamingAppData}/reth/`
- macOS: `$HOME/Library/Application Support/reth/`
[default: default]
--datadir.static_files <PATH>
The absolute path to store static files in.
Database:
--db.log-level <LOG_LEVEL>