entropa_node/lib.rs
1//! # Entropa node
2//!
3//! The consensus engine: a [`Mempool`] of pending transactions, cosmic-seeded proposer
4//! selection ([`select_proposer`]), and a [`Node`] that produces and validates blocks.
5//!
6//! Networking (libp2p gossip, peer discovery) will wrap this crate — the consensus core
7//! is deliberately transport-free so it stays fully testable.
8
9pub mod consensus;
10pub mod mempool;
11pub mod node;
12
13pub use consensus::{select_proposer, Validator};
14pub use mempool::Mempool;
15pub use node::{Node, NodeError};