Module helpers

Module helpers 

Source
Expand description

Helper functions for ZELD protocol operations.

Functionsยง

all_inputs_sighash_all
Returns true if all inputs are signed with SIGHASH_ALL (or SIGHASH_DEFAULT for Taproot). Returns false if any input uses a different sighash type or if the sighash cannot be determined.
calculate_reward
compute_utxo_key
extract_address
Extracts the Bitcoin address from a script, if possible.
leading_zero_count
parse_op_return