class

Bitcoin::Messages::Addr

Inherits Bitcoin::Message < Bitcoin::Structure < Reference < Object

Constructors

new(addr_list : Array(Structures::NetworkAddress) = Array(Structures::NetworkAddress).new)

Class methods

from_payload(io : IO)

Instance methods

addr_list
inspect

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.

to_payload

overloaded by payload macro