Expand description
Transparent key components: BIP 44 account keys with their incoming and outgoing viewing keys, derivation-path index types, functions that read BIP 44 and ZIP 48 derivation paths from PCZT metadata, and zcashd-compatible encodings of standalone transparent spending keys.
Modules§
- gap_
limits transparent-inputs - Types and operations specific to generation of transparent addresses using a “gap limit”
strategy, as described by
BIP 44. - test_
vectors transparent-key-encodingand (test-dependencies) - zip48
transparent-inputs - Keys for ZIP 48 transparent multisig accounts.
Structs§
- Account
Priv Key transparent-inputs - A BIP44 private key at the account path level
m/44'/<coin_type>'/<account>'. - Account
PubKey transparent-inputs - A BIP44 public key at the account path level
m/44'/<coin_type>'/<account>'. - DerDecode
Error transparent-key-encoding - An error indicating that a DER-encoded secret key could not be decoded.
- Ephemeral
Ivk transparent-inputs - An incoming viewing key at the “ephemeral” path
m/44'/<coin_type>'/<account>'/2. - External
Ivk transparent-inputs - An incoming viewing key at the BIP44 “external” path
m/44'/<coin_type>'/<account>'/0. - External
Ovk - External outgoing viewing key used by
zcashdfor transparent-to-shielded spends to external receivers. - Internal
Ivk transparent-inputs - An incoming viewing key at the BIP44 “internal” path
m/44'/<coin_type>'/<account>'/1. - Internal
Ovk - Internal outgoing viewing key used for autoshielding.
- Key
transparent-key-encoding - A secp256k1 secret key, along with a flag indicating whether a compressed encoding should be used when performing DER serialization.
- NonHardened
Child Index - A child index for a derived transparent address.
- NonHardened
Child Iter - An end-exclusive iterator over a range of non-hardened child indexes.
- NonHardened
Child Range - An end-exclusive range of non-hardened child indexes.
- Shielding
Ovks - The pair of outgoing viewing keys derived from a transparent full viewing key, as specified in ZIP 316.
- Transparent
KeyScope - The scope of a transparent key.
Enums§
- Parse
Error transparent-key-encoding - Errors that can occur in the parsing of Bitcoin-style base58-encoded secret key material
Traits§
- Incoming
Viewing Key transparent-inputs - Trait representing a transparent “incoming viewing key”.
Functions§
- extract_
bip_ 44_ fields - Extracts the BIP 44 account index, scope, and address index from a PCZT derivation path.
- extract_
zip_ 48_ fields - Extracts the ZIP 48 account index, scope, and address index from a PCZT derivation path.