Skip to main content

Module transparent

Module transparent 

Source
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_limitstransparent-inputs
Types and operations specific to generation of transparent addresses using a “gap limit” strategy, as described by BIP 44.
test_vectorstransparent-key-encoding and (test-dependencies)
zip48transparent-inputs
Keys for ZIP 48 transparent multisig accounts.

Structs§

AccountPrivKeytransparent-inputs
A BIP44 private key at the account path level m/44'/<coin_type>'/<account>'.
AccountPubKeytransparent-inputs
A BIP44 public key at the account path level m/44'/<coin_type>'/<account>'.
DerDecodeErrortransparent-key-encoding
An error indicating that a DER-encoded secret key could not be decoded.
EphemeralIvktransparent-inputs
An incoming viewing key at the “ephemeral” path m/44'/<coin_type>'/<account>'/2.
ExternalIvktransparent-inputs
An incoming viewing key at the BIP44 “external” path m/44'/<coin_type>'/<account>'/0.
ExternalOvk
External outgoing viewing key used by zcashd for transparent-to-shielded spends to external receivers.
InternalIvktransparent-inputs
An incoming viewing key at the BIP44 “internal” path m/44'/<coin_type>'/<account>'/1.
InternalOvk
Internal outgoing viewing key used for autoshielding.
Keytransparent-key-encoding
A secp256k1 secret key, along with a flag indicating whether a compressed encoding should be used when performing DER serialization.
NonHardenedChildIndex
A child index for a derived transparent address.
NonHardenedChildIter
An end-exclusive iterator over a range of non-hardened child indexes.
NonHardenedChildRange
An end-exclusive range of non-hardened child indexes.
ShieldingOvks
The pair of outgoing viewing keys derived from a transparent full viewing key, as specified in ZIP 316.
TransparentKeyScope
The scope of a transparent key.

Enums§

ParseErrortransparent-key-encoding
Errors that can occur in the parsing of Bitcoin-style base58-encoded secret key material

Traits§

IncomingViewingKeytransparent-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.