tendermint/abci/
request.rs

1//! ABCI requests and request data.
2//!
3
4// IMPORTANT NOTE ON DOCUMENTATION:
5//
6// The documentation for each request type is adapted from the ABCI Methods and
7// Types spec document. However, the same logical request may appear three
8// times, as a struct with the request data, as a Request variant, and as a
9// CategoryRequest variant.
10//
11// To avoid duplication, this documentation is stored in the doc/ folder in
12// individual .md files, which are pasted onto the relevant items using #[doc =
13// include_str!(...)].
14//
15// This is also why certain submodules have #[allow(unused)] imports to bring
16// items into scope for doc links, rather than changing the doc links -- it
17// allows the doc comments to be copied without editing.
18
19// bring into scope for doc links
20#[allow(unused)]
21use super::types::Snapshot;
22
23pub(super) mod apply_snapshot_chunk;
24pub(super) mod begin_block;
25pub(super) mod check_tx;
26pub(super) mod deliver_tx;
27pub(super) mod echo;
28pub(super) mod end_block;
29pub(super) mod extend_vote;
30pub(super) mod finalize_block;
31pub(super) mod info;
32pub(super) mod init_chain;
33pub(super) mod load_snapshot_chunk;
34pub(super) mod offer_snapshot;
35pub(super) mod prepare_proposal;
36pub(super) mod process_proposal;
37pub(super) mod query;
38pub(super) mod set_option;
39pub(super) mod verify_vote_extension;
40
41pub use apply_snapshot_chunk::ApplySnapshotChunk;
42pub use begin_block::BeginBlock;
43pub use check_tx::{CheckTx, CheckTxKind};
44pub use deliver_tx::DeliverTx;
45pub use echo::Echo;
46pub use end_block::EndBlock;
47pub use extend_vote::ExtendVote;
48pub use finalize_block::FinalizeBlock;
49pub use info::Info;
50pub use init_chain::InitChain;
51pub use load_snapshot_chunk::LoadSnapshotChunk;
52pub use offer_snapshot::OfferSnapshot;
53pub use prepare_proposal::PrepareProposal;
54pub use process_proposal::ProcessProposal;
55pub use query::Query;
56pub use set_option::SetOption;
57pub use verify_vote_extension::VerifyVoteExtension;