package data
- Alphabetic
- Public
- Protected
Type Members
- final case class BlockEphemeralState(latestBlock: BlockInfo, state: EphemeralState) extends HasLoggerName with Product with Serializable
Our typical sequencer state with an associated block height.
Our typical sequencer state with an associated block height.
- latestBlock
Information about the latest block
- final case class BlockInfo(height: Long, lastTs: CantonTimestamp, latestTopologyClientTimestamp: Option[CantonTimestamp]) extends Product with Serializable
Persisted information about a block as a whole once it has been fully processed.
Persisted information about a block as a whole once it has been fully processed.
- height
The height of the block
- lastTs
The latest timestamp used by an event or member registration in blocks up to
height
- latestTopologyClientTimestamp
The sequencing timestamp of an event addressed to the sequencer's topology client such that there is no topology update (by sequencing time) between this timestamp (exclusive) and the last event in the block with height
height
. Must not be afterlastTs
. scala.None$ if no such timestamp is known. In that case, it is not guaranteed that the correct topology state will be used for validating the events in the block. External sequencer's topology clients typically listen to events addressed to the domain manager.
- final case class BlockUpdateClosureWithHeight(height: Long, updateGenerator: (BlockEphemeralState) => Future[BlockUpdates], blockTraceContext: TraceContext) extends Product with Serializable
Helper case class generated by the BlockUpdateGenerator after being given a block by a blockchain-based sequencer integration.
Helper case class generated by the BlockUpdateGenerator after being given a block by a blockchain-based sequencer integration.
- height
height of the block used for updating the ephemeral state
- updateGenerator
closure of the block updates generated by processing a given block, for a certain ephemeral state
- trait SequencerBlockStore extends AutoCloseable
Value Members
- object BlockEphemeralState extends Serializable
- object BlockInfo extends Serializable
- object SequencerBlockStore