Module Tx.Witness

Witness data

type t = {
hash : Hash.t;
marker : int;
flag : int;
size : int;
}
val serialize_fields : In.t list -> string

serialize_fields inl serializes witness fields of inl inputs

val parse_fields : Bitstring.bitstring -> int -> Bitstring.bitstring * string list list option

parse_fields bdata parses n witness fields in bdata and returns the rest of the data and the list of fields