InMemoryTxSinkSnapshot

org.sigilaris.node.gossip.tx.InMemoryTxSinkSnapshot
See theInMemoryTxSinkSnapshot companion object
final case class InMemoryTxSinkSnapshot[A](applied: Vector[GossipEvent[A]], duplicates: Vector[GossipEvent[A]], appliedIds: Map[ChainId, Set[StableArtifactId]])

Snapshot of the in-memory transaction sink state for testing and inspection.

Type parameters

A

the artifact payload type

Value parameters

applied

events that were successfully applied

appliedIds

per-chain set of applied artifact ids for deduplication

duplicates

events that were detected as duplicates

Attributes

Companion
object
Source
InMemoryTxArtifacts.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product