TxGossipStateStore

org.sigilaris.node.gossip.tx.TxGossipStateStore
See theTxGossipStateStore companion trait

Companion for TxGossipStateStore providing factory methods.

Attributes

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

Members list

Value members

Concrete methods

def inMemory[F[_] : Sync](engine: GossipSessionEngine): F[TxGossipStateStore[F]]

Creates an in-memory state store backed by a Ref.

Creates an in-memory state store backed by a Ref.

Type parameters

F

the effect type

Value parameters

engine

the initial session engine state

Attributes

Returns

a new in-memory state store

Source
TxRuntimeState.scala