package validation
- Alphabetic
- Public
- Protected
Type Members
- class ConfirmationResponseFactory extends NamedLogging
- trait InputAndUpdatedKeys extends PrettyPrinting
- final case class InputAndUpdatedKeysV2(keyResolvers: Map[ViewHash, LfKeyResolver], uckFreeKeysOfHostedMaintainers: Set[LfGlobalKey], uckUpdatedKeysOfHostedMaintainers: Map[LfGlobalKey, Status]) extends InputAndUpdatedKeys with HasLoggerName with Product with Serializable
- keyResolvers
The key resolvers for the root views with the given hashes
- final case class InputAndUpdatedKeysV3(uckFreeKeysOfHostedMaintainers: Set[LfGlobalKey], uckUpdatedKeysOfHostedMaintainers: Map[LfGlobalKey, Status]) extends InputAndUpdatedKeys with Product with Serializable
- class InternalConsistencyChecker extends NamedLogging
- class ModelConformanceChecker extends NamedLogging
Allows for checking model conformance of a list of transaction view trees.
Allows for checking model conformance of a list of transaction view trees. If successful, outputs the received transaction as LfVersionedTransaction along with TransactionMetadata.
- final case class PendingTransaction(txId: TransactionId, freshOwnTimelyTx: Boolean, modelConformanceResultE: Either[ErrorWithSubviewsCheck, Result], internalConsistencyResultE: Either[ErrorWithInternalConsistencyCheck, Unit], workflowIdO: Option[WorkflowId], requestTime: CantonTimestamp, requestCounter: RequestCounter, requestSequencerCounter: SequencerCounter, transactionValidationResult: TransactionValidationResult, mediator: MediatorRef) extends PendingRequestData with Product with Serializable
Storing metadata of pending transactions required for emitting transactions on the sync API.
- class RecipientsValidator[I] extends NamedLogging
- final case class TransactionValidationResult(transactionId: TransactionId, confirmationPolicy: ConfirmationPolicy, submitterMetadataO: Option[SubmitterMetadata], workflowIdO: Option[WorkflowId], contractConsistencyResultE: Either[List[ReferenceToFutureContractError], Unit], authenticationResult: Map[ViewPosition, String], authorizationResult: Map[ViewPosition, String], modelConformanceResultE: Either[ErrorWithSubviewsCheck, Result], internalConsistencyResultE: Either[ErrorWithInternalConsistencyCheck, Unit], consumedInputsOfHostedParties: Map[LfContractId, WithContractHash[Set[LfPartyId]]], witnessedAndDivulged: Map[LfContractId, SerializableContract], createdContracts: Map[LfContractId, SerializableContract], transient: Map[LfContractId, WithContractHash[Set[LfPartyId]]], keyUpdates: Map[LfGlobalKey, Status], successfulActivenessCheck: Boolean, viewValidationResults: Map[ViewPosition, ViewValidationResult], timeValidationResultE: Either[TimeCheckFailure, Unit], hostedWitnesses: Set[LfPartyId], replayCheckResult: Option[String]) extends Product with Serializable
- final case class UsedAndCreated(rootViewsWithSignatures: NonEmpty[Seq[(TransactionViewTree, Option[Signature])]], contracts: UsedAndCreatedContracts, keys: InputAndUpdatedKeys, hostedWitnesses: Set[LfPartyId]) extends Product with Serializable
- rootViewsWithSignatures
The root views of the projected transaction with their respective signatures
- final case class UsedAndCreatedContracts(witnessedAndDivulged: Map[LfContractId, SerializableContract], checkActivenessTxInputs: Set[LfContractId], consumedInputsOfHostedStakeholders: Map[LfContractId, WithContractHash[Set[LfPartyId]]], used: Map[LfContractId, SerializableContract], maybeCreated: Map[LfContractId, Option[SerializableContract]], transient: Map[LfContractId, WithContractHash[Set[LfPartyId]]]) extends Product with Serializable
- final case class ViewActivenessResult(inactiveContracts: Set[LfContractId], alreadyLockedContracts: Set[LfContractId], existingContracts: Set[LfContractId], duplicateKeys: Map[LfGlobalKey, Set[LfPartyId]], inconsistentKeys: Map[LfGlobalKey, Set[LfPartyId]], lockedKeys: Map[LfGlobalKey, Set[LfPartyId]]) extends Product with Serializable
The result of the activeness check for a view
The result of the activeness check for a view
- inactiveContracts
The input contracts that are inactive
- alreadyLockedContracts
The contracts that are already locked
- existingContracts
The created contracts that already exist
- duplicateKeys
Keys of created contracts that are already assigned
- inconsistentKeys
Contract keys that should be free (in terms of lookupByKey), but are not
- lockedKeys
Keys that are already locked
- final case class ViewValidationResult(view: ParticipantTransactionView, activenessResult: ViewActivenessResult) extends Product with Serializable
Value Members
- object ContractConsistencyChecker
- object ExtractUsedAndCreated
Helper to extract information from transaction view trees.
- object ExtractUsedContractsFromRootViews
- object InternalConsistencyChecker
- object ModelConformanceChecker
- object RecipientsValidator
- object TimeValidator