package
3.1.4+incompatible
Repository: https://github.com/maxinyugh/theta-protocol-ledger.git
Documentation: pkg.go.dev

# Functions

CreateMessenger creates an instance of Messenger.
No description provided by the author
CreatePeerDiscoveryManager creates an instance of the PeerDiscoveryManager.
No description provided by the author
GetDefaultInboundPeerListenerConfig returns the default configuration for the listeners.
GetDefaultMessengerConfig returns the default config for messenger.
GetDefaultPeerDiscoveryManagerConfig returns the default config for the PeerDiscoveryManager.
NewAddrBook creates a new address book.

# Structs

AddrBook - concurrency safe peer address manager.
InboundPeerListener models a listener for inbound peer connections .
InboundPeerListenerConfig specifies the configuration for the PeerListener instance .
No description provided by the author
MessengerConfig specifies the configuration for Messenger .
No description provided by the author
NatMappingMessage defines the structure of the NAT mapping message.
PeerDiscoveryManager manages the peer discovery process .
PeerDiscoveryManagerConfig specifies the configuration for PeerDiscoveryManager .
PeerDiscoveryMessage defines the structure of the peer discovery message.
PeerDiscoveryMessageHandler implements the MessageHandler interface .
SeedPeerConnector proactively connects to seed peers .

# Type aliases

InboundCallback is called when an inbound peer is created.
PeerDiscoveryMessageType defines the types of peer discovery message.