version
Prints the current version of the validator to standard output and exits.Usage
Output
The command writes diagnostic messages from logs tostderr and the version string to stdout.
Example
shred-version
Prints the current shred version of the cluster being joined, according to the entrypoints, to standard output and exits.Usage
Output
The command writes diagnostic messages from logs tostderr and the shred version to stdout.
Example
metrics
Prints the current validator metrics to stdout. Metrics can typically be accessed via HTTP when themetric tile is enabled, but the command can be used even if the metrics server is not enabled, or the validator has crashed.
Usage
Arguments
Path to the configuration TOML file used by the validator
Example
set-identity
Changes the identity key of a running validator.Usage
Arguments
Path to an
identity.json keypair file, or - to read the JSON formatted key from stdinPath to a configuration TOML file of the validator to change identity for. This must be the same configuration file the validator was started with.
If specified, refuse to set the validator identity if saved tower state is not found
If a
set-identity operation is abandoned part way through, you will need to specify --force to reset the validator key state when trying againImportant Safety Information
Best Practices
Best practice requires copying thetower.bin file from the prior validator to the new validator, to ensure that vote lockouts are respected.
Behavior
- The validator will not change identity in the middle of a leader slot
- The validator will wait until any in-progress leader slot completes before switching to the new identity
- It is safe to call during or near a leader slot because of this wait
- The command exits successfully (exit code 0) if the identity key was changed
- Otherwise it will fail and print diagnostic messages to
stderr
Failure Scenarios
Reasons for failure include:- The validator being unable to open or load the tower (when
--require-toweris specified) - Being unable to load or verify the provided identity key
- Partial state from a cancelled previous
set-identityoperation (use--forceto resolve)
Example
- From File
- From stdin
- With Tower Requirement
- With Force
mem
Prints information about the memory requirements and the tile configuration and layout of the validator tostdout before exiting.
Usage
Arguments
Path to a configuration TOML file to print memory usage information with
Output
The command writes diagnostic messages from logs tostderr and memory information to stdout.
What It Shows
Firedancer preallocates and locks all memory it needs from huge and gigantic page mounts before booting, and thehugetlbfs stage of fdctl configure will reserve the memory described here for exclusive use by Firedancer.
The output includes:
- Summary: Total tiles, total memory locked, required pages by type and NUMA node
- Workspaces: Individual workspace memory allocations
- Links: Inter-tile communication link configurations
- Tiles: Tile-specific memory and CPU assignments
Example
Related Commands
- fdctl configure - Configure OS for Firedancer
- fdctl run - Run the validator
- fdctl monitor - Monitor validator performance
- fdctl keys - Manage validator keys