#include "mst_state.hpp"


Public Member Functions | |
| virtual bool | isCompleted (const DataType &batch) const =0 |
| virtual bool | isExpired (const DataType &batch, const TimeType ¤t_time) const =0 |
| virtual | ~Completer ()=default |
Completer is strategy for verification batches on completeness and expiration
|
virtualdefault |
|
pure virtual |
Verify that batch is completed
| batch | - target object for verification |
Implemented in iroha::DefaultCompleter.
|
pure virtual |
Check whether the batch has expired
| batch | - object for validation |
| current_time | - current time |
Implemented in iroha::DefaultCompleter.