#include "indexer.hpp"


Classes | |
| struct | TxPosition |
| Position of a transaction in the ledger. More... | |
Public Member Functions | |
| virtual | ~Indexer ()=default |
| virtual void | committedTxHash (const TxPosition &position, shared_model::interface::types::TimestampType const ts, const shared_model::interface::types::HashType &committed_tx_hash)=0 |
| Store a committed tx hash. More... | |
| virtual void | rejectedTxHash (const TxPosition &position, shared_model::interface::types::TimestampType const ts, const shared_model::interface::types::HashType &rejected_tx_hash)=0 |
| Store a rejected tx hash. More... | |
| virtual void | txPositions (shared_model::interface::types::AccountIdType const &creator, 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)=0 |
| Index tx info. More... | |
| virtual iroha::expected::Result< void, std::string > | flush ()=0 |
Stores transaction data in WSV.
|
virtualdefault |
|
pure virtual |
Store a committed tx hash.
Implemented in iroha::ametsuchi::PostgresIndexer, and iroha::ametsuchi::RocksDBIndexer.
|
pure virtual |
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.
Implemented in iroha::ametsuchi::PostgresIndexer, and iroha::ametsuchi::RocksDBIndexer.
|
pure virtual |
Store a rejected tx hash.
Implemented in iroha::ametsuchi::PostgresIndexer, and iroha::ametsuchi::RocksDBIndexer.
|
pure virtual |
Index tx info.
Implemented in iroha::ametsuchi::PostgresIndexer, and iroha::ametsuchi::RocksDBIndexer.