6 #ifndef IROHA_STORAGE_INIT_HPP 7 #define IROHA_STORAGE_INIT_HPP 14 #include <boost/optional/optional_fwd.hpp> 20 class QueryResponseFactory;
24 class PendingTransactionStorage;
28 class PostgresOptions;
33 expected::Result<std::shared_ptr<iroha::ametsuchi::Storage>, std::string>
36 std::shared_ptr<iroha::ametsuchi::PoolWrapper> pool_wrapper,
37 std::shared_ptr<iroha::PendingTransactionStorage> pending_txs_storage,
38 std::shared_ptr<shared_model::interface::QueryResponseFactory>
39 query_response_factory,
40 boost::optional<std::string> block_storage_dir,
41 std::optional<std::reference_wrapper<const iroha::ametsuchi::VmCaller>>
Definition: postgres_options.hpp:19
expected::Result< std::shared_ptr< iroha::ametsuchi::Storage >, std::string > initStorage(iroha::ametsuchi::PostgresOptions const &pg_opt, std::shared_ptr< iroha::ametsuchi::PoolWrapper > pool_wrapper, std::shared_ptr< iroha::PendingTransactionStorage > pending_txs_storage, std::shared_ptr< shared_model::interface::QueryResponseFactory > query_response_factory, boost::optional< std::string > block_storage_dir, std::optional< std::reference_wrapper< const iroha::ametsuchi::VmCaller >> vm_caller_ref, logger::LoggerManagerTreePtr log_manager)
Definition: block_query.hpp:15
Definition: command_executor.hpp:13
std::shared_ptr< LoggerManagerTree > LoggerManagerTreePtr
Definition: logger_manager_fwd.hpp:14