Module candidate_set

Source
Expand description

Candidate peer selection for outbound connections using the CandidateSet.

Structsยง

CandidateSet ๐Ÿ”’
The CandidateSet manages outbound peer connection attempts. Successful connections become peers in the PeerSet.

Functionsยง

limit_last_seen_times ๐Ÿ”’
Ensure all reported last_seen times are less than or equal to last_seen_limit.
validate_addrs ๐Ÿ”’
Check new addrs before adding them to the address book.