HotStuffPeerArtifact

org.sigilaris.node.jvm.runtime.consensus.hotstuff.HotStuffPeerArtifact
See theHotStuffPeerArtifact companion enum

Composite artifact helpers for HotStuff peer gossip.

Attributes

Companion
enum
Source
HotStuffApplicationGossip.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

Builds the default HotStuff consensus-topic subscription for one chain.

Builds the default HotStuff consensus-topic subscription for one chain.

Attributes

Source
HotStuffApplicationGossip.scala
def sink[F[_] : Applicative, A](consensusSink: GossipArtifactSink[F, HotStuffGossipArtifact], consensusContracts: GossipTopicContractRegistry[HotStuffGossipArtifact], applicationTopics: Vector[ApplicationGossipTopic[F, A]]): GossipArtifactSink[F, HotStuffPeerArtifact[A]]

Builds a composite sink that routes by topic and payload namespace.

Builds a composite sink that routes by topic and payload namespace.

Attributes

Source
HotStuffApplicationGossip.scala
def source[F[_] : Applicative, A : ByteEncoder](consensusSource: GossipArtifactSource[F, HotStuffGossipArtifact], consensusContracts: GossipTopicContractRegistry[HotStuffGossipArtifact], applicationTopics: Vector[ApplicationGossipTopic[F, A]]): GossipArtifactSource[F, HotStuffPeerArtifact[A]]

Builds a composite source that delegates consensus topics to HotStuff and application topics to their registrations.

Builds a composite source that delegates consensus topics to HotStuff and application topics to their registrations.

Attributes

Source
HotStuffApplicationGossip.scala
def subscription(chainId: ChainId, applicationTopics: Vector[ApplicationGossipTopic[_[_], _]]): Either[String, SessionSubscription]

Builds a HotStuff consensus-plus-application subscription for one chain.

Builds a HotStuff consensus-plus-application subscription for one chain.

Attributes

Source
HotStuffApplicationGossip.scala

Builds a topic-contract registry for consensus plus application topics.

Builds a topic-contract registry for consensus plus application topics.

Attributes

Source
HotStuffApplicationGossip.scala