#include "pending_txs_storage_impl.hpp"


Public Types | |
| using | AccountIdType = shared_model::interface::types::AccountIdType |
| using | HashType = shared_model::interface::types::HashType |
| using | SharedTxsCollectionType = shared_model::interface::types::SharedTxsCollectionType |
| using | TransactionBatch = shared_model::interface::TransactionBatch |
| using | SharedState = std::shared_ptr< MstState > |
| using | SharedBatch = std::shared_ptr< TransactionBatch > |
| using | StateObservable = rxcpp::observable< SharedState > |
| using | BatchObservable = rxcpp::observable< SharedBatch > |
| using | PreparedTransactionDescriptor = std::pair< AccountIdType, HashType > |
| using | PreparedTransactionsObservable = rxcpp::observable< PreparedTransactionDescriptor > |
| using | FinalizedTransactionsObservable = rxcpp::observable< HashType > |
Public Types inherited from iroha::PendingTransactionStorage | |
| enum | ErrorCode { kNotFound } |
Static Public Member Functions | |
| static std::shared_ptr< PendingTransactionStorageImpl > | create (StateObservable updated_batches, BatchObservable prepared_batch, BatchObservable expired_batch, PreparedTransactionsObservable prepared_txs, FinalizedTransactionsObservable finalized_txs) |
| using iroha::PendingTransactionStorageImpl::AccountIdType = shared_model::interface::types::AccountIdType |
| using iroha::PendingTransactionStorageImpl::BatchObservable = rxcpp::observable<SharedBatch> |
| using iroha::PendingTransactionStorageImpl::FinalizedTransactionsObservable = rxcpp::observable<HashType> |
| using iroha::PendingTransactionStorageImpl::PreparedTransactionDescriptor = std::pair<AccountIdType, HashType> |
| using iroha::PendingTransactionStorageImpl::PreparedTransactionsObservable = rxcpp::observable<PreparedTransactionDescriptor> |
| using iroha::PendingTransactionStorageImpl::SharedBatch = std::shared_ptr<TransactionBatch> |
| using iroha::PendingTransactionStorageImpl::SharedState = std::shared_ptr<MstState> |
| using iroha::PendingTransactionStorageImpl::SharedTxsCollectionType = shared_model::interface::types::SharedTxsCollectionType |
| using iroha::PendingTransactionStorageImpl::StateObservable = rxcpp::observable<SharedState> |
| using iroha::PendingTransactionStorageImpl::TransactionBatch = shared_model::interface::TransactionBatch |
| iroha::PendingTransactionStorageImpl::PendingTransactionStorageImpl | ( | PendingTransactionStorageImpl::private_tag | ) |
|
delete |
|
static |


|
overridevirtual |
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 |
Implements iroha::PendingTransactionStorage.
|
override |

|
overridevirtual |
Stores TxPresenceCache ref, for checks.
| cache | - ref to the stored object. |
Implements iroha::PendingTransactionStorage.

|
delete |