go-ethereum/docs/cli/chain_sethead.md
Jerry a37af35c36 Add default values to CLI helper and docs
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.
2022-12-13 23:23:10 -08:00

293 B

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)