org.sigilaris.node.gossip.StaticPeerTopology
See theStaticPeerTopology companion object
final case class StaticPeerTopology(localNodeIdentity: PeerIdentity, knownPeers: Set[PeerIdentity], directNeighbors: Set[PeerIdentity])
A static, immutable description of the peer topology for a gossip node.
Value parameters
- directNeighbors
-
the subset of known peers that are direct neighbors
- knownPeers
-
all known peer identities (excluding the local node)
- localNodeIdentity
-
the identity of the local node
Attributes
- Companion
- object
- Source
- PeerRegistry.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article