GossipTopic

org.sigilaris.node.gossip.GossipIdentifiers$package.GossipTopic
object GossipTopic

Companion for GossipTopic with well-known topic constants and parsing.

Attributes

Source
GossipIdentifiers.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def parse(value: String): Either[String, GossipTopic]

Parses and validates a topic string.

Parses and validates a topic string.

Value parameters

value

the raw string

Attributes

Returns

the validated topic or an error message

Source
GossipIdentifiers.scala
def unsafe(value: String): GossipTopic

Parses a topic, throwing on invalid input.

Parses a topic, throwing on invalid input.

Value parameters

value

the raw string

Attributes

Returns

the validated topic

Throws
IllegalArgumentException

if the value is invalid

Source
GossipIdentifiers.scala

Concrete fields

Topic for consensus new-view gossip.

Topic for consensus new-view gossip.

Attributes

Source
GossipIdentifiers.scala

Topic for consensus proposal gossip.

Topic for consensus proposal gossip.

Attributes

Source
GossipIdentifiers.scala

Topic for consensus timeout vote gossip.

Topic for consensus timeout vote gossip.

Attributes

Source
GossipIdentifiers.scala

Topic for consensus vote gossip.

Topic for consensus vote gossip.

Attributes

Source
GossipIdentifiers.scala

Topic for transaction gossip.

Topic for transaction gossip.

Attributes

Source
GossipIdentifiers.scala

Givens

Givens

Extensions

Extensions

extension (topic: GossipTopic)
def value: String

Attributes

Returns

the underlying string value

Source
GossipIdentifiers.scala