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

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.

Link to this section Functions

@spec 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

@spec serialize(Bitcoinex.Transaction.t()) :: binary()
Link to this function

serialize_compact_size_unsigned_int(compact_size)

View Source

Returns the serialized variable length integer.