Expand description
Zcash addrv2 message node address serialization.
Zebra parses received IPv4 and IPv6 addresses in the AddrV2 format.
But it ignores all other address types.
Zebra never sends addrv2 messages, because peers still accept addr (v1) messages.
Structs§
- Unsupported
Addr V2Network IdError - The error returned when converting
AddrV2::Unsupportedfails.
Enums§
- AddrV2 🔒
- The second format used for Bitcoin node addresses.
Contains a node address, its advertised services, and last-seen time.
This struct is serialized and deserialized into
addrv2messages.
Constants§
- ADDR_
V2_ IPV4_ ADDR_ SIZE - The size of
Ipv4Addrs inaddrv2messages. - ADDR_
V2_ IPV4_ NETWORK_ ID - The network ID of
Ipv4Addrs inaddrv2messages. - ADDR_
V2_ IPV6_ ADDR_ SIZE - The size of
Ipv6Addrs inaddrv2messages. - ADDR_
V2_ IPV6_ NETWORK_ ID - The network ID of
Ipv6Addrs inaddrv2messages. - ADDR_
V2_ 🔒MIN_ SIZE - A serialized
addrv2has: - MAX_
ADDR_ V2_ ADDR_ SIZE - The maximum permitted size of the
addrfield inaddrv2messages.