Skip to main content

Module peer_selector

Module peer_selector 

Source
Expand description

PeerSelectorRuntime - role trait for peer-sampling implementations.

Per docs/ROLES.md §10. The trait carries the universal pair (atomic_opset + dispatch_atomic); the engine routes through dispatch_atomic. Author Contract impls (crate::contracts::PeerSelector) define the user-facing surface; #[derive(bb::PeerSelector)] emits the bridge into PeerSelectorRuntime::dispatch_atomic.

Traits§

PeerSelectorRuntime
Role trait for peer-sampling implementations.