package admin

  1. Alphabetic
  1. Public
  2. Protected

Package Members

  1. package grpc
  2. package v0
  3. package workflows

Type Members

  1. sealed trait AcceptRejectError extends AnyRef
  2. class AcceptRejectException extends RuntimeException

    Exception to carry the accept reject error where a Future[Unit] return is expected (transaction processing)

  3. final case class AdminWorkflowConfig(bongTestMaxLevel: Long = 0, retries: Int = 10, submissionTimeout: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofHours(1), autoloadDar: Boolean = true) extends Product with Serializable

    Configuration options for Canton admin workflows like

    Configuration options for Canton admin workflows like


    Upper bound on the level of a bong that the participant can initiate. The participant can still participate in bongs at higher levels. Use this to limit the load the participants can cause by initiating bongs.


    The maximum number of times the com.digitalasset.canton.participant.ledger.api.client.CommandSubmitterWithRetry will retry an admin command submitted to the com.digitalasset.canton.participant.admin.AdminWorkflowServices.


    Defines how long an admin workflow waits until it observes a completion for its command submissions before it assumes that the submission is lost and retries. If a lower timeout value is specified for an admin workflow, they take precedence.

  4. trait AdminWorkflowService extends AutoCloseable

    Admin service that connects to the ledger and process events

  5. class AdminWorkflowServices extends FlagCloseableAsync with NamedLogging with Spanning with NoTracing

    Manages our admin workflow applications (ping, dar distribution).

    Manages our admin workflow applications (ping, dar distribution). Currently each is individual application with their own ledger connection and acting independently.

  6. trait DarDistribution extends AnyRef

    Dar distribution operations

  7. class DarDistributionService extends AdminWorkflowService with DarDistribution with NamedLogging
  8. trait DarService extends AnyRef
  9. class DomainConnectivityService extends NamedLogging
  10. class EnterpriseResourceManagementService extends ResourceManagementService
  11. class InMemoryShareOfferStore extends InMemorySimpleTrackerStore[ShareDar] with ShareOfferStore
  12. class InMemoryShareRequestStore extends InMemorySimpleTrackerStore[ShareDar] with ShareRequestStore
  13. class InMemorySimpleTrackerStore[A] extends SimpleContractTrackerStore[A]
  14. class InMemoryWhitelistStore extends WhitelistStore
  15. trait PackageInspectionOps extends NamedLogging
  16. class PackageInspectionOpsImpl extends PackageInspectionOps
  17. class PackageService extends DarService with PackageInfoService with NamedLogging with FlagCloseable
  18. class PingService extends AdminWorkflowService with FlagCloseable with NamedLogging

    Implements the core of the ledger ping service for a participant.

    Implements the core of the ledger ping service for a participant. The service measures the time needed for a nanobot on the responder to act on a contract created by the initiator.

    The main functionality: 1. once instantiated, it automatically starts a Scala Nanobot that responds to pings for this participant 2. it provides a ping method that sends a ping to the given (target) party


  19. class RepairService extends NamedLogging with FlagCloseable with HasCloseContext

    Implements the repair commands.

    Implements the repair commands. Repair commands work only if the participant has disconnected from the affected domains. Every individual repair commands is executed transactionally, i.e., either all its effects are applied or none. This is achieved in the same way as for request processing:

    If anything goes wrong before advancing the clean request prehead, the already persisted data will be cleaned up upon the next repair request or reconnection to the domain.

  20. sealed trait RepairServiceError extends Product with Serializable with BaseCantonError
  21. final case class ResourceLimits(maxDirtyRequests: Option[NonNegativeInt], maxRate: Option[NonNegativeInt], maxBurstFactor: PositiveDouble = ResourceLimits.defaultMaxBurstFactor) extends Product with Serializable

    Encapsulated resource limits for a participant.

    Encapsulated resource limits for a participant.


    the maximum number of requests that are currently being validated. This also covers requests submitted by other participants.


    the maximum rate at which commands may be submitted through the ledger api.


    to ratio of the max rate, describing the maximum acceptable initial burst before the steady rate limiting kicks in. example: if maxRate is 100 and the burst ratio is 0.3, then the first 30 commands can submitted in the same instant, while thereafter, only one command every 10ms is accepted.

  22. trait ResourceManagementService extends AnyRef
  23. sealed trait ShareError extends AnyRef
  24. trait ShareOfferStore extends SimpleContractTrackerStore[ShareDar]

    Store for received DAR sharing offers I've not yet responded to

  25. trait ShareRequestStore extends SimpleContractTrackerStore[ShareDar]

    Store for DAR sharing requests I've sent that haven't yet been accepted or rejected

  26. trait SimpleContractTrackerStore[A] extends AnyRef

    Simple store for tracking ledger contracts of a given type

  27. class SyncStateInspection extends NamedLogging

    Implements inspection functions for the sync state of a participant node

  28. class TransferService extends AnyRef
  29. trait WhitelistStore extends AnyRef

    Store for parties I have whitelisted DARs from (permitting them to be automatically installed)