Classes | |
| class | ChainValidator |
| class | ChainValidatorImpl |
| struct | CommandError |
| class | StatefulValidator |
| class | StatefulValidatorImpl |
| struct | TransactionError |
| struct | VerifiedProposalAndErrors |
| Type of verified proposal and errors appeared in the process. More... | |
Typedefs | |
| using | TransactionsErrors = std::vector< TransactionError > |
| Collection of transactions errors. More... | |
Functions | |
| static bool | checkTransactions (ametsuchi::TemporaryWsv &temporary_wsv, validation::TransactionsErrors &transactions_errors_log, const shared_model::interface::Transaction &tx) |
| static auto | validateTransactions (const shared_model::interface::types::TransactionsCollectionType &txs, ametsuchi::TemporaryWsv &temporary_wsv, validation::TransactionsErrors &transactions_errors_log, const shared_model::interface::TransactionBatchParser &batch_parser) |
| template<typename PublicKeys > | |
| bool | signaturesSubset (const shared_model::interface::types::SignatureRangeType &signatures, const PublicKeys &public_keys) |
| template<typename Peers > | |
| bool | peersSubset (const shared_model::interface::types::SignatureRangeType &signatures, const Peers &peers) |
| using iroha::validation::TransactionsErrors = typedef std::vector<TransactionError> |
Collection of transactions errors.
|
static |
Complements initial transaction check with command-by-command check
| temporary_wsv | to apply commands on |
| transactions_errors_log | to write errors to |
| tx | to be checked |


|
inline |
Checks if `signatures' is a subset of signatures of `peers'
| signatures | to check |
| peers | with signatures |


|
inline |
Checks if signatures' public keys are present in vector of pubkeys
| signatures | - collection of signatures |
| public_keys | - collection of public keys |

|
static |
Validate all transactions supplied; includes special rules, such as batch validation etc
| txs | to be validated |
| temporary_wsv | to apply transactions on |
| transactions_errors_log | to write errors to |
| batch_parser | to parse batches from transaction range |

