Module peers

Module peers 

Expand description

Types related to peering.

Modules§

addr
RLPx (TCP) and Discovery (UDP) sockets of a peer.
config
Configuration for peering.
kind
Classification of a peer based on trust.
reputation
Peer reputation management
state
State of connection to a peer.

Structs§

ConnectionsConfig
Tracks stats about connected nodes
Peer
Tracks info about a single peer.
PeersConfig
Config type for initiating a PeersManager instance.
ReputationChange
Represents a change in a peer’s reputation.
ReputationChangeWeights
How the ReputationChangeKind are weighted.

Enums§

ReputationChangeKind
Various kinds of reputation changes.

Type Aliases§

Reputation
The type that tracks the reputation score.