6 #ifndef IROHA_TRANSACTION_PROCESSOR_STUB_HPP 7 #define IROHA_TRANSACTION_PROCESSOR_STUB_HPP 13 #include <rxcpp/rx-lite.hpp> 35 std::shared_ptr<network::PeerCommunicationService> pcs,
36 std::shared_ptr<MstProcessor> mst_processor,
37 std::shared_ptr<iroha::torii::StatusBus> status_bus,
38 std::shared_ptr<shared_model::interface::TxStatusFactory>
41 std::shared_ptr<const shared_model::interface::Block>> commits,
45 std::shared_ptr<shared_model::interface::TransactionBatch>
46 transaction_batch)
const override;
50 std::shared_ptr<network::PeerCommunicationService> pcs_;
53 std::shared_ptr<MstProcessor> mst_processor_;
55 std::shared_ptr<iroha::torii::StatusBus> status_bus_;
58 rxcpp::subjects::subject<
59 std::shared_ptr<shared_model::interface::TransactionResponse>>
63 std::vector<shared_model::interface::types::HashType> current_txs_hashes_;
66 std::shared_ptr<shared_model::interface::TxStatusFactory> status_factory_;
74 enum class TxStatusType {
84 kEnoughSignaturesCollected
92 void publishStatus(TxStatusType tx_status,
102 void publishEnoughSignaturesStatus(
109 #endif // IROHA_TRANSACTION_PROCESSOR_STUB_HPP Definition: transaction_processor_impl.hpp:24
Definition: transaction_processor.hpp:23
TransactionProcessorImpl(std::shared_ptr< network::PeerCommunicationService > pcs, std::shared_ptr< MstProcessor > mst_processor, std::shared_ptr< iroha::torii::StatusBus > status_bus, std::shared_ptr< shared_model::interface::TxStatusFactory > status_factory, rxcpp::observable< std::shared_ptr< const shared_model::interface::Block >> commits, logger::LoggerPtr log)
Definition: transaction_processor_impl.cpp:47
Definition: command_client.hpp:16
std::shared_ptr< Logger > LoggerPtr
Definition: logger_fwd.hpp:22
Definition: block_query.hpp:15
hash256_t hash(const T &pb)
Definition: pb_common.hpp:43
Definition: stateful_validator_common.hpp:30
std::vector< std::shared_ptr< Transaction > > SharedTxsCollectionType
Definition: transaction_sequence_common.hpp:27
void batchHandle(std::shared_ptr< shared_model::interface::TransactionBatch > transaction_batch) const override
Definition: transaction_processor_impl.cpp:123