pub const ADDR_RESPONSE_LIMIT_DENOMINATOR: usize = 4;
Expand description

The fraction of addresses Zebra sends in response to a Peers request.

Each response contains approximately: address_book.len() / ADDR_RESPONSE_LIMIT_DENOMINATOR addresses, selected at random from the address book.

§Security

This limit makes sure that Zebra does not reveal its entire address book in a single Peers response.