#include "pending_txs_storage.hpp"


Classes | |
| struct | Response |
Public Types | |
| enum | ErrorCode { kNotFound } |
Public Member Functions | |
| virtual shared_model::interface::types::SharedTxsCollectionType | getPendingTransactions (const shared_model::interface::types::AccountIdType &account_id) const =0 |
| virtual void | insertPresenceCache (std::shared_ptr< ametsuchi::TxPresenceCache > &cache)=0 |
| virtual expected::Result< Response, ErrorCode > | getPendingTransactions (const shared_model::interface::types::AccountIdType &account_id, const shared_model::interface::types::TransactionsNumberType page_size, const std::optional< shared_model::interface::types::HashType > &first_tx_hash) const =0 |
| virtual | ~PendingTransactionStorage ()=default |
Interface of storage for not fully signed transactions.
|
virtualdefault |

|
pure virtual |
DEPRECATED (Replaced by the following method with an extended interface) Going to be removed with the upcoming major release.
Get all the pending transactions associated with request originator
| account_id | - query creator |
Implemented in iroha::PendingTransactionStorageImpl.

|
pure virtual |
Fetch pending transactions associated with request originator
| account_id | - query creator |
| page_size | - requested page size |
| first_tx_hash | - an optional hash of the first transaction in the batch that will be the starting point of returned transactions sequence |
|
pure virtual |
Stores TxPresenceCache ref, for checks.
| cache | - ref to the stored object. |
Implemented in iroha::PendingTransactionStorageImpl.
