Bitcoinex.Transaction.Witness (bitcoinex v0.1.6) View Source

Witness structure part of an on-chain transaction.

Link to this section Summary

Link to this section Types

Specs

t() :: %Bitcoinex.Transaction.Witness{txinwitness: [binary()]}

Link to this section Functions

Link to this function

parse_witness(counter, remaining)

View Source
Link to this function

serialize_witness(witnesses)

View Source

Specs

serialize_witness([t()]) :: binary()

Specs

witness(binary()) :: %Bitcoinex.Transaction.Witness{txinwitness: [any()] | 0}

Wtiness accepts a binary and deserializes it.