Skip to main content

matches_local

Function matches_local 

Source
fn matches_local(peer: &Bloom, mine: &Bloom) -> bool
Expand description

True if peer’s advertised bloom is acceptable to a local node whose bloom is mine. Peer must cover every mandatory bit and, when optional is non-empty, share at least one optional bit. An empty mine matches everything.