Expand description
CometBFT is a high-performance blockchain consensus engine that powers Byzantine fault tolerant applications written in any programming language. This crate provides core types for representing information about CometBFT blockchain networks, including chain information types, secret connections, and remote procedure calls (JSON-RPC).
Re-exports§
pub use crate::block::Block;pub use crate::error::Error;pub use crate::genesis::Genesis;pub use crate::hash::AppHash;pub use crate::hash::Hash;pub use crate::private_key::PrivateKey;pub use crate::proposal::Proposal;pub use crate::public_key::CometbftKey;pub use crate::public_key::PublicKey;pub use crate::signature::Signature;pub use crate::time::Time;pub use crate::vote::Vote;
Modules§
- abci
- Application BlockChain Interface (ABCI) is the interface between CometBFT (a consensus engine for Byzantine-fault-tolerant replication of a state machine) and an application (the state machine to be replicated).
- account
- CometBFT accounts
- block
- Blocks within the chains of a CometBFT network
- bytes
- Signing arbitrary bytes.
- chain
- Chain information types for CometBFT networks
- channel
- Channels (RPC types)
- consensus
- Tendermint consensus
- crypto
- Cryptographic functionality for CometBFT.
- duration
- error
- Error types
- evidence
- Evidence of malfeasance by validators (i.e. signing conflicting votes).
- genesis
- Genesis data
- hash
- Hash functions and their outputs
- merkle
- Merkle tree used in CometBFT networks
- node
- Nodes in CometBFT blockchain networks
- private_
key - Cryptographic private keys
- privval
- Types used in the Privval protocol (Tendermint Core ADR-063)
- proposal
- Proposals from validators
- public_
key - Public keys used in CometBFT networks
- serializers
- Serde serializers
- signature
- Cryptographic (a.k.a. digital) signatures
- time
- Timestamps used by CometBFT blockchains
- trust_
threshold - Define traits and instances for dealing with trust thresholds.
- tx
- validator
- CometBFT validators
- vote
- Votes from validators