Constant zebra_network::protocol::external::addr::v2::MAX_ADDR_V2_ADDR_SIZE

source ·
pub const MAX_ADDR_V2_ADDR_SIZE: usize = 512;
Expand description

The maximum permitted size of the addr field in addrv2 messages.

Field addr has a variable length, with a maximum of 512 bytes (4096 bits). Clients MUST reject messages with a longer addr field, irrespective of the network ID.

https://zips.z.cash/zip-0155#specification