mirror of
https://github.com/jmcorgan/fips.git
synced 2026-08-09 08:14:42 +00:00
Rename src/proto/discovery to src/proto/lookup and bring the module's naming onto the lookup stem, matching its concept: a mesh lookup of a node's coordinates from its pubkey, sent into the mesh as a bloom-filter-guided multicast request that returns a unicast response with the coordinates. - the module directory and its declaration (proto::discovery -> proto::lookup) - exported types: DiscoveryAction -> LookupAction, DiscoveryBackoff -> LookupBackoff, DiscoveryForwardRateLimiter -> LookupForwardRateLimiter, MAX_RECENT_DISCOVERY_REQUESTS -> MAX_RECENT_LOOKUP_REQUESTS, and the Discovery state struct -> Lookup - internal terminology: doc comments, the "overlay-lookup" phrasing, the empty_discovery/suppressing_discovery test helpers, and the disc parameter/variable all take the lookup names - the already-lookup-named wire types (LookupRequest/LookupResponse) are unchanged Behavior-neutral: no wire bytes or decision logic change. Two references are intentionally kept as "discovery": the still-named node::handlers::discovery shell module and the node.discovery.* config keys, which belong to the broader disambiguation of the shell, config, and metric surfaces still to come.
21 lines
477 B
Rust
21 lines
477 B
Rust
//! Sans-IO (runtime-agnostic) protocol state machines.
|
|
//!
|
|
//! A module here has been migrated out of the async node shell; the async
|
|
//! I/O adapters remain in `node::handlers`.
|
|
|
|
mod error;
|
|
pub use error::Error;
|
|
|
|
pub(crate) mod bloom;
|
|
pub(crate) mod codec;
|
|
pub(crate) mod coord;
|
|
pub(crate) mod fmp;
|
|
pub(crate) mod fsp;
|
|
pub(crate) mod link;
|
|
pub(crate) mod lookup;
|
|
pub(crate) mod math;
|
|
pub(crate) mod mmp;
|
|
pub(crate) mod rate_limit;
|
|
pub(crate) mod routing;
|
|
pub(crate) mod stp;
|