hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
wsv_restorer_impl.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_WSVRESTORERIMPL_HPP
7 #define IROHA_WSVRESTORERIMPL_HPP
8 
10 #include "common/result.hpp"
11 
12 namespace iroha {
13  namespace ametsuchi {
14 
19  class WsvRestorerImpl : public WsvRestorer {
20  public:
21  virtual ~WsvRestorerImpl() = default;
28  virtual expected::Result<void, std::string> restoreWsv(
29  Storage &storage) override;
30  };
31 
32  } // namespace ametsuchi
33 } // namespace iroha
34 
35 #endif // IROHA_WSVRESTORERIMPL_HPP
virtual ~WsvRestorerImpl()=default
Definition: storage.hpp:36
Definition: wsv_restorer.hpp:18
Definition: block_query.hpp:16
virtual expected::Result< void, std::string > restoreWsv(Storage &storage) override
Definition: wsv_restorer_impl.cpp:16
Definition: wsv_restorer_impl.hpp:19