6 #ifndef IROHA_AMETSUCHI_H 7 #define IROHA_AMETSUCHI_H 29 class BlockStorageFactory;
44 virtual std::shared_ptr<WsvQuery> getWsvQuery()
const = 0;
46 virtual std::shared_ptr<BlockQuery> getBlockQuery()
const = 0;
54 std::shared_ptr<const shared_model::interface::Block> block) = 0;
61 createCommandExecutor() = 0;
71 using MutableFactory::createMutableStorage;
79 createMutableStorage(std::shared_ptr<CommandExecutor> command_executor,
92 virtual boost::optional<std::shared_ptr<const iroha::LedgerState>>
93 getLedgerState()
const = 0;
95 virtual void freeConnections() = 0;
104 #endif // IROHA_AMETSUCHI_H
Definition: block_query.hpp:17
Definition: temporary_factory.hpp:18
Definition: setting_query_factory.hpp:15
Definition: result_fwd.hpp:27
Definition: block_query_factory.hpp:15
Definition: storage.hpp:37
Definition: query_executor_factory.hpp:18
Definition: block_query.hpp:15
Definition: peer_query_factory.hpp:15
Definition: block_storage_factory.hpp:19
Definition: command_executor.hpp:13
Definition: mutable_factory.hpp:27