6 #ifndef IROHA_TX_PRESENCE_CACHE_IMPL_HPP 7 #define IROHA_TX_PRESENCE_CACHE_IMPL_HPP 20 boost::optional<TxCacheStatusType>
check(
23 boost::optional<BatchStatusCollectionType>
check(
34 boost::optional<TxCacheStatusType> checkInStorage(
37 std::shared_ptr<Storage> storage_;
46 #endif // IROHA_TX_PRESENCE_CACHE_IMPL_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: tx_presence_cache_impl.hpp:16
Definition: block_query.hpp:15
hash256_t hash(const T &pb)
Definition: pb_common.hpp:43
TxPresenceCacheImpl(std::shared_ptr< Storage > storage)
Definition: tx_presence_cache_impl.cpp:15
Definition: transaction_batch.hpp:22
Definition: tx_presence_cache.hpp:30
boost::optional< TxCacheStatusType > check(const shared_model::crypto::Hash &hash) const override
Definition: tx_presence_cache_impl.cpp:18