Type Definition lnpbp_chain::P2pMagicNumber
source · pub type P2pMagicNumber = u32;
Expand description
P2P network magic number: prefix identifying network on which node operates
Trait Implementations§
source§impl From<P2pNetworkId> for P2pMagicNumber
impl From<P2pNetworkId> for P2pMagicNumber
source§fn from(network: P2pNetworkId) -> Self
fn from(network: P2pNetworkId) -> Self
Converts to this type from the input type.