#include "tx_presence_cache.hpp"


Public Types | |
| using | BatchStatusCollectionType = std::vector< TxCacheStatusType > |
| response type which reflects status of each transaction in a batch More... | |
Public Member Functions | |
| virtual boost::optional< TxCacheStatusType > | check (const shared_model::crypto::Hash &hash) const =0 |
| virtual boost::optional< BatchStatusCollectionType > | check (const shared_model::interface::TransactionBatch &batch) const =0 |
| virtual | ~TxPresenceCache ()=default |
Class is responsible for checking transaction status in the ledger
| using iroha::ametsuchi::TxPresenceCache::BatchStatusCollectionType = std::vector<TxCacheStatusType> |
response type which reflects status of each transaction in a batch
|
virtualdefault |
|
pure virtual |
Check transaction status by hash
Implemented in iroha::ametsuchi::TxPresenceCacheImpl.
|
pure virtual |
Check batch status
Implemented in iroha::ametsuchi::TxPresenceCacheImpl.