package
1.4.0-rc.2
Repository: https://github.com/iotaledger/wasp.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package group implements a generic peering.GroupProvider.
Package lpp implements a peering.NetworkProvider based on the libp2p.

# Functions

CheckMyPeeringURL checks if PeeringURL from the committee list represents current node.
Check, if peeringURL is of proper format.
HashPeeringIDFromBytes generates a PeeringID by concatenating all the given data and hash with Blake2b 256.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParsePeeringURL parses the peeringURL and returns the corresponding host and port.
PeerMessageNetFromBytes creates a new PeerMessageNet from bytes.
Resolves pubKeysOrNames to TrustedPeers.
No description provided by the author
Basic checks, to be used in all the implementations.

# Constants

FirstUserMsgCode is the first committee message type.
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
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

No description provided by the author
PeerMessage is an envelope for all the messages exchanged via the peering module.
No description provided by the author
No description provided by the author
No description provided by the author
TrustedPeer carries a peer information we use to trust it.

# Interfaces

GroupProvider stands for a subset of a peer-to-peer network that is responsible for achieving some common goal, eg, consensus committee, DKG group, etc.
No description provided by the author
NetworkProvider stands for the peer-to-peer network, as seen from the viewpoint of a single participant.
PeerDomainProvider implements unordered set of peers which can dynamically change All peers in the domain shares same peeringID.
PeerSender represents an interface to some remote peer.
PeerStatusProvider is used to access the current state of the network peer without allocating it (increasing usage counters, etc).
TrustedNetworkManager is used maintain a configuration which peers are trusted.

# Type aliases

PeeringID is relates peers in different nodes for a particular communication group.