InMemoryTxArtifactSink

org.sigilaris.node.gossip.tx.InMemoryTxArtifactSink
See theInMemoryTxArtifactSink companion object
final class InMemoryTxArtifactSink[F[_], A] extends GossipArtifactSink[F, A]

In-memory implementation of GossipArtifactSink for transaction artifacts, primarily for testing.

Type parameters

A

the artifact payload type

F

the effect type

Attributes

Companion
object
Source
InMemoryTxArtifacts.scala
Graph
Supertypes
trait GossipArtifactSink[F, A]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Applies a received gossip event to the local store.

Applies a received gossip event to the local store.

Value parameters

event

the gossip event to apply

Attributes

Returns

the apply result, or a contract rejection on validation failure

Definition Classes
Source
InMemoryTxArtifacts.scala

Returns the current sink state snapshot.

Returns the current sink state snapshot.

Attributes

Returns

the current snapshot

Source
InMemoryTxArtifacts.scala