Bitcoinex.Transaction.Utils (bitcoinex v0.1.2) View Source

Utilities for when dealing with transaction objects.

Link to this section Summary

Functions

Returns the Variable Length Integer used in serialization.

Returns the serialized variable length integer.

Serializes a transaction without the witness structure.

Link to this section Functions

Specs

get_counter(binary()) :: {non_neg_integer(), binary()}

Returns the Variable Length Integer used in serialization.

Reference: https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer

Link to this function

serialize_compact_size_unsigned_int(compact_size)

View Source

Returns the serialized variable length integer.

Serializes a transaction without the witness structure.