proting for Hush
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/// The mainnet coin type for ZEC, as defined by [SLIP 44].
|
/// The mainnet coin type for ZEC, as defined by [SLIP 44].
|
||||||
///
|
///
|
||||||
/// [SLIP 44]: https://github.com/satoshilabs/slips/blob/master/slip-0044.md
|
/// [SLIP 44]: https://github.com/satoshilabs/slips/blob/master/slip-0044.md
|
||||||
pub const COIN_TYPE: u32 = 133;
|
pub const COIN_TYPE: u32 = 141;
|
||||||
|
|
||||||
/// The HRP for a Bech32-encoded mainnet [`ExtendedSpendingKey`].
|
/// The HRP for a Bech32-encoded mainnet [`ExtendedSpendingKey`].
|
||||||
///
|
///
|
||||||
@@ -30,9 +30,9 @@ pub const HRP_SAPLING_PAYMENT_ADDRESS: &str = "zs";
|
|||||||
/// The prefix for a Base58Check-encoded mainnet [`TransparentAddress::PublicKey`].
|
/// The prefix for a Base58Check-encoded mainnet [`TransparentAddress::PublicKey`].
|
||||||
///
|
///
|
||||||
/// [`TransparentAddress::PublicKey`]: zcash_primitives::legacy::TransparentAddress::PublicKey
|
/// [`TransparentAddress::PublicKey`]: zcash_primitives::legacy::TransparentAddress::PublicKey
|
||||||
pub const B58_PUBKEY_ADDRESS_PREFIX: [u8; 2] = [0x1c, 0xb8];
|
pub const B58_PUBKEY_ADDRESS_PREFIX: [u8; 1] = [0x3c];
|
||||||
|
|
||||||
/// The prefix for a Base58Check-encoded mainnet [`TransparentAddress::Script`].
|
/// The prefix for a Base58Check-encoded mainnet [`TransparentAddress::Script`].
|
||||||
///
|
///
|
||||||
/// [`TransparentAddress::Script`]: zcash_primitives::legacy::TransparentAddress::Script
|
/// [`TransparentAddress::Script`]: zcash_primitives::legacy::TransparentAddress::Script
|
||||||
pub const B58_SCRIPT_ADDRESS_PREFIX: [u8; 2] = [0x1c, 0xbd];
|
pub const B58_SCRIPT_ADDRESS_PREFIX: [u8; 1] = [0x55];
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ pub mod transact;
|
|||||||
const ANCHOR_OFFSET: u32 = 10;
|
const ANCHOR_OFFSET: u32 = 10;
|
||||||
|
|
||||||
#[cfg(feature = "mainnet")]
|
#[cfg(feature = "mainnet")]
|
||||||
const SAPLING_ACTIVATION_HEIGHT: i32 = 419_200;
|
const SAPLING_ACTIVATION_HEIGHT: i32 = 227_520;
|
||||||
|
|
||||||
#[cfg(not(feature = "mainnet"))]
|
#[cfg(not(feature = "mainnet"))]
|
||||||
const SAPLING_ACTIVATION_HEIGHT: i32 = 280_000;
|
const SAPLING_ACTIVATION_HEIGHT: i32 = 280_000;
|
||||||
|
|||||||
Reference in New Issue
Block a user