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

The ping message is sent primarily to confirm that the TCP/IP connection is still valid. An error in transmission is presumed to be a closed connection and the address is removed as a current peer.

https://en.bitcoin.it/wiki/Protocol_specification#ping

Summary

Types

t()
t() :: %Bitcoin.Protocol.Messages.Ping{nonce: non_neg_integer}

Functions

parse(arg)
serialize(s)