arc-malachitebft-app 0.7.0-pre

High-level interface for building applications on top of the Malachite BFT consensus engine
Documentation
//! Re-export of all types required to build a Malachite application.

pub use libp2p_identity::Keypair;

pub use malachitebft_core_consensus::{
    ConsensusMsg, MisbehaviorEvidence, ProposedValue, SignedConsensusMsg, ValuePayload,
};
pub use malachitebft_engine::host::LocallyProposedValue;
pub use malachitebft_peer::PeerId;

pub mod core {
    pub use malachitebft_core_types::*;
}

pub mod streaming {
    pub use malachitebft_engine::util::streaming::{Sequence, StreamId, StreamMessage};
}

pub mod sync {
    pub use malachitebft_sync::{Metrics, RawDecidedValue, Request, Response, Status};
}

pub mod codec {
    pub use malachitebft_codec::Codec;
    pub use malachitebft_codec::HasEncodedLen;
    pub use malachitebft_engine::consensus::ConsensusCodec;
    pub use malachitebft_engine::sync::SyncCodec;
    pub use malachitebft_engine::wal::WalCodec;
}