Skip to main content

Crate entropa_node

Crate entropa_node 

Source
Expand description

§Entropa node

The consensus engine: a Mempool of pending transactions, cosmic-seeded proposer selection (select_proposer), and a Node that produces and validates blocks.

Networking (libp2p gossip, peer discovery) will wrap this crate — the consensus core is deliberately transport-free so it stays fully testable.

Re-exports§

pub use consensus::select_proposer;
pub use consensus::Validator;
pub use mempool::Mempool;
pub use node::Node;
pub use node::NodeError;

Modules§

consensus
Consensus — Proof of Entropy (PoE).
mempool
The mempool — pending transactions awaiting inclusion in a block.
node
The node — one participant that holds a chain, a mempool, and a validator set, and runs the produce/accept consensus loop.