Trait coins_bip32::enc::NetworkParams

source ·
pub trait NetworkParams {
    const PRIV_VERSION: u32;
    const BIP49_PRIV_VERSION: u32;
    const BIP84_PRIV_VERSION: u32;
    const PUB_VERSION: u32;
    const BIP49_PUB_VERSION: u32;
    const BIP84_PUB_VERSION: u32;
}
Expand description

Contains network-specific serialization information

Required Associated Constants§

source

const PRIV_VERSION: u32

The Bip32 privkey version bytes

source

const BIP49_PRIV_VERSION: u32

The Bip49 privkey version bytes

source

const BIP84_PRIV_VERSION: u32

The Bip84 pubkey version bytes

source

const PUB_VERSION: u32

The Bip32 pubkey version bytes

source

const BIP49_PUB_VERSION: u32

The Bip49 pubkey version bytes

source

const BIP84_PUB_VERSION: u32

The Bip84 pubkey version bytes

Object Safety§

This trait is not object safe.

Implementors§

source§

impl NetworkParams for Main

source§

const PRIV_VERSION: u32 = 76_066_276u32

source§

const BIP49_PRIV_VERSION: u32 = 77_428_856u32

source§

const BIP84_PRIV_VERSION: u32 = 78_791_436u32

source§

const PUB_VERSION: u32 = 76_067_358u32

source§

const BIP49_PUB_VERSION: u32 = 77_429_938u32

source§

const BIP84_PUB_VERSION: u32 = 78_792_518u32

source§

impl NetworkParams for Test

source§

const PRIV_VERSION: u32 = 70_615_956u32

source§

const BIP49_PRIV_VERSION: u32 = 71_978_536u32

source§

const BIP84_PRIV_VERSION: u32 = 73_341_116u32

source§

const PUB_VERSION: u32 = 70_617_039u32

source§

const BIP49_PUB_VERSION: u32 = 71_979_618u32

source§

const BIP84_PUB_VERSION: u32 = 73_342_198u32