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::Unsupported
fails.
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
addrv2
messages.
Constants§
- ADDR_
V2_ IPV4_ ADDR_ SIZE - The size of
Ipv4Addr
s inaddrv2
messages. - ADDR_
V2_ IPV4_ NETWORK_ ID - The network ID of
Ipv4Addr
s inaddrv2
messages. - ADDR_
V2_ IPV6_ ADDR_ SIZE - The size of
Ipv6Addr
s inaddrv2
messages. - ADDR_
V2_ IPV6_ NETWORK_ ID - The network ID of
Ipv6Addr
s inaddrv2
messages. - ADDR_
V2_ 🔒MIN_ SIZE - A serialized
addrv2
has: - MAX_
ADDR_ V2_ ADDR_ SIZE - The maximum permitted size of the
addr
field inaddrv2
messages.