Packages

case class ChunkUpdate(newMembers: Map[Member, CantonTimestamp] = Map.empty, membersDisabled: Seq[Member] = Seq.empty, acknowledgements: Map[Member, CantonTimestamp] = Map.empty, invalidAcknowledgements: Seq[(Member, CantonTimestamp)] = Seq.empty, signedEvents: Seq[NonEmpty[Map[Member, OrdinarySerializedEvent]]] = Seq.empty, pruningRequests: Seq[Traced[CantonTimestamp]] = Seq.empty, lastTopologyClientTimestamp: Option[CantonTimestamp], state: EphemeralState) extends Product with Serializable

Changes from processing a consecutive part of updates within a block from the blockchain. We expect all values to be consistent with one another:

  • new members must exist in the registered members
  • the provided timestamps must be at or after the latest sequencer timestamp of the previous chunk or block
  • members receiving events must be registered
  • timestamps of events must not after the latest sequencer timestamp of the previous chunk or block
  • counter values for each member should be continuous
newMembers

members that were added along with the timestamp that they are considered registered from

acknowledgements

The highest valid acknowledged timestamp for each member in the block

invalidAcknowledgements

All invalid acknowledgement timestamps in the block for each member

lastTopologyClientTimestamp

The highest timestamp of an event in events addressed to the sequencer's topology client, if any

state

updated ephemeral state to be used for processing subsequent chunks

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChunkUpdate
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ChunkUpdate(newMembers: Map[Member, CantonTimestamp] = Map.empty, membersDisabled: Seq[Member] = Seq.empty, acknowledgements: Map[Member, CantonTimestamp] = Map.empty, invalidAcknowledgements: Seq[(Member, CantonTimestamp)] = Seq.empty, signedEvents: Seq[NonEmpty[Map[Member, OrdinarySerializedEvent]]] = Seq.empty, pruningRequests: Seq[Traced[CantonTimestamp]] = Seq.empty, lastTopologyClientTimestamp: Option[CantonTimestamp], state: EphemeralState)

    newMembers

    members that were added along with the timestamp that they are considered registered from

    acknowledgements

    The highest valid acknowledged timestamp for each member in the block

    invalidAcknowledgements

    All invalid acknowledgement timestamps in the block for each member

    lastTopologyClientTimestamp

    The highest timestamp of an event in events addressed to the sequencer's topology client, if any

    state

    updated ephemeral state to be used for processing subsequent chunks

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val acknowledgements: Map[Member, CantonTimestamp]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. val invalidAcknowledgements: Seq[(Member, CantonTimestamp)]
  10. def isContinuous(counters: Seq[SequencerCounter]): Boolean
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val lastTopologyClientTimestamp: Option[CantonTimestamp]
  13. val membersDisabled: Seq[Member]
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. val newMembers: Map[Member, CantonTimestamp]
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. val pruningRequests: Seq[Traced[CantonTimestamp]]
  20. val signedEvents: Seq[NonEmpty[Map[Member, OrdinarySerializedEvent]]]
  21. val state: EphemeralState
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped