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

Witness structure part of an on-chain transaction.

Link to this section Summary

Link to this section Types

@type 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
@spec serialize_witness([t()]) :: binary()
@spec witness(binary()) :: t()

Wtiness accepts a binary and deserializes it.