mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
This commit adds default values to CLI helper and docs. When the default value of a string flag, slice string flag, or map string flag is empty, its helper message won't show any default value.
13 lines
No EOL
293 B
Markdown
13 lines
No EOL
293 B
Markdown
# Chain sethead
|
|
|
|
The ```chain sethead <number>``` command sets the current chain to a certain block.
|
|
|
|
## Arguments
|
|
|
|
- ```number```: The block number to roll back.
|
|
|
|
## Options
|
|
|
|
- ```address```: Address of the grpc endpoint (default: 127.0.0.1:3131)
|
|
|
|
- ```yes```: Force set head (default: false) |