Enum bitcoin_bech32::constants::Network
source · pub enum Network {
Bitcoin,
Testnet,
Signet,
Regtest,
Groestlcoin,
GroestlcoinTestnet,
Litecoin,
LitecoinTestnet,
Vertcoin,
VertcoinTestnet,
}
Expand description
The cryptocurrency to act on
Variants§
Bitcoin
Bitcoin mainnet
Testnet
Bitcoin testnet
Signet
Bitcoin signet,
Regtest
Bitcoin regtest,
Groestlcoin
Groestlcoin Mainnet
GroestlcoinTestnet
Groestlcoin Testnet,
Litecoin
Litecoin mainnet
LitecoinTestnet
Litecoin testnet
Vertcoin
Vertcoin mainnet
VertcoinTestnet
Vertcoin testnet
Trait Implementations§
source§impl Ord for Network
impl Ord for Network
source§impl PartialEq<Network> for Network
impl PartialEq<Network> for Network
source§impl PartialOrd<Network> for Network
impl PartialOrd<Network> for Network
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more