diff --git a/bitcoin/src/bip32.rs b/bitcoin/src/bip32.rs index c1c45597..0016d77d 100644 --- a/bitcoin/src/bip32.rs +++ b/bitcoin/src/bip32.rs @@ -33,6 +33,14 @@ const VERSION_BYTES_TESTNETS_PUBLIC: [u8; 4] = [0x04, 0x35, 0x87, 0xCF]; /// Version bytes for extended private keys on any of the testnet networks. const VERSION_BYTES_TESTNETS_PRIVATE: [u8; 4] = [0x04, 0x35, 0x83, 0x94]; +/// The old name for xpub, extended public key. +#[deprecated(since = "0.31.0", note = "use xpub instead")] +pub type ExtendendPubKey = Xpub; + +/// The old name for xpriv, extended public key. +#[deprecated(since = "0.31.0", note = "use xpriv instead")] +pub type ExtendendPrivKey = Xpriv; + /// A chain code #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct ChainCode([u8; 32]);