GossipTopicContractRegistry

org.sigilaris.node.gossip.GossipTopicContractRegistry
See theGossipTopicContractRegistry companion object

Registry that maps gossip topics to their validation contracts.

Type parameters

A

the artifact payload type

Attributes

Companion
object
Source
Contracts.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Looks up the contract for the given topic.

Looks up the contract for the given topic.

Value parameters

topic

the gossip topic

Attributes

Returns

the contract or a rejection if the topic is unsupported

Source
Contracts.scala