com.digitalasset.canton.participant.protocol.validation
ModelConformanceChecker
Companion object ModelConformanceChecker
class ModelConformanceChecker extends NamedLogging
Allows for checking model conformance of a list of transaction view trees. If successful, outputs the received transaction as LfVersionedTransaction along with TransactionMetadata.
- Alphabetic
- By Inheritance
- ModelConformanceChecker
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ModelConformanceChecker(reinterpret: (ContractAndKeyLookup, Set[LfPartyId], LfCommand, CantonTimestamp, CantonTimestamp, Option[LfHash], Boolean, TraceContext) => EitherT[Future, DAMLeError, (LfVersionedTransaction, TransactionMetadata, LfKeyResolver)], transactionTreeFactory: TransactionTreeFactory, loggerFactory: NamedLoggerFactory)(implicit executionContext: ExecutionContext)
- reinterpret
reinterprets the lf command to a transaction.
- transactionTreeFactory
reconstructs a transaction view from the reinterpreted action description.
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def check(rootViewsWithInputKeys: NonEmpty[Seq[(TransactionViewTree, LfKeyResolver)]], requestCounter: RequestCounter, topologySnapshot: TopologySnapshot, commonData: CommonData)(implicit traceContext: TraceContext): EitherT[Future, Error, Result]
Reinterprets the transaction resulting from the received transaction view trees.
Reinterprets the transaction resulting from the received transaction view trees.
- rootViewsWithInputKeys
all received transaction view trees contained in a confirmation request that have the same transaction id and represent a top-most view
- commonData
the common data of all the (rootViewTree : TransactionViewTree) trees in
rootViewsWithInputKeys
- returns
the resulting LfTransaction with com.digitalasset.canton.protocol.LfContractIds only
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Attributes
- protected
- Definition Classes
- ModelConformanceChecker → NamedLogging
- implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val reinterpret: (ContractAndKeyLookup, Set[LfPartyId], LfCommand, CantonTimestamp, CantonTimestamp, Option[LfHash], Boolean, TraceContext) => EitherT[Future, DAMLeError, (LfVersionedTransaction, TransactionMetadata, LfKeyResolver)]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val transactionTreeFactory: TransactionTreeFactory
- 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])