-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
Instead of requiring the user to provide a max_peer_set_size
(
monorepo/p2p/src/authenticated/discovery/config.rs
Lines 97 to 101 in 877d871
/// Maximum number of peers to track in a single peer set. | |
/// | |
/// This is used to limit the size of the bit vec messages, which will take one bit per peer in | |
/// the set. This number can be set to a reasonably high value that we never expect to reach. | |
pub max_peer_set_size: u64, |
This should avoid the error-prone specification of this value (and avoid unnecessary BitVec handling).
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Staged