Constant sn_networking::CLOSE_GROUP_SIZE
source · pub const CLOSE_GROUP_SIZE: usize = 5;
Expand description
The maximum number of peers to return in a GetClosestPeers
response.
This is the group size used in safe network protocol to be responsible for
an item in the network.
The peer should be present among the CLOSE_GROUP_SIZE if we’re fetching the close_group(peer)
The size has been set to 5 for improved performance.