hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
block_storage_factory.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_BLOCK_STORAGE_FACTORY_HPP
7 #define IROHA_BLOCK_STORAGE_FACTORY_HPP
8 
9 #include <memory>
10 
12 #include "common/result_fwd.hpp"
13 
14 namespace iroha {
15  namespace ametsuchi {
20  public:
22  std::string>
23  create() = 0;
24 
25  virtual ~BlockStorageFactory() = default;
26  };
27 
28  } // namespace ametsuchi
29 } // namespace iroha
30 
31 #endif // IROHA_BLOCK_STORAGE_FACTORY_HPP
Definition: block_query.hpp:17
Definition: result_fwd.hpp:27
virtual iroha::expected::Result< std::unique_ptr< BlockStorage >, std::string > create()=0
Definition: block_query.hpp:15
Definition: block_storage_factory.hpp:19