package validation
- Alphabetic
- Public
- Protected
Type Members
- class ConfirmationResponseFactory extends NamedLogging
- case class InputAndUpdatedKeys(rootViewsWithContractKeys: NonEmpty[Seq[(TransactionViewTree, LfKeyResolver)]], uckFreeKeysOfHostedMaintainers: Set[LfGlobalKey], uckUpdatedKeysOfHostedMaintainers: Map[LfGlobalKey, Status]) extends PrettyPrinting with Product with Serializable
- rootViewsWithContractKeys
is a key resolver that is suitable for reinterpreting each root view
- 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.
- case class PendingTransaction(txId: TransactionId, modelConformanceResult: Either[Error, Result], workflowId: Option[WorkflowId], requestTime: CantonTimestamp, requestCounter: RequestCounter, requestSequencerCounter: SequencerCounter, transactionValidationResult: TransactionValidationResult) extends PendingRequestData with Product with Serializable
Storing metadata of pending transactions required for emitting transactions on the sync API.
- case class TransactionValidationResult(transactionId: TransactionId, confirmationPolicies: NonEmpty[Set[ConfirmationPolicy]], submitterMetadata: Option[SubmitterMetadata], workflowId: Option[WorkflowId], contractConsistencyResult: Either[List[ReferenceToFutureContractError], Unit], modelConformanceResult: Either[Error, Result], 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[ViewHash, ViewValidationResult], timeValidationResult: Either[TimeCheckFailure, Unit], hostedInformeeStakeholders: Set[LfPartyId]) extends Product with Serializable
- case class UsedAndCreated(contracts: UsedAndCreatedContracts, keys: InputAndUpdatedKeys, hostedInformeeStakeholders: Set[LfPartyId]) extends Product with Serializable
- case class UsedAndCreatedContracts(witnessedAndDivulged: Map[LfContractId, SerializableContract], checkActivenessTxInputs: Set[LfContractId], consumedInputsOfHostedStakeholders: Map[LfContractId, WithContractHash[Set[LfPartyId]]], maybeCreated: Map[LfContractId, Option[SerializableContract]], transient: Map[LfContractId, WithContractHash[Set[LfPartyId]]]) extends Product with Serializable
- 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
- case class ViewValidationResult(view: ParticipantTransactionView, activenessResult: ViewActivenessResult) extends Product with Serializable
Value Members
- object ContractConsistencyChecker
- object ModelConformanceChecker
- object TimeValidator