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 
8 #include "common/result.hpp"
9 
10 namespace iroha {
11  namespace ametsuchi {
12 
13  class Storage;
14 
18  class WsvRestorer {
19  public:
20  virtual ~WsvRestorer() = default;
21 
27  virtual expected::Result<void, std::string> restoreWsv(
28  Storage &storage) = 0;
29  };
30 
31  } // namespace ametsuchi
32 } // namespace iroha
33 
34 #endif // IROHA_WSVRESTORER_HPP
virtual expected::Result< void, std::string > restoreWsv(Storage &storage)=0
Definition: storage.hpp:36
Definition: wsv_restorer.hpp:18
Definition: block_query.hpp:16
virtual ~WsvRestorer()=default