CatapultServer  v0.5.0.1 (Elephant)
catapult::chain::PtValidator Class Referenceabstract

Classes

struct  Result
 A validation result. More...
 

Public Member Functions

virtual ~PtValidator ()=default
 
virtual Result< bool > validatePartial (const model::WeakEntityInfoT< model::Transaction > &transactionInfo) const =0
 Validates a partial transaction (transactionInfo) excluding ineligible and missing cosigners checks. More...
 
virtual Result< CosignersValidationResultvalidateCosigners (const model::WeakCosignedTransactionInfo &transactionInfo) const =0
 Validates the cosigners of a partial transaction (transactionInfo). More...
 

Detailed Description

A validator for validating parts of a partial transaction.

Note
Upon completion the full aggregate transaction will be revalidated.

Constructor & Destructor Documentation

◆ ~PtValidator()

virtual catapult::chain::PtValidator::~PtValidator ( )
virtualdefault

Member Function Documentation

◆ validateCosigners()

virtual Result<CosignersValidationResult> catapult::chain::PtValidator::validateCosigners ( const model::WeakCosignedTransactionInfo transactionInfo) const
pure virtual

Validates the cosigners of a partial transaction (transactionInfo).

◆ validatePartial()

virtual Result<bool> catapult::chain::PtValidator::validatePartial ( const model::WeakEntityInfoT< model::Transaction > &  transactionInfo) const
pure virtual

Validates a partial transaction (transactionInfo) excluding ineligible and missing cosigners checks.


The documentation for this class was generated from the following file: