#include "chain_validator_impl.hpp"
◆ ChainValidatorImpl()
◆ validateAndApply()
Try to apply the blocks from observable to the storage.
While applying the blocks it will validate all their signatures and related meta information such as previous hash, height and other meta information
- Parameters
-
| blocks | - observable with all blocks, that should be applied atomically |
| storage | - storage to which the blocks are applied |
- Returns
- true if commit is valid and successfully applied, false otherwise
Implements iroha::validation::ChainValidator.
The documentation for this class was generated from the following files: