MCPcopy Create free account
hub / github.com/aleph-zero-foundation/AlephBFT / NodeSubset

Class NodeSubset

crypto/src/node.rs:222–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221#[derive(Clone, Eq, PartialEq, Hash, Debug, Default)]
222pub struct NodeSubset(bit_vec::BitVec<u32>);
223
224impl NodeSubset {
225 pub fn with_size(capacity: NodeCount) -> Self {

Callers 5

to_subsetMethod · 0.85
with_sizeMethod · 0.85
complementMethod · 0.85
decodeMethod · 0.85

Calls

no outgoing calls

Tested by 1