Skip to main content

Crate zebra_script

Crate zebra_script 

Source
Expand description

Zebra transparent script verification with the Rust zcash_script interpreter.

Structs§

CachedFfiTransaction
A preprocessed Transaction which can be used to verify scripts within said Transaction.

Enums§

Error
Errors from transaction preparation and script verification.

Traits§

Sigops
Trait for counting the number of transparent signature operations in the transparent inputs and outputs of a transaction.

Functions§

legacy_sigop_count
Counts the signature operations in script like zcashd’s CScript::GetSigOpCount(false).
p2sh_input_sigop_count
Returns the P2SH sigop count for a single input.
p2sh_sigop_count
Returns the total number of P2SH sigops across all inputs of tx.