hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
rocksdb_options.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_ROCKSDB_OPTIONS_HPP
7 #define IROHA_ROCKSDB_OPTIONS_HPP
8 
9 namespace iroha::ametsuchi {
10 
14  class RocksDbOptions final {
15  const std::string db_path_;
16 
17  public:
18  explicit RocksDbOptions(std::string_view db_path) : db_path_(db_path) {}
19 
20  public:
21  const std::string &dbPath() const {
22  return db_path_;
23  }
24  };
25 
26 } // namespace iroha::ametsuchi
27 
28 #endif // IROHA_POSTGRES_OPTIONS_HPP
Definition: block_query.hpp:17
RocksDbOptions(std::string_view db_path)
Definition: rocksdb_options.hpp:18
Definition: rocksdb_options.hpp:14
const std::string & dbPath() const
Definition: rocksdb_options.hpp:21