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

Method into_iterator

crypto/src/node.rs:82–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80 }
81
82 pub fn into_iterator(self) -> impl Iterator<Item = NodeIndex> {
83 (0..self.0).map(NodeIndex)
84 }
85
86 /// If this is the total node count, what number of nodes is required for secure consensus.
87 pub fn consensus_threshold(&self) -> NodeCount {

Calls

no outgoing calls