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 
28  virtual CommitResult restoreWsv(Storage &storage) = 0;
29  };
30 
31  } // namespace ametsuchi
32 } // namespace iroha
33 
34 #endif // IROHA_WSVRESTORER_HPP
Definition: result_fwd.hpp:27
Definition: storage.hpp:38
Definition: wsv_restorer.hpp:18
Definition: block_query.hpp:15
virtual CommitResult restoreWsv(Storage &storage)=0
virtual ~WsvRestorer()=default