6 #ifndef IROHA_TRANSACTION_PROCESSOR_STUB_HPP 7 #define IROHA_TRANSACTION_PROCESSOR_STUB_HPP 32 std::shared_ptr<network::PeerCommunicationService> pcs,
33 std::shared_ptr<MstProcessor> mst_processor,
34 std::shared_ptr<iroha::torii::StatusBus> status_bus,
35 std::shared_ptr<shared_model::interface::TxStatusFactory>
40 std::shared_ptr<shared_model::interface::TransactionBatch>
41 transaction_batch)
const override;
47 std::shared_ptr<const shared_model::interface::Block>
const &block)
53 std::shared_ptr<shared_model::interface::TransactionBatch>
const 57 std::shared_ptr<shared_model::interface::TransactionBatch>
const 62 std::shared_ptr<network::PeerCommunicationService> pcs_;
65 std::shared_ptr<MstProcessor> mst_processor_;
67 std::shared_ptr<iroha::torii::StatusBus> status_bus_;
70 std::vector<shared_model::interface::types::HashType> current_txs_hashes_;
73 std::shared_ptr<shared_model::interface::TxStatusFactory> status_factory_;
81 enum class TxStatusType {
91 kEnoughSignaturesCollected
99 void publishStatus(TxStatusType tx_status,
109 void publishEnoughSignaturesStatus(
116 #endif // IROHA_TRANSACTION_PROCESSOR_STUB_HPP Definition: transaction_processor_impl.hpp:22
Definition: transaction_processor.hpp:28
void processCommit(std::shared_ptr< const shared_model::interface::Block > const &block) override
Definition: transaction_processor_impl.cpp:101
Definition: command_client.hpp:16
void processStateUpdate(std::shared_ptr< MstState > const &state) override
Definition: transaction_processor_impl.cpp:115
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, logger::LoggerPtr log)
Definition: transaction_processor_impl.cpp:49
void processPreparedBatch(std::shared_ptr< shared_model::interface::TransactionBatch > const &batch) override
Definition: transaction_processor_impl.cpp:123
std::shared_ptr< Logger > LoggerPtr
Definition: logger_fwd.hpp:22
Definition: block_query.hpp:15
void processExpiredBatch(std::shared_ptr< shared_model::interface::TransactionBatch > const &batch) override
Definition: transaction_processor_impl.cpp:131
hash256_t hash(const T &pb)
Definition: pb_common.hpp:43
void processVerifiedProposalCreatorEvent(simulator::VerifiedProposalCreatorEvent const &event) override
Definition: transaction_processor_impl.cpp:77
Definition: stateful_validator_common.hpp:30
std::vector< std::shared_ptr< Transaction > > SharedTxsCollectionType
Definition: transaction_sequence_common.hpp:27
Definition: verified_proposal_creator_common.hpp:21
void batchHandle(std::shared_ptr< shared_model::interface::TransactionBatch > transaction_batch) const override
Definition: transaction_processor_impl.cpp:62