hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::torii::TransactionProcessorImpl Class Reference

#include "transaction_processor_impl.hpp"

Inheritance diagram for iroha::torii::TransactionProcessorImpl:
Inheritance graph
Collaboration diagram for iroha::torii::TransactionProcessorImpl:
Collaboration graph

Public Member Functions

 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)
 
void batchHandle (std::shared_ptr< shared_model::interface::TransactionBatch > transaction_batch) const override
 
- Public Member Functions inherited from iroha::torii::TransactionProcessor
virtual ~TransactionProcessor ()=default
 

Constructor & Destructor Documentation

iroha::torii::TransactionProcessorImpl::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 
)
Parameters
pcs- provide information proposals and commits
mst_processoris a handler for multisignature transactions
status_busis a common notifier for tx statuses
status_factorycreates transaction statuses
commits- an observable on committed blocks
logto print the progress

Here is the call graph for this function:

Member Function Documentation

void iroha::torii::TransactionProcessorImpl::batchHandle ( std::shared_ptr< shared_model::interface::TransactionBatch transaction_batch) const
overridevirtual

Process batch and propagate it to the MST or PCS

Parameters
transaction_batch- transaction batch for processing

Implements iroha::torii::TransactionProcessor.

Here is the call graph for this function:


The documentation for this class was generated from the following files: