Crate zcash_script
source · [−]Re-exports
pub use self::zcash_script_error_t as zcash_script_error;
Structs
Constants
Functions
Frees a precomputed transaction previously created with
zcash_script_new_precomputed_tx.
Returns the number of transparent signature operations in the
transparent inputs and outputs of the serialized transaction
pointed to by txTo.
Returns the number of transparent signature operations in the
transparent inputs and outputs of the precomputed transaction
pointed to by preTx.
Deserializes the given transaction and precomputes values to improve
script verification performance.
Deserializes the given transaction and precomputes values to improve
script verification performance. Must be used for V5 transactions;
may also be used for previous versions.
Returns 1 if the input nIn of the serialized transaction pointed to by
txTo correctly spends the scriptPubKey pointed to by scriptPubKey under
the additional constraints specified by flags.
Returns 1 if the input nIn of the precomputed transaction pointed to by
preTx correctly spends the scriptPubKey pointed to by scriptPubKey under
the additional constraints specified by flags.
Returns 1 if the input nIn of the serialized transaction pointed to by
txTo correctly spends the matching output in allPrevOutputs under
the additional constraints specified by flags. Must be used for V5 transactions;
may also be used for previous versions.
Returns the current version of the zcash_script library.
Type Definitions
Script verification flags