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 
13 namespace iroha {
14  namespace ametsuchi {
19  public:
20  virtual std::unique_ptr<BlockStorage> create() = 0;
21 
22  virtual ~BlockStorageFactory() = default;
23  };
24 
25  } // namespace ametsuchi
26 } // namespace iroha
27 
28 #endif // IROHA_BLOCK_STORAGE_FACTORY_HPP
Definition: block_query.hpp:14
Definition: block_storage_factory.hpp:18
virtual std::unique_ptr< BlockStorage > create()=0