Module peer_store

Source
Expand description

PeerStore manages peer reputations and provides connection candidates to crate::protocol_controller::ProtocolController.

Structs§

PeerStore
Worker part of PeerStoreHandle
PeerStoreHandle
Actual implementation of peer reputations and connection candidates provider.

Constants§

BANNED_THRESHOLD
We don’t accept nodes whose reputation is under this value.
LOG_TARGET
Log target for this file.

Traits§

PeerStoreProvider
Trait providing peer reputation management and connection candidates.
ProtocolHandle
Trait describing the required functionality from a Peerset handle.