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 lifecycle
  18. package logging
  19. package metrics
  20. package networking
  21. package participant
  22. package performance
  23. package protobuf
  24. 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.

  25. package pruning
  26. package replica
  27. package resource
  28. package sequencing
  29. package serialization
  30. package store
  31. package time
  32. package topology
  33. package tracing
  34. package util
  35. package v0
  36. 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. class CantonResearchApp extends CantonAppDriver[ResearchEnvironment]
  4. sealed trait CantonScript extends AnyRef
  5. case class CantonScriptFromCode(scriptCode: String) extends CantonScript with Product with Serializable
  6. case class CantonScriptFromFile(scriptPath: File) extends CantonScript with Product with Serializable
  7. 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

  8. class ConsoleInteractiveRunner[E <: Environment] extends Runner[E]
  9. class ConsoleScriptRunner[E <: Environment] extends Runner[E]
  10. implicit final class DiscardOps[A] extends AnyVal

    Evaluate the expression and discard the result.

  11. final class DoNotDiscardLikeFuture extends Annotation with StaticAnnotation

    Annotated type constructors will be treated like a scala.concurrent.Future when looking for discarded futures.

  12. 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

  13. 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.

  14. type LedgerApplicationId = daml.lf.data.IdString.ApplicationId
  15. type LedgerConfiguration = Configuration
  16. type LedgerParticipantId = ParticipantId
  17. type LedgerSubmissionId = LedgerString
  18. type LedgerTransactionId = LedgerString
  19. type LfChoiceName = Name
  20. type LfCommand = ReplayCommand
  21. type LfCreateCommand = Create
  22. type LfExerciseByKeyCommand = ExerciseByKey
  23. type LfExerciseCommand = Exercise
  24. type LfFetchByKeyCommand = FetchByKey
  25. type LfFetchCommand = Fetch
  26. type LfInterfaceId = Identifier
  27. type LfKeyResolver = Map[GlobalKey, KeyMapping]
  28. type LfLedgerString = LedgerString
  29. type LfLookupByKeyCommand = LookupByKey
  30. type LfPackageId = PackageId
  31. type LfPartyId = Party
  32. type LfTimestamp = Timestamp
  33. type LfValue = Value
  34. type LfVersioned[T] = Versioned[T]
  35. type LfWorkflowId = LedgerString
  36. sealed trait ProtoDeserializationError extends Product with Serializable
  37. 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.

  38. 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.

  39. class ServerRunner[E <: Environment] extends Runner[E] with NoTracing
  40. case class TimedValue[A](timestamp: Instant, value: A) extends Product with Serializable
  41. case class WorkflowId(id: LfWorkflowId) 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: Create.type
  10. val LfExerciseByKeyCommand: ExerciseByKey.type
  11. val LfExerciseCommand: Exercise.type
  12. val LfFetchByKeyCommand: FetchByKey.type
  13. val LfFetchCommand: Fetch.type
  14. val LfInterfaceId: TypeConName.type
  15. val LfLedgerString: LedgerString.type
  16. val LfLookupByKeyCommand: LookupByKey.type
  17. val LfPackageId: PackageId.type
  18. val LfPartyId: Party.type
  19. val LfTimestamp: Timestamp.type
  20. val LfValue: Value.type
  21. val LfVersioned: Versioned.type
  22. val LfWorkflowId: daml.lf.data.Ref.WorkflowId.type
  23. 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.

  24. val lfKeyResolver: Map.type
  25. implicit val lfPartyOrdering: Ordering[LfPartyId]
  26. object ApplicationId extends Serializable
  27. object CantonCommunityApp extends CantonAppDriver[CommunityEnvironment]
  28. object CantonEnterpriseApp extends CantonAppDriver[EnterpriseEnvironment]
  29. object CommandId extends Serializable
  30. object ConsoleScriptRunner extends NoTracing
  31. 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, _].

  32. object DomainAlias extends LengthLimitedStringWrapperCompanion[String255, DomainAlias] with Serializable
  33. object ProtoDeserializationError extends ProtoDeserializationErrorGroup with Serializable
  34. 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.

  35. 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

  36. object WorkflowId extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped