com.digitalasset.canton.protocol.v30
SequencerSynchronizerState
Companion object SequencerSynchronizerState
final case class SequencerSynchronizerState(synchronizerId: String, threshold: Int, active: Seq[String], observers: Seq[String]) extends GeneratedMessage with Updatable[SequencerSynchronizerState] with Product with Serializable
which sequencers are active on the given synchronizer authorization: whoever controls the synchronizer UNIQUE(synchronizer_id)
- synchronizerId
the synchronizer id of the sequencer group
- threshold
The system can tolerate up to min(threshold - 1, (activeWithSigningKey.size - 1)/3) malicious active sequencers, where activeWithSigningKey is the set of sequencers from active that have an active OwnerToKeyMapping with a signing key. In order to make the system resilient against f malicious active sequencers, you need to: (1) configure threshold := f + 1, (2) possibly add active sequencers such that f <= (activeWithSigningKey.size - 1)/3. (3) possibly register signing keys for active sequencers,
- active
the list of active sequencers If a sequencer without an active signing key is added to this set, it has no effect on the topology state.
- observers
the list of observing sequencers (uid) within the group (read messages but don't respond)
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- SequencerSynchronizerState
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SequencerSynchronizerState(synchronizerId: String, threshold: Int, active: Seq[String], observers: Seq[String])
- synchronizerId
the synchronizer id of the sequencer group
- threshold
The system can tolerate up to min(threshold - 1, (activeWithSigningKey.size - 1)/3) malicious active sequencers, where activeWithSigningKey is the set of sequencers from active that have an active OwnerToKeyMapping with a signing key. In order to make the system resilient against f malicious active sequencers, you need to: (1) configure threshold := f + 1, (2) possibly add active sequencers such that f <= (activeWithSigningKey.size - 1)/3. (3) possibly register signing keys for active sequencers,
- active
the list of active sequencers If a sequencer without an active signing key is added to this set, it has no effect on the topology state.
- observers
the list of observing sequencers (uid) within the group (read messages but don't respond)
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 active: Seq[String]
- def addActive(__vs: String*): SequencerSynchronizerState
- def addAllActive(__vs: Iterable[String]): SequencerSynchronizerState
- def addAllObservers(__vs: Iterable[String]): SequencerSynchronizerState
- def addObservers(__vs: String*): SequencerSynchronizerState
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearActive: SequencerSynchronizerState
- def clearObservers: SequencerSynchronizerState
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: SequencerSynchronizerState.type
- Definition Classes
- SequencerSynchronizerState → GeneratedMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- SequencerSynchronizerState → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- SequencerSynchronizerState → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val observers: Seq[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- SequencerSynchronizerState → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val synchronizerId: String
- val threshold: Int
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- SequencerSynchronizerState → GeneratedMessage
- def update(ms: (Lens[SequencerSynchronizerState, SequencerSynchronizerState]) => Mutation[SequencerSynchronizerState]*): SequencerSynchronizerState
- Definition Classes
- Updatable
- 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])
- def withActive(__v: Seq[String]): SequencerSynchronizerState
- def withObservers(__v: Seq[String]): SequencerSynchronizerState
- def withSynchronizerId(__v: String): SequencerSynchronizerState
- def withThreshold(__v: Int): SequencerSynchronizerState
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- SequencerSynchronizerState → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage