case class EphemeralState(lastTs: CantonTimestamp, heads: MemberCounters, status: SequencerPruningStatus = SequencerPruningStatus.Unimplemented, authorization: Set[LedgerIdentity] = Set()) extends Product with Serializable
State held in memory by com.digitalasset.canton.domain.block.BlockSequencerStateManager to keep track of:
- lastTs
The latest timestamp used by an event
- heads
The latest counter value for members who have previously received an event (registered members who have not yet received an event will not have a value)
- status
Pruning status, which includes members info and relevant timestamps
- authorization
Tracks which ledger identities are authorized to interact with the Sequencer smart contract
- Alphabetic
- By Inheritance
- EphemeralState
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new EphemeralState(lastTs: CantonTimestamp, heads: MemberCounters, status: SequencerPruningStatus = SequencerPruningStatus.Unimplemented, authorization: Set[LedgerIdentity] = Set())
- lastTs
The latest timestamp used by an event
- heads
The latest counter value for members who have previously received an event (registered members who have not yet received an event will not have a value)
- status
Pruning status, which includes members info and relevant timestamps
- authorization
Tracks which ledger identities are authorized to interact with the Sequencer smart contract
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val authorization: Set[LedgerIdentity]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val heads: MemberCounters
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastTs: CantonTimestamp
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nextCounter(member: Member): SequencerCounter
Next counter value for a single member.
Next counter value for a single member. Callers must check that the member has been previously registered otherwise a java.lang.IllegalArgumentException will be thrown.
- def nextCounters(members: Set[Member]): MemberCounters
Generate the next counter value for the provided set of members.
Generate the next counter value for the provided set of members. Callers must check that all members have been registered otherwise a java.lang.IllegalArgumentException will be thrown.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val registeredMembers: Set[Member]
- val status: SequencerPruningStatus
- 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])