mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
docs: describe reth db version in book (#3296)
This commit is contained in:
@ -129,6 +129,42 @@ Options:
|
||||
Print help (see a summary with '-h')
|
||||
```
|
||||
|
||||
## `reth db version`
|
||||
|
||||
```bash
|
||||
$ reth db version --help
|
||||
Lists current and local database versions
|
||||
|
||||
Usage: reth db version [OPTIONS]
|
||||
|
||||
Options:
|
||||
--datadir <DATA_DIR>
|
||||
The path to the data dir for all reth files and subdirectories.
|
||||
|
||||
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]
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
- mainnet
|
||||
- goerli
|
||||
- sepolia
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
-h, --help
|
||||
Print help (see a summary with '-h')
|
||||
```
|
||||
|
||||
## `reth db drop`
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user