Tendermint is a high-performance blockchain consensus engine that powers
Byzantine fault tolerant applications written in any programming language.
This crate provides types for representing information about Tendermint
blockchain networks, including chain IDs, block IDs, and block heights.
//! State of a particular Tendermint network (a.k.a. chain)
usecrate::block;/// Tendermint consensus state
#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]pubstructConsensusState{/// Current block height
pubheight:block::Height,
/// Current consensus round
pubround:i64,
/// Current consensus step
pubstep:i8,
/// Block ID being proposed (if available)
pubblock_id:Option<block::Id>,
}