final case class ChunkUpdate(acknowledgements: Map[Member, CantonTimestamp] = Map.empty, invalidAcknowledgements: Seq[(Member, CantonTimestamp, BaseAlarm)] = Seq.empty, inFlightAggregationUpdates: InFlightAggregationUpdates = Map.empty, lastSequencerEventTimestamp: Option[CantonTimestamp], inFlightAggregations: InFlightAggregations, submissionsOutcomes: Seq[SubmissionOutcome] = Seq.empty) extends OrderedBlockUpdate with 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
- acknowledgements
The highest valid acknowledged timestamp for each member in the block.
- invalidAcknowledgements
All invalid acknowledgement timestamps in the block for each member.
- inFlightAggregationUpdates
The updates to the in-flight aggregation states. Includes the clean-up of expired aggregations.
- lastSequencerEventTimestamp
The highest timestamp of an event in
events
addressed to the sequencer, if any.- inFlightAggregations
Updated inFlightAggregations to be used for processing subsequent chunks.
- submissionsOutcomes
A list of internal block sequencer states after processing submissions for the chunk. This is used by the unified sequencer to generate and write events in the database sequencer.
- Alphabetic
- By Inheritance
- ChunkUpdate
- OrderedBlockUpdate
- BlockUpdate
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ChunkUpdate(acknowledgements: Map[Member, CantonTimestamp] = Map.empty, invalidAcknowledgements: Seq[(Member, CantonTimestamp, BaseAlarm)] = Seq.empty, inFlightAggregationUpdates: InFlightAggregationUpdates = Map.empty, lastSequencerEventTimestamp: Option[CantonTimestamp], inFlightAggregations: InFlightAggregations, submissionsOutcomes: Seq[SubmissionOutcome] = Seq.empty)
- acknowledgements
The highest valid acknowledged timestamp for each member in the block.
- invalidAcknowledgements
All invalid acknowledgement timestamps in the block for each member.
- inFlightAggregationUpdates
The updates to the in-flight aggregation states. Includes the clean-up of expired aggregations.
- lastSequencerEventTimestamp
The highest timestamp of an event in
events
addressed to the sequencer, if any.- inFlightAggregations
Updated inFlightAggregations to be used for processing subsequent chunks.
- submissionsOutcomes
A list of internal block sequencer states after processing submissions for the chunk. This is used by the unified sequencer to generate and write events in the database sequencer.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val acknowledgements: Map[Member, CantonTimestamp]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val inFlightAggregationUpdates: InFlightAggregationUpdates
- val inFlightAggregations: InFlightAggregations
- val invalidAcknowledgements: Seq[(Member, CantonTimestamp, BaseAlarm)]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastSequencerEventTimestamp: Option[CantonTimestamp]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val submissionsOutcomes: Seq[SubmissionOutcome]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])