Packages

package canton

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. canton
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package admin
  2. package buildinfo
  3. package cli
  4. package common
  5. package concurrent
  6. package config
  7. package console

    General console utilities

  8. package crypto
  9. package data
  10. package demo
  11. package domain
  12. package environment
  13. package error
  14. package examples
  15. package external
  16. package health
  17. package ledger
  18. package lifecycle
  19. package logging
  20. package metrics
  21. package networking
  22. package participant
  23. package performance
  24. package protobuf
  25. package protocol

    Provides shorthands for general purpose types.

    Provides shorthands for general purpose types.

    Most notably, it provides a facade for Daml-LF transactions and nodes. By default, code should access Daml-LF transaction and nodes types through this facade.

  26. package pruning
  27. package replica
  28. package resource
  29. package sequencing
  30. package serialization
  31. package services
  32. package store
  33. package time
  34. package topology
  35. package tracing
  36. package util
  37. package v0
  38. package version

Type Members

  1. case class ApplicationId(id: LedgerApplicationId) extends PrettyPrinting with Product with Serializable

    Application identifier for identifying customer applications in the ledger api

    Application identifier for identifying customer applications in the ledger api

    id

    ledger string representing application

  2. abstract class CantonAppDriver[E <: Environment] extends App with NamedLogging with NoTracing

    The Canton main application.

    The Canton main application.

    Starts a set of domains and participant nodes.

  3. sealed trait CantonScript extends AnyRef
  4. case class CantonScriptFromCode(scriptCode: String) extends CantonScript with Product with Serializable
  5. case class CantonScriptFromFile(scriptPath: File) extends CantonScript with Product with Serializable
  6. case class CommandId(id: LfLedgerString) extends PrettyPrinting with Product with Serializable

    Command identifier for tracking ledger commands

    Command identifier for tracking ledger commands

    id

    ledger string representing command

  7. class ConsoleInteractiveRunner[E <: Environment] extends Runner[E]
  8. class ConsoleScriptRunner[E <: Environment] extends Runner[E]
  9. implicit class DiscardOps[A] extends AnyRef

    Evaluate the expression and discard the result.

  10. case class DomainAlias(str: String255) extends LengthLimitedStringWrapper with PrettyPrinting with Product with Serializable

    Participant local identifier used to refer to a Domain without the need to fetch identifying information from a domain.

    Participant local identifier used to refer to a Domain without the need to fetch identifying information from a domain. This does not need to be globally unique. Only unique for the participant using it.

    str

    String with given alias

  11. class DomainManager extends CantonNode with NamedLogging with HasUptime with NoTracing

    A domain manager in the system.

    A domain manager in the system.

    The domain manager offers: - identity providing service. - distributed domain bootstrapping.

  12. type LedgerApplicationId = daml.lf.data.IdString.ApplicationId
  13. type LedgerConfiguration = Configuration
  14. type LedgerParticipantId = ParticipantId
  15. type LedgerSubmissionId = LedgerString
  16. type LedgerTransactionId = LedgerString
  17. type LfChoiceName = Name
  18. type LfCommand = ReplayCommand
  19. type LfCreateCommand = CreateByTemplate
  20. type LfExerciseByKeyCommand = ExerciseTemplateByKey
  21. type LfExerciseCommand = LenientExercise
  22. type LfFetchByKeyCommand = FetchTemplateByKey
  23. type LfFetchCommand = FetchTemplate
  24. type LfLedgerString = LedgerString
  25. type LfLookupByKeyCommand = LookupTemplateByKey
  26. type LfPackageId = PackageId
  27. type LfPartyId = Party
  28. type LfTimestamp = Timestamp
  29. type LfValue = Value
  30. type LfVersioned[T] = Versioned[T]
  31. sealed trait ProtoDeserializationError extends Product with Serializable
  32. trait Runner[E <: Environment] extends NamedLogging

    Result for exposing the process exit code.

    Result for exposing the process exit code. All logging is expected to take place inside of the runner.

  33. type SequencerCounter = Long

    The counter assigned by the sequencer to messages sent to the participant.

    The counter assigned by the sequencer to messages sent to the participant. The counter is specific to every participant.

  34. class ServerRunner[E <: Environment] extends Runner[E] with NoTracing
  35. case class TimedValue[A](timestamp: Instant, value: A) extends Product with Serializable
  36. case class WorkflowId(id: LfLedgerString) extends PrettyPrinting with Product with Serializable

    Workflow identifier for identifying customer workflows, i.e.

    Workflow identifier for identifying customer workflows, i.e. individual requests, in the ledger api

    id

    ledger string representing workflow

