Expand description

Miscellaneous helper functions

Structs§

  • Hash pointing to a outpoint (utxo). The hash of txid & output index.

Functions§

  • Compute a hash for transaction ID + vout index
  • Get P2SH32 locking script given redeemscript
  • Check if a locking script is the result of given redeem script
  • Reads a item pushed in a script. Advances the iterator to after item and returns it. Fails if the first byte is not a push operation. Fails if there are fewer bytes left in iterator than indicated by push operation.