Module zebra_network::protocol::external::addr::v1

source ยท
Expand description

Zcash addr (v1) message node address serialization.

The AddrV1 format serializes all IP addresses as IPv6 addresses. IPv4 addresses are converted to an IPv4-mapped IPv6 address before serialization.

Structsยง

  • AddrV1 ๐Ÿ”’
    The first format used for Bitcoin node addresses. Contains a node address, its advertised services, and last-seen time. This struct is serialized and deserialized into addr (v1) messages.

Constantsยง

  • ADDR_V1_SIZE ๐Ÿ”’
    A serialized addr (v1) has a 4 byte time, 8 byte services, 16 byte IP addr, and 2 byte port

Functionsยง