Skip to main content

Module zcash_primitives

Module zcash_primitives 

Source
Expand description

Contains code that interfaces with the zcash_primitives crate from librustzcash.

Structsยง

IdentityMap ๐Ÿ”’
MapTransparent ๐Ÿ”’
PrecomputedAuth ๐Ÿ”’
PrecomputedTxData ๐Ÿ”’
Precomputed data used for sighash or txid computation.
TransparentAuth ๐Ÿ”’

Enumsยง

SighashError ๐Ÿ”’
Internal error type returned by sighash_inner when a sighash request violates one of the documented preconditions of sighash or sighash_v4_raw.

Functionsยง

auth_digest ๐Ÿ”’
Compute the authorizing data commitment of this transaction as specified in ZIP-244.
sighash ๐Ÿ”’
Compute a signature hash using librustzcash.
sighash_inner ๐Ÿ”’
Internal sighash computation that surfaces precondition violations through Result instead of spreading .expect() calls across multiple sites.
sighash_v4_raw ๐Ÿ”’
Compute a pre-V5 (V4) signature hash using the raw hash_type byte.