#include "chain_validator.hpp"
ChainValidator is interface of chain validation, that is required on commit step of consensus
◆ ~ChainValidator()
| virtual iroha::validation::ChainValidator::~ChainValidator |
( |
| ) |
|
|
virtualdefault |
◆ validateAndApply()
Try to apply the block to the storage.
While applying the block it will validate all its signatures and related meta information such as previous hash, height and other meta information
- Parameters
-
| block | - block to be applied atomically |
| storage | - storage to which the blocks are applied |
- Returns
- true if commit is valid and successfully applied, false otherwise
Implemented in iroha::validation::ChainValidatorImpl.
The documentation for this class was generated from the following file: