zebra_network::meta_addr::arbitrary

Constant MAX_META_ADDR

source
pub const MAX_META_ADDR: usize = 8;
Expand description

The largest number of random addresses we want to add to an AddressBook.

This should be at least the number of PeerAddrStates, so the tests can cover interactions between addresses in different states.