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 serializedaddr
(v1) has a 4 byte time, 8 byte services, 16 byte IP addr, and 2 byte port
Functionsยง
- ipv6_
mapped_ ๐ip_ addr Transform anIpAddr
into an IPv6-mapped IPv4 addresses.