zebra_network::meta_addr::arbitrary

Constant MAX_ADDR_CHANGE

source
pub const MAX_ADDR_CHANGE: usize = 15;
Expand description

The largest number of random changes we want to apply to a MetaAddr.

This should be at least twice the number of PeerAddrStates, so the tests can cover multiple transitions through every state.