cometbft-light-client-cli

Crates.iocometbft-light-client-cli
lib.rscometbft-light-client-cli
version0.1.0-alpha.2
sourcesrc
created_at2024-01-27 09:31:30.492656
updated_at2024-01-27 09:31:30.492656
description The CometBFT Light Client command line tool.
homepage
repositoryhttps://github.com/cometbft/cometbft-rs
max_upload_size
id1116625
size72,673
Romain Ruetschi (romac)

documentation

README

Crate Docs

See the repo root for build status, license, Rust version, etc.

Light Client CLI

CLI for the CometBFT Light Client.

Usage

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
Commit count: 0

cargo fmt