hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::validation::SignableModelValidator< ModelValidator, Model, FieldValidator, SignatureRequired > Class Template Reference

#include "signable_validator.hpp"

Inheritance diagram for shared_model::validation::SignableModelValidator< ModelValidator, Model, FieldValidator, SignatureRequired >:
Inheritance graph
Collaboration diagram for shared_model::validation::SignableModelValidator< ModelValidator, Model, FieldValidator, SignatureRequired >:
Collaboration graph

Public Member Functions

 SignableModelValidator (std::shared_ptr< ValidatorsConfig > config)
 
Answer validate (const Model &model, interface::types::TimestampType current_timestamp) const
 
Answer validate (const Model &model) const
 

Constructor & Destructor Documentation

template<typename ModelValidator , typename Model , typename FieldValidator , bool SignatureRequired = true>
shared_model::validation::SignableModelValidator< ModelValidator, Model, FieldValidator, SignatureRequired >::SignableModelValidator ( std::shared_ptr< ValidatorsConfig config)
inlineexplicit

Member Function Documentation

template<typename ModelValidator , typename Model , typename FieldValidator , bool SignatureRequired = true>
Answer shared_model::validation::SignableModelValidator< ModelValidator, Model, FieldValidator, SignatureRequired >::validate ( const Model &  model,
interface::types::TimestampType  current_timestamp 
) const
inline
template<typename ModelValidator , typename Model , typename FieldValidator , bool SignatureRequired = true>
Answer shared_model::validation::SignableModelValidator< ModelValidator, Model, FieldValidator, SignatureRequired >::validate ( const Model &  model) const
inline

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