6 #ifndef IROHA_PENDING_TRANSACTION_STORAGE_INIT_HPP 7 #define IROHA_PENDING_TRANSACTION_STORAGE_INIT_HPP 11 #include <rxcpp/rx-lite.hpp> 16 class TransactionBatch;
24 class PendingTransactionStorage;
27 class PeerCommunicationService;
34 std::shared_ptr<PendingTransactionStorage>
35 createPendingTransactionsStorage();
37 void setMstSubscriptions(
const MstProcessor &mst_processor);
39 void setFinalizedTxsSubscription(
40 rxcpp::observable<shared_model::interface::types::HashType>
48 rxcpp::subjects::subject<
49 std::shared_ptr<shared_model::interface::TransactionBatch>>
51 rxcpp::subjects::subject<
52 std::shared_ptr<shared_model::interface::TransactionBatch>>
54 rxcpp::subjects::subject<
58 rxcpp::subjects::subject<shared_model::interface::types::HashType>
63 #endif // IROHA_PENDING_TRANSACTION_STORAGE_INIT_HPP rxcpp::subjects::subject< std::shared_ptr< shared_model::interface::TransactionBatch > > prepared_batch
Definition: pending_transaction_storage_init.hpp:50
rxcpp::subjects::subject< std::shared_ptr< shared_model::interface::TransactionBatch > > expired_batch
Definition: pending_transaction_storage_init.hpp:53
rxcpp::subjects::subject< std::pair< shared_model::interface::types::AccountIdType, shared_model::interface::types::HashType > > prepared_txs
Definition: pending_transaction_storage_init.hpp:57
Definition: pending_transaction_storage_init.hpp:30
Definition: block_query.hpp:15
std::string AccountIdType
Type of account id.
Definition: types.hpp:38
Definition: mst_processor.hpp:22
rxcpp::subjects::subject< shared_model::interface::types::HashType > finalized_txs
Definition: pending_transaction_storage_init.hpp:59
rxcpp::composite_subscription pending_storage_lifetime
Definition: pending_transaction_storage_init.hpp:46
Definition: command_executor.hpp:12
rxcpp::subjects::subject< std::shared_ptr< iroha::MstState > > updated_batches
Definition: pending_transaction_storage_init.hpp:47