mod.rs
1 //! Routing table — K-bucket based peer storage 2 //! 3 //! This module implements a Kademlia-style routing table with Abzu-specific enhancements: 4 //! 5 //! - **Reputation-aware eviction**: Bad actors can be marked unresponsive 6 //! - **Epoch-based refresh tracking**: Buckets know when they were last refreshed 7 //! - **Tree coordinate caching**: Nodes remember coords for hybrid routing 8 9 mod table; 10 mod bucket; 11 mod node; 12 13 pub use table::{RoutingTable, AddResult, ClosestNodes}; 14 pub use bucket::KBucket; 15 pub use node::{NodeInfo, NodeState};