class ConfirmationRequestFactory extends NamedLogging

Factory class for creating confirmation requests from Daml-LF transactions.

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

Instance Constructors

  1. new ConfirmationRequestFactory(submitterNode: ParticipantId, loggingConfig: LoggingConfig, loggerFactory: NamedLoggerFactory, parallel: Boolean = true)(transactionTreeFactory: TransactionTreeFactory, seedGenerator: SeedGenerator)(implicit executionContext: ExecutionContext)

    parallel

    to flag if view processing is done in parallel or sequentially. Intended to be set only during tests to enforce determinism, otherwise it is always set to true.

    transactionTreeFactory

    used to create the payload

    seedGenerator

    used to derive the transaction seed

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def createConfirmationRequest(transactionTree: GenTransactionTree, cryptoSnapshot: DomainSnapshotSyncCryptoApi, sessionKeyStore: SessionKeyStore, keySeed: SecureRandomness, protocolVersion: ProtocolVersion)(implicit traceContext: TraceContext): EitherT[Future, ConfirmationRequestCreationError, ConfirmationRequest]
  7. def createConfirmationRequest(wfTransaction: WellFormedTransaction[WithoutSuffixes], confirmationPolicy: ConfirmationPolicy, submitterInfo: SubmitterInfo, workflowId: Option[WorkflowId], keyResolver: LfKeyResolver, mediator: MediatorRef, cryptoSnapshot: DomainSnapshotSyncCryptoApi, sessionKeyStore: SessionKeyStore, contractInstanceOfId: SerializableContractOfId, optKeySeed: Option[SecureRandomness], maxSequencingTime: CantonTimestamp, protocolVersion: ProtocolVersion)(implicit traceContext: TraceContext): EitherT[Future, ConfirmationRequestCreationError, ConfirmationRequest]

    Creates a confirmation request from a wellformed transaction.

    Creates a confirmation request from a wellformed transaction.

    cryptoSnapshot

    used to determine participants of parties and for signing and encryption

    returns

    the confirmation request and the transaction root hash (aka transaction id) or an error. See the documentation of com.digitalasset.canton.participant.protocol.submission.ConfirmationRequestFactory.ConfirmationRequestCreationError for more information on error cases.

  8. def createDefaultSeed(pureCrypto: CryptoPureApi): SecureRandomness
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  16. val loggerFactory: NamedLoggerFactory
  17. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. val transactionTreeFactory: TransactionTreeFactory
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from NamedLogging

Inherited from AnyRef

Inherited from Any

Ungrouped