Skip to main content

Module consensus

Module consensus 

Source
Expand description

Consensus — Proof of Entropy (PoE).

No mining. No staking. No wasted energy. Each round, exactly one Probe in the validator set is chosen to propose the next block, and the choice is derived deterministically from the round’s public randomness beacon (see entropa_core::beacon) — so every honest node computes the same proposer without coordination, and no validator (however rich or powerful) can bias who gets selected.

This is a stub VRF (hash the beacon). Production replaces select_proposer’s inner draw with a verifiable random function whose proof is committed on-chain.

Structs§

Validator
A validator’s public identity in the set.

Constants§

NAME
Human-readable name of Entropa’s consensus mechanism.

Functions§

select_proposer
Deterministically select the proposer index for a round from the cosmic beacon. Returns None if the validator set is empty.