pub fn legacyaddr_pubkeyhash_flag(&self) -> u8 {
        match self {
            Network::Mainnet => 0x00,
            Network::Testnet => 0x6f,
            Network::Regtest => 0x00,
            Network::Ethereum => 0x00,
            Network::BsvMainnet => 0x00,
            Network::BsvRegtest => 0x6f, // not legacy. is using for bsv
        }
    }
/// Returns the version byte flag for P2PKH-type legacy addresses
Returns the version byte flag for P2PKH-type legacy addresses
Returns the version byte flag for P2PKH - type legacy addresses
pub fn legacyaddr_pubkeyhash_flag(&self) -> u8 {
        match self {
            Network::Mainnet => 0x00,
            Network::Testnet => 0x6f,
            Network::Regtest => 0x00,
            Network::Ethereum => 0x00,
            Network::BsvMainnet => 0x00,
            Network::BsvRegtest => 0x6f, // not legacy. is using for bsv
        }
    }
pub fn legacyaddr_pubkeyhash_flag ( & self ) -> u8 { match self { Network :: Mainnet => 0x00 , Network :: Testnet => 0x6f , Network :: Regtest => 0x00 , Network :: Ethereum => 0x00 , Network :: BsvMainnet => 0x00 , Network :: BsvRegtest => 0x6f , // not legacy. is using for bsv } }
Returns the version byte flag for P2PKH-type legacy addresses
Returns the version byte flag for P2PKH - type legacy addresses
&self
&self