final case class ChunkUpdate(newMembers: Map[Member, CantonTimestamp] = Map.empty, membersDisabled: Seq[Member] = Seq.empty, acknowledgements: Map[Member, CantonTimestamp] = Map.empty, invalidAcknowledgements: Seq[(Member, CantonTimestamp, BaseError)] = Seq.empty, signedEvents: Seq[SignedEvents] = 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.
- membersDisabled
Members that were disabled.
- acknowledgements
The highest valid acknowledged timestamp for each member in the block.
- invalidAcknowledgements
All invalid acknowledgement timestamps in the block for each member.
- signedEvents
New sequenced events for members.
- pruningRequests
Upper bound timestamps to prune the sequencer's local state.
- 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.
- Alphabetic
- By Inheritance
- ChunkUpdate
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ChunkUpdate(newMembers: Map[Member, CantonTimestamp] = Map.empty, membersDisabled: Seq[Member] = Seq.empty, acknowledgements: Map[Member, CantonTimestamp] = Map.empty, invalidAcknowledgements: Seq[(Member, CantonTimestamp, BaseError)] = Seq.empty, signedEvents: Seq[SignedEvents] = 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.
- membersDisabled
Members that were disabled.
- acknowledgements
The highest valid acknowledged timestamp for each member in the block.
- invalidAcknowledgements
All invalid acknowledgement timestamps in the block for each member.
- signedEvents
New sequenced events for members.
- pruningRequests
Upper bound timestamps to prune the sequencer's local state.
- 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
- 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]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val invalidAcknowledgements: Seq[(Member, CantonTimestamp, BaseError)]
- def isContinuous(counters: Seq[SequencerCounter]): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastTopologyClientTimestamp: Option[CantonTimestamp]
- val membersDisabled: Seq[Member]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val newMembers: Map[Member, CantonTimestamp]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val pruningRequests: Seq[Traced[CantonTimestamp]]
- val signedEvents: Seq[SignedEvents]
- val state: EphemeralState
- 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])