package synchronizer
- Alphabetic
- Public
- Protected
Type Members
- class SynchronizerAliasManager extends NamedLogging with SynchronizerAliasResolution
- trait SynchronizerAliasResolution extends AutoCloseable
- final case class SynchronizerConnectionConfig(synchronizerAlias: SynchronizerAlias, sequencerConnections: SequencerConnections, manualConnect: Boolean = false, synchronizerId: Option[SynchronizerId] = None, priority: Int = 0, initialRetryDelay: Option[NonNegativeFiniteDuration] = None, maxRetryDelay: Option[NonNegativeFiniteDuration] = None, timeTracker: SynchronizerTimeTrackerConfig = SynchronizerTimeTrackerConfig(), initializeFromTrustedSynchronizer: Boolean = false) extends HasVersionedWrapper[SynchronizerConnectionConfig] with PrettyPrinting with Product with Serializable
The synchronizer connection configuration object
The synchronizer connection configuration object
- synchronizerAlias
alias to be used internally to refer to this synchronizer connection
- sequencerConnections
Configuration for the sequencers. In case of BFT synchronizer - there could be sequencers with multiple connections. Each sequencer can also support high availability, so multiple endpoints could be provided for each individual sequencer.
- manualConnect
if set to true (default false), the synchronizer is not connected automatically on startup.
- synchronizerId
if the synchronizer id is known, then it can be passed as an argument. during the handshake, the participant will check that the synchronizer id on the remote port is indeed the one given in the configuration. the synchronizer id can not be faked by a synchronizer. therefore, this additional check can be used to really ensure that you are talking to the right synchronizer.
- priority
the priority of this synchronizer connection. if there are more than one synchronizer connections, the com.digitalasset.canton.participant.protocol.submission.routing.TransactionRoutingProcessor will pick the synchronizer connection with the highest priority if possible.
- initialRetryDelay
synchronizer connections are "resilient". i.e. if a connection is lost, the system will keep trying to reconnect to a synchronizer.
- maxRetryDelay
control the backoff parameter such that the retry interval does not grow above this value
- timeTracker
the synchronizer time tracker settings. don't change it unless you know what you are doing.
- initializeFromTrustedSynchronizer
if false will automatically generate a SynchronizerTrustCertificate when connecting to a new synchronizer.
- trait SynchronizerHandle extends AutoCloseable
A context handle serving all necessary information / connectivity utilities for the node to setup a connection to a new synchronizer
- trait SynchronizerRegistry extends AutoCloseable
A registry of synchronizers.
- sealed trait SynchronizerRegistryError extends Product with Serializable with ContextualizedCantonError
- trait SynchronizerRegistryHelpers extends FlagCloseable with NamedLogging with HasCloseContext
Value Members
- object SynchronizerAliasManager
- object SynchronizerConnectionConfig extends HasVersionedMessageCompanion[SynchronizerConnectionConfig] with HasVersionedMessageCompanionDbHelpers[SynchronizerConnectionConfig] with Serializable
- object SynchronizerRegistryError extends SynchronizerRegistryErrorGroup with Serializable
- object SynchronizerRegistryHelpers