hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
wsv_restorer.hpp
Go to the documentation of this file.
1 
5 #ifndef IROHA_WSVRESTORER_HPP
6 #define IROHA_WSVRESTORER_HPP
7 
9 
10 namespace iroha {
11  namespace ametsuchi {
12 
13  class Storage;
14 
18  class WsvRestorer {
19  public:
20  virtual ~WsvRestorer() = default;
21 
30  virtual CommitResult restoreWsv(Storage &storage,
31  bool wait_for_new_blocks) = 0;
32  };
33 
34  } // namespace ametsuchi
35 } // namespace iroha
36 
37 #endif // IROHA_WSVRESTORER_HPP
Definition: result_fwd.hpp:27
Definition: storage.hpp:38
Definition: wsv_restorer.hpp:18
Definition: block_query.hpp:15
virtual ~WsvRestorer()=default
virtual CommitResult restoreWsv(Storage &storage, bool wait_for_new_blocks)=0