Skip to main content

discovery_scope

Function discovery_scope 

Source
pub fn discovery_scope(network: Option<&str>) -> Option<[u8; 16]>
Expand description

Derive a discovery scope (first 16 bytes of the network id) from a network name. None for networks without a name, keeping the default daemon compatible with plain iroh peers on the LAN.