pub fn magic(&self) -> [u8; 4] {
        match self {
            Network::Mainnet => [0xe3, 0xe1, 0xf3, 0xe8],
            Network::Testnet => [0xf4, 0xe5, 0xf3, 0xf4],
        }
    }
/// Returns the magic bytes for the message headers
Returns the magic bytes for the message headers
Returns the magic bytes for the message headers
pub fn magic(&self) -> [u8; 4] {
        match self {
            Network::Mainnet => [0xe3, 0xe1, 0xf3, 0xe8],
            Network::Testnet => [0xf4, 0xe5, 0xf3, 0xf4],
        }
    }
pub fn magic ( & self ) -> [ u8 ; 4 ] { match self { Network :: Mainnet => [ 0xe3 , 0xe1 , 0xf3 , 0xe8 ] , Network :: Testnet => [ 0xf4 , 0xe5 , 0xf3 , 0xf4 ] , } }
Returns the magic bytes for the message headers
Returns the magic bytes for the message headers
&self
&self