go-ethereum/docs/cli/chain_sethead.md
Jerry a131e427f6 Automatically generate markdown pages from bor CLI
Adding a script that can automatically generate markdown pages from bor
CLI, so we can avoid copy-pasting helper strings whenever a flag is created,
deleted, or modified.

CLI docs could be generated with command `make docs`.
2022-05-09 17:10:36 +02:00

250 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

  • yes: Force set head