bitcoin-elixir v0.0.1 Bitcoin.Protocol.Messages.Version

When a node creates an outgoing connection, it will immediately advertise its version. The remote node will respond with its version. No further communication is possible until both peers have exchanged their version.

https://en.bitcoin.it/wiki/Protocol_documentation#version

Summary

Types

t()
t() :: %Bitcoin.Protocol.Messages.Version{address_of_receiving_node: binary, address_of_sending_node: binary, nonce: non_neg_integer, relay: boolean, services: bitstring, start_height: non_neg_integer, timestamp: non_neg_integer, user_agent: String.t, version: non_neg_integer}

Functions

parse(data)
serialize(s)