//! # origin-chain-consensus //! //! Aura (Authority Round) block production + GRANDPA finality, PoA Phase 1 → //! NPoS Phase 2 per **CHN-1** canonical. Stub crate in v0.0.1; full Substrate //! integration lands in Phase 1 (Sesiones 4-8) of [Charon roadmap]. //! //! [Charon roadmap]: https://git.originmetaverse.com/Origin_Metaverse/arkhe-origin-chain //! //! ## Phase 1 milestones //! //! - 1.2 `pallet_aura` + `pallet_grandpa` integration //! - 1.4 `pallet_session` (validator rotation, epoch 4h) //! - 1.6 `origin-chain-node` binary (dev mode, single validator) //! //! ## Phase 2 transition criteria (NPoS, all must hold) //! //! - TVL > $500K USD equivalent in OGC staked //! - ≥20 independent validator candidates with certified hardware //! - MAU > 10,000 //! - PoA uptime > 99.5% for 6 months //! - External security audit passed by ≥1 recognized firm #![deny(missing_docs)] /// Marker zero-cost type for consensus configuration. Replaced by concrete /// Substrate runtime types in Phase 1. #[derive(Debug, Clone, Copy, Default)] pub struct ConsensusConfig; #[cfg(test)] mod tests { use super::*; #[test] fn stub_crate_compiles() { let _cfg = ConsensusConfig; } }