pub type ExtendedPrivKey = Xpriv;👎Deprecated since 0.31.0: use xpriv instead
Expand description
The old name for xpriv, extended public key.
Aliased Type§
pub struct ExtendedPrivKey {
pub network: NetworkKind,
pub depth: u8,
pub parent_fingerprint: Fingerprint,
pub child_number: ChildNumber,
pub private_key: SecretKey,
pub chain_code: ChainCode,
}Fields§
§network: NetworkKindThe network this key is to be used on
depth: u8How many derivations this key is from the master (which is 0)
parent_fingerprint: FingerprintFingerprint of the parent key (0 for master)
child_number: ChildNumberChild number of the key used to derive from parent (0 for master)
private_key: SecretKeyPrivate key
chain_code: ChainCodeChain code