hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
default_validator.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_DEFAULT_VALIDATOR_HPP
7 #define IROHA_SHARED_MODEL_DEFAULT_VALIDATOR_HPP
8 
18 
19 namespace shared_model {
20  namespace validation {
21 
22  // -----------------------| Transaction validation |------------------------
23 
29  TransactionValidator<FieldValidator,
31 
38  const interface::Transaction &,
39  FieldValidator>;
40 
47  const interface::Transaction &,
48  FieldValidator,
49  false>;
50 
51  // --------------------------| Query validation |---------------------------
52 
58 
64  const interface::Query &,
65  FieldValidator>;
66 
72 
79  const interface::BlocksQuery &,
80  FieldValidator>;
81 
82  // ------------| Transactions collection validation |--------------
83 
90 
98  true>;
99 
106 
112 
118  BlockValidator<FieldValidator,
120 
126  const interface::Block &,
127  FieldValidator>;
128 
129  } // namespace validation
130 } // namespace shared_model
131 
132 #endif // IROHA_SHARED_MODEL_DEFAULT_VALIDATOR_HPP
BlocksQueryValidator< FieldValidator > DefaultUnsignedBlocksQueryValidator
Definition: default_validator.hpp:71
Definition: block_validator.hpp:26
Definition: query.hpp:35
Definition: blocks_query.hpp:20
Definition: signable_validator.hpp:18
Definition: block.hpp:16
Definition: blocks_query_validator.hpp:19
QueryValidator< FieldValidator, QueryValidatorVisitor< FieldValidator >> DefaultUnsignedQueryValidator
Definition: default_validator.hpp:57
Definition: proposal_validator.hpp:27
Definition: transaction_validator.hpp:45
Definition: command_executor.hpp:12
BlockValidator< FieldValidator, DefaultUnsignedOptionalTransactionsValidator > DefaultUnsignedBlockValidator
Definition: default_validator.hpp:119
Definition: query_validator.hpp:203
Definition: transaction.hpp:23
Definition: transactions_collection_validator.hpp:22
TransactionValidator< FieldValidator, CommandValidatorVisitor< FieldValidator >> DefaultUnsignedTransactionValidator
Definition: default_validator.hpp:30