#include "rocksdb_indexer.hpp"


Public Member Functions | |
| RocksDBIndexer (std::shared_ptr< RocksDBContext > db_context) | |
| void | committedTxHash (const TxPosition &position, shared_model::interface::types::TimestampType const ts, const shared_model::interface::types::HashType &committed_tx_hash) override |
| Store a committed tx hash. More... | |
| void | rejectedTxHash (const TxPosition &position, shared_model::interface::types::TimestampType const ts, const shared_model::interface::types::HashType &rejected_tx_hash) override |
| Store a rejected tx hash. More... | |
| void | txPositions (shared_model::interface::types::AccountIdType const &account, shared_model::interface::types::HashType const &hash, boost::optional< shared_model::interface::types::AssetIdType > &&asset_id, shared_model::interface::types::TimestampType const ts, TxPosition const &position) override |
| Index tx info. More... | |
| iroha::expected::Result< void, std::string > | flush () override |
Public Member Functions inherited from iroha::ametsuchi::Indexer | |
| virtual | ~Indexer ()=default |
| RocksDBIndexer::RocksDBIndexer | ( | std::shared_ptr< RocksDBContext > | db_context | ) |

|
overridevirtual |
Store a committed tx hash.
Implements iroha::ametsuchi::Indexer.
|
overridevirtual |
Flush the indices to storage. Makes the effects of new indices (that were created before this call) visible to other components. Discards indexer inner state on success.
Implements iroha::ametsuchi::Indexer.

|
overridevirtual |
Store a rejected tx hash.
Implements iroha::ametsuchi::Indexer.
|
overridevirtual |