Struct everscale_network::overlay::IdFull
source · pub struct IdFull(_);Expand description
Full overlay id
Implementations§
source§impl IdFull
impl IdFull
sourcepub fn for_catchain_overlay<'tl, I>(unique_hash: &'tl [u8; 32], nodes: I) -> Selfwhere
I: Iterator<Item = &'tl [u8; 32]> + ExactSizeIterator + Clone,
pub fn for_catchain_overlay<'tl, I>(unique_hash: &'tl [u8; 32], nodes: I) -> Selfwhere I: Iterator<Item = &'tl [u8; 32]> + ExactSizeIterator + Clone,
Constructs full overlay id for the catchain overlay
sourcepub fn for_workchain_overlay(
workchain: i32,
zero_state_file_hash: &[u8; 32]
) -> Self
pub fn for_workchain_overlay( workchain: i32, zero_state_file_hash: &[u8; 32] ) -> Self
Constructs full overlay id for the workchain overlay
sourcepub fn compute_short_id(&self) -> IdShort
pub fn compute_short_id(&self) -> IdShort
Hashes inner public key