package
0.3.1
Repository: https://github.com/makerdao/oracle-suite.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ConnectionLimit limits the number of connections.
ConnectionLogger logs connected and disconnected hosts,.
Denylist allows to block peer by their IP addresses or IDs.
DirectPeers enforces direct connection with given peers.
DisablePubSub disables the pubsub system.
Discovery configures node to use kad-dht for node discovery.
ListenAddrs configures node to listen on the given addresses.
Logger configures node to use given logger instance.
MessageLogger logs published and received messages.
MessagePrivKey configures node to use given key to sign messages.
No description provided by the author
No description provided by the author
PeerLogger logs all peers handled by libp2p's pubsub system.
PeerPrivKey configures node to use given key as its identity.
PeerScoring configures peer scoring parameters used in a pubsub system.
PubsubEventTracer provides a tracer for the pubsub system.
RateLimiter limits the number of bytes which is allowed to receive from the network using the token bucket algorithm: https://en.wikipedia.org/wiki/Token_bucket bytesPerSecond is the maximum number of bytes/s that can be received from a single peer.
UserAgent sets the libp2p user-agent sent along with the identify protocol.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Node is a single node in the P2P network.
RateLimiterConfig is a configuration for the RateLimiter option.
No description provided by the author

# Type aliases

No description provided by the author