Packages

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.

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

Instance Constructors

  1. 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

  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]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. val inFlightAggregationUpdates: InFlightAggregationUpdates
  10. val inFlightAggregations: InFlightAggregations
  11. val invalidAcknowledgements: Seq[(Member, CantonTimestamp, BaseAlarm)]
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val lastSequencerEventTimestamp: Option[CantonTimestamp]
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. val submissionsOutcomes: Seq[SubmissionOutcome]
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. 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

    (Since version 9)

Inherited from OrderedBlockUpdate

Inherited from BlockUpdate

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped