#tendermint #bft #consensus #cosmos #blockchain

app tendermint-light-client-cli

Implementation of the Tendermint Light Client CLI

16 releases (8 breaking)

0.40.1 Dec 25, 2024
0.40.0 Oct 23, 2024
0.39.1 Aug 9, 2024
0.38.1 Jul 23, 2024
0.33.0 Jul 24, 2023

#17 in #bft

Download history 11/week @ 2024-09-25 15/week @ 2024-10-02 127/week @ 2024-10-23 4/week @ 2024-10-30 1/week @ 2024-12-04 8/week @ 2024-12-11 120/week @ 2024-12-25 6/week @ 2025-01-08

126 downloads per month

Apache-2.0

1.5MB
22K SLoC

Crate Docs

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

Light Client CLI

CLI for the Tendermint Light Client.

Usage

Usage: tendermint-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

Dependencies

~21–35MB
~550K SLoC