class ParticipantNode extends CantonNode with NamedLogging with HasUptime with NoTracing
A participant node in the system.
The participant node can connect to a number of domains and offers: - the ledger API to its application. - the participant node admin API to its operator.
- Alphabetic
- By Inheritance
- ParticipantNode
- NoTracing
- HasUptime
- NamedLogging
- CantonNode
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ParticipantNode(id: ParticipantId, metrics: ParticipantMetrics, config: LocalParticipantConfig, nodeParameters: ParticipantNodeParameters, storage: Storage, clock: Clock, topologyManager: ParticipantTopologyManager, cryptoPureApi: CryptoPureApi, identityPusher: ParticipantTopologyDispatcher, partyNotifier: LedgerServerPartyNotifier, ips: IdentityProvidingServiceClient, sync: CantonSyncService, eventPublisher: ParticipantEventPublisher, ledgerApiServer: LedgerApiServerState, ledgerApiDependentCantonServices: StartableStoppableLedgerApiDependentServices, adminToken: CantonAdminToken, recordSequencerInteractions: AtomicReference[Option[RecordingConfig]], replaySequencerConfig: AtomicReference[Option[ReplayConfig]], loggerFactory: NamedLoggerFactory)
- id
participant id
- config
Participant node configuration com.digitalasset.canton.participant.config.LocalParticipantConfig parsed * from config file.
- storage
participant node persistence
- topologyManager
topology manager
- identityPusher
identity pusher
- ips
identity client
- sync
synchronization service
- eventPublisher
participant level sync event log for non-domain events
- ledgerApiServer
ledger api server state
- ledgerApiDependentCantonServices
admin workflow services (ping, archive distribution)
- adminToken
the admin token required when JWT is enabled on the ledger api
- recordSequencerInteractions
If set to
Some(path)
, every sequencer client will record all sends requested and events received to the directorypath
. A new recording starts whenever the participant is connected to a domain.- replaySequencerConfig
If set to
Some(replayConfig)
, a sequencer client transport will be used enabling performance tests to replay previously recorded requests and received events. See sequencing.client.ReplayConfig for more details.
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 adminToken: CantonAdminToken
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def autoConnectLocalDomain(config: DomainConnectionConfig)(implicit traceContext: TraceContext, ec: ExecutionContext): EitherT[Future, SyncServiceError, Unit]
helper utility used to auto-connect to local domains
helper utility used to auto-connect to local domains
during startup, we first reconnect to existing domains. subsequently, if requested via a cli argument, we also auto-connect to local domains.
- val clock: Clock
The clock used to measure up-time
The clock used to measure up-time
- Attributes
- protected
- Definition Classes
- ParticipantNode → HasUptime
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def close(): Unit
- Definition Classes
- ParticipantNode → AutoCloseable
- val config: LocalParticipantConfig
- val cryptoPureApi: CryptoPureApi
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val id: ParticipantId
- def isActive: Boolean
- Definition Classes
- ParticipantNode → CantonNode
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val ledgerApiDependentCantonServices: StartableStoppableLedgerApiDependentServices
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- ParticipantNode → NamedLogging
- val metrics: ParticipantMetrics
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val nodeParameters: ParticipantNodeParameters
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def readyDomains: Map[DomainId, Boolean]
- def reconnectDomainsIgnoreFailures()(implicit traceContext: TraceContext, ec: ExecutionContext): EitherT[Future, SyncServiceError, Unit]
- val recordSequencerInteractions: AtomicReference[Option[RecordingConfig]]
- val replaySequencerConfig: AtomicReference[Option[ReplayConfig]]
- def status: Future[ParticipantStatus]
- Definition Classes
- ParticipantNode → CantonNode
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val topologyManager: ParticipantTopologyManager
- implicit def traceContext: TraceContext
- Attributes
- protected
- Definition Classes
- NoTracing
- def uptime(): Duration
- Attributes
- protected
- Definition Classes
- HasUptime
- 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])