Crates.io | cometbft-light-client-cli |
lib.rs | cometbft-light-client-cli |
version | 0.1.0-alpha.2 |
source | src |
created_at | 2024-01-27 09:31:30.492656 |
updated_at | 2024-01-27 09:31:30.492656 |
description | The CometBFT Light Client command line tool. |
homepage | |
repository | https://github.com/cometbft/cometbft-rs |
max_upload_size | |
id | 1116625 |
size | 72,673 |
See the repo root for build status, license, Rust version, etc.
CLI for the CometBFT Light Client.
Usage: cometbft-light-client-cli [OPTIONS] --chain-id <CHAIN_ID> --primary <PRIMARY> --witnesses <WITNESSES> --trusted-height <TRUSTED_HEIGHT> --trusted-hash <TRUSTED_HASH>
Options:
--chain-id <CHAIN_ID>
Identifier of the chain
--primary <PRIMARY>
Primary RPC address
--witnesses <WITNESSES>
Comma-separated list of witnesses RPC addresses
--trusted-height <TRUSTED_HEIGHT>
Height of trusted header
--trusted-hash <TRUSTED_HASH>
Hash of trusted header
--height <HEIGHT>
Height of the header to verify
--trust-threshold <TRUST_THRESHOLD>
Trust threshold [default: 2/3]
--trusting-period <TRUSTING_PERIOD>
Trusting period, in seconds (default: two weeks) [default: 1209600]
--max-clock-drift <MAX_CLOCK_DRIFT>
Maximum clock drift, in seconds [default: 5]
--max-block-lag <MAX_BLOCK_LAG>
Maximum block lag, in seconds [default: 5]
-v, --verbose...
Increase verbosity, can be repeated up to 2 times
-h, --help
Print help
-V, --version
Print version