pub enum BaselineConsensusAlert {
Agreed {
node_count: u8,
median_rho: f32,
robust_sigma_rho: f32,
},
UnreliableBaseline {
agreeing: u8,
disagreeing: u8,
rho_spread: f32,
},
}Expand description
Decision issued by the swarm-level baseline sanity check.
See swarm_baseline_sanity_check() for usage.
§Relationship to paper §XIX-B (Bootstrap Paradox defence)
Calibration MUST NOT lock until Agreed is returned and every participating
node also passes its individual check_calibration_window() check (WSS
pre-condition, §XII).
Variants§
Agreed
All participating nodes agree on a healthy baseline. Calibration may proceed after individual WSS checks pass.
Fields
UnreliableBaseline
Node disagreement exceeds the spread tolerance.
CALIBRATION MUST NOT LOCK until this is resolved. Possible causes: Low-and-Slow spoofing contaminating one or more calibration windows; hardware fault on a node; severe multipath.
Trait Implementations§
Source§impl Clone for BaselineConsensusAlert
impl Clone for BaselineConsensusAlert
Source§fn clone(&self) -> BaselineConsensusAlert
fn clone(&self) -> BaselineConsensusAlert
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BaselineConsensusAlert
impl Debug for BaselineConsensusAlert
Source§impl PartialEq for BaselineConsensusAlert
impl PartialEq for BaselineConsensusAlert
impl Copy for BaselineConsensusAlert
impl StructuralPartialEq for BaselineConsensusAlert
Auto Trait Implementations§
impl Freeze for BaselineConsensusAlert
impl RefUnwindSafe for BaselineConsensusAlert
impl Send for BaselineConsensusAlert
impl Sync for BaselineConsensusAlert
impl Unpin for BaselineConsensusAlert
impl UnsafeUnpin for BaselineConsensusAlert
impl UnwindSafe for BaselineConsensusAlert
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more