Value Members

  1. val GenesisSequencerCounter: SequencerCounter

    The SequencerCounter used for the first message from a sequencer to a participant

  2. val LedgerApplicationId: daml.lf.data.Ref.ApplicationId.type
  3. val LedgerConfiguration: Configuration.type
  4. val LedgerParticipantId: ParticipantId.type
  5. val LedgerSubmissionId: SubmissionId.type
  6. val LedgerTransactionId: TransactionId.type
  7. val LfChoiceName: ChoiceName.type
  8. val LfCommand: ReplayCommand.type
  9. val LfCreateCommand: CreateByTemplate.type
  10. val LfExerciseByKeyCommand: ExerciseTemplateByKey.type
  11. val LfExerciseCommand: LenientExercise.type
  12. val LfFetchByKeyCommand: FetchTemplateByKey.type
  13. val LfFetchCommand: FetchTemplate.type
  14. val LfLedgerString: LedgerString.type
  15. val LfLookupByKeyCommand: LookupTemplateByKey.type
  16. val LfPackageId: PackageId.type
  17. val LfPartyId: Party.type
  18. val LfTimestamp: Timestamp.type
  19. val LfValue: Value.type
  20. val LfVersioned: Versioned.type
  21. def checked[A](x: => A): A

    Wrap a method call with this method to document that the caller is sure that the callee's preconditions are met.

  22. implicit val lfPartyOrdering: Ordering[LfPartyId]
  23. object ApplicationId extends Serializable
  24. object CantonCommunityApp extends CantonAppDriver[CommunityEnvironment]
  25. object CantonEnterpriseApp extends CantonAppDriver[EnterpriseEnvironment]
  26. object CommandId extends Serializable
  27. object ConsoleScriptRunner extends NoTracing
  28. object DiscardedFuture extends WartTraverser

    Flags statements that return a scala.concurrent.Future.

    Flags statements that return a scala.concurrent.Future. Typically, we should not discard scala.concurrent.Future because exceptions inside the future may not get logged. Use FutureUtil.doNotAwait to log exceptions and discard the future where necessary.

    Does not (yet) detect discarded FutureUnlessShutdown nor EitherT[Future, _, _] nor OptionT[Future, _].

  29. object DomainAlias extends LengthLimitedStringWrapperCompanion[String255, DomainAlias] with Serializable
  30. object ProtoDeserializationError extends ProtoDeserializationErrorGroup with Serializable
  31. object RequireBlocking extends WartTraverser

    All blocking method calls should be wrapped in scala.concurrent.blocking so that the execution context knows that it may have to spawn a new process.

    All blocking method calls should be wrapped in scala.concurrent.blocking so that the execution context knows that it may have to spawn a new process.

    This wart checks that all @{code synchronized} calls are surrounded immediately by a scala.concurrent.blocking call. It also complains about calls to java.lang.Thread.sleep as Threading.sleep should be used instead.

    The logic can currently be fooled by renaming synchronized and sleep.

  32. object SlickString extends WartTraverser

    The DB may truncate strings of unbounded length.

    The DB may truncate strings of unbounded length. Therefore, this wart flags the following:

    This includes references generated by the string interpolators sql and sqlu

  33. object WorkflowId extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped