Expand description
PeerStore
manages peer reputations and provides connection candidates to
crate::protocol_controller::ProtocolController
.
Structs§
- Peer
Store - Worker part of
PeerStoreHandle
- Peer
Store Handle - 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§
- Peer
Store Provider - Trait providing peer reputation management and connection candidates.
- Protocol
Handle - Trait describing the required functionality from a
Peerset
handle.