Packages

trait SequencerBlockStore extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SequencerBlockStore
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def addBlockUpdates(blockHeight: Long, newMembers: MemberTimestamps = Map.empty, events: Seq[MemberSignedEvents] = Seq.empty, acknowledgments: MemberTimestamps = Map.empty, membersDisabled: Seq[Member] = Seq.empty)(implicit traceContext: TraceContext): Future[Unit]

    Store all events that happened within the block with the given height.

    Store all events that happened within the block with the given height. It is assumed that this will be called sequentially for blocks in monotonically increasing order of height.

    blockHeight

    The current block height, which is assumed to be monotonically increasing by one

    newMembers

    new members with their registration timestamps

    events

    new sequencer events

    acknowledgments

    new member acknowledgements. non increasing ones are ignored

    membersDisabled

    members being disabled

  2. abstract def getInitialState(implicit traceContext: TraceContext): Future[BlockEphemeralState]

    Get initial state from which this sequencer node supports serving requests.

    Get initial state from which this sequencer node supports serving requests. The member counters returned as part of this initial state indicate the minimum counters that this sequencer supports serving requests from. If a member is not included in these counters, it means that this sequencer node supports serving requests from the initial counter for that member.

  3. abstract def prune(requestedTimestamp: CantonTimestamp)(implicit traceContext: TraceContext): Future[String]
  4. abstract def pruningStatus(now: CantonTimestamp)(implicit traceContext: TraceContext): Future[SequencerPruningStatus]
  5. abstract def readHead(implicit traceContext: TraceContext): Future[BlockEphemeralState]

    The current state of the sequencer, which can be used when the node is restarted to deterministically derive the following counters and timestamps.

  6. abstract def readRange(member: Member, startInclusive: SequencerCounter, endExclusive: SequencerCounter)(implicit traceContext: TraceContext): Source[OrdinarySerializedEvent, NotUsed]

    Serve events for member with the given counter range.

  7. abstract def readStateForBlockContainingTimestamp(timestamp: CantonTimestamp)(implicit traceContext: TraceContext): EitherT[Future, InvalidTimestamp, BlockEphemeralState]

    The state at the end of the block that contains the given timestamp.

    The state at the end of the block that contains the given timestamp. This will typically be used to inform other sequencer nodes being initialized of the initial state they should use based on the timestamp they provide which is typically the timestamp of their signing key.

  8. abstract def setInitialState(initial: BlockEphemeralState = BlockEphemeralState.empty)(implicit traceContext: TraceContext): Future[Unit]

    Set initial state of the sequencer node from which it supports serving requests.

    Set initial state of the sequencer node from which it supports serving requests. This should be called at most once. If not called, it means this sequencer node can server requests from genesis.

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. 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 AnyRef

Inherited from Any

Ungrouped