6 #ifndef AMETSUCHI_INDEXER_HPP 7 #define AMETSUCHI_INDEXER_HPP 35 &committed_tx_hash) = 0;
45 boost::optional<shared_model::interface::types::AssetIdType>
uint64_t HeightType
Type of height (for Block, Proposal etc)
Definition: types.hpp:48
Definition: result_fwd.hpp:27
size_t index
the number of this transaction in the block
Definition: indexer.hpp:29
virtual void committedTxHash(const shared_model::interface::types::HashType &committed_tx_hash)=0
Store a committed tx hash.
Definition: block_query.hpp:15
std::string AccountIdType
Type of account id.
Definition: types.hpp:38
hash256_t hash(const T &pb)
Definition: pb_common.hpp:43
virtual iroha::expected::Result< void, std::string > flush()=0
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.
virtual void rejectedTxHash(const shared_model::interface::types::HashType &rejected_tx_hash)=0
Store a rejected tx hash.
Position of a transaction in the ledger.
Definition: indexer.hpp:26
shared_model::interface::types::HeightType height
the height of block containing this transaction
Definition: indexer.hpp:28
virtual ~Indexer()=default
Definition: indexer.hpp:21
uint64_t TimestampType
Type of timestamp.
Definition: types.hpp:67