6 #ifndef IROHA_TX_PRESENCE_CACHE_UTILS_HPP 7 #define IROHA_TX_PRESENCE_CACHE_UTILS_HPP 26 [](
const auto &) {
return true; }),
38 make_visitor([](
const auto &status) {
return status.hash; }), status);
43 #endif // IROHA_TX_PRESENCE_CACHE_HPP Definition: block_query.hpp:17
std::variant< tx_cache_status_responses::Committed, tx_cache_status_responses::Rejected, tx_cache_status_responses::Missing > TxCacheStatusType
Sum type of all possible concrete responses from the tx cache.
Definition: tx_cache_response.hpp:63
Definition: block_query.hpp:15
bool isAlreadyProcessed(const TxCacheStatusType &tx_status) noexcept
Definition: tx_presence_cache_utils.hpp:19
Definition: tx_cache_response.hpp:55
tx_cache_response_details::HashType getHash(const TxCacheStatusType &status) noexcept
Definition: tx_presence_cache_utils.hpp:35