celestia_tendermint/
lib.rs

1//! Tendermint is a high-performance blockchain consensus engine that powers
2//! Byzantine fault tolerant applications written in any programming language.
3//! This crate provides core types for representing information about Tendermint
4//! blockchain networks, including chain information types, secret connections,
5//! and remote procedure calls (JSON-RPC).
6
7#![no_std]
8#![cfg_attr(docsrs, feature(doc_cfg))]
9#![deny(warnings, trivial_casts, trivial_numeric_casts, unused_import_braces)]
10#![forbid(unsafe_code)]
11#![doc(
12    html_logo_url = "https://raw.githubusercontent.com/informalsystems/tendermint-rs/master/img/logo-tendermint-rs_3961x4001.png"
13)]
14
15extern crate alloc;
16
17#[cfg(any(feature = "std", test))]
18extern crate std;
19
20#[macro_use]
21mod proto_macros;
22
23pub mod error;
24
25pub mod abci;
26pub mod account;
27pub mod block;
28pub mod chain;
29pub mod channel;
30pub mod consensus;
31pub mod crypto;
32pub mod evidence;
33pub mod genesis;
34pub mod hash;
35pub mod merkle;
36mod moniker;
37pub mod node;
38mod prelude;
39pub mod private_key;
40pub mod privval;
41pub mod proposal;
42pub mod public_key;
43pub mod serializers;
44pub mod signature;
45pub mod time;
46mod timeout;
47pub mod trust_threshold;
48pub mod tx;
49pub mod validator;
50mod version;
51pub mod vote;
52
53pub mod v0_34;
54pub mod v0_37;
55
56#[cfg(test)]
57mod test;
58
59pub use crate::{
60    block::Block,
61    error::Error,
62    genesis::Genesis,
63    hash::{AppHash, Hash},
64    moniker::Moniker,
65    private_key::PrivateKey,
66    proposal::Proposal,
67    public_key::{PublicKey, TendermintKey},
68    signature::Signature,
69    time::Time,
70    timeout::Timeout,
71    version::Version,
72    vote::Vote,
73};