Bitcoin Version Message Utilities. Copyright (c) 2013 Alexander Færøy
Authors: Alexander Færøy (ahf@0x90.dk
).
This module contains utilities for manipulating and using Bitcoin version message objects.
int32_t() = peculium_core_types:int32_t()
int64_t() = peculium_core_types:int64_t()
network_address() = peculium_core_types:network_address()
uint64_t() = peculium_core_types:uint64_t()
version_message() = peculium_core_types:version_message()
from_address/1 | Returns the address of the sending client of a given version message. |
nonce/1 | Returns the nonce of a given version message. |
services/1 | Returns the service bitset of a given version message. |
start_height/1 | Returns the start height of a given version message. |
timestamp/1 | Returns the timestamp of a given version message. |
to_address/1 | Returns the address of the target client of a given version message. |
user_agent/1 | Returns the user agent of a given version message. |
version/1 | Returns the version of a given version message. |
from_address(VersionMessage::version_message()) -> network_address()
Returns the address of the sending client of a given version message.
nonce(VersionMessage::version_message()) -> binary()
Returns the nonce of a given version message.
services(VersionMessage::version_message()) -> uint64_t()
Returns the service bitset of a given version message.
start_height(VersionMessage::version_message()) -> int32_t()
Returns the start height of a given version message.
timestamp(VersionMessage::version_message()) -> int64_t()
Returns the timestamp of a given version message.
to_address(VersionMessage::version_message()) -> network_address()
Returns the address of the target client of a given version message.
user_agent(VersionMessage::version_message()) -> binary()
Returns the user agent of a given version message.
version(VersionMessage::version_message()) -> int32_t()
Returns the version of a given version message.