hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::MstProcessor Class Referenceabstract

#include "mst_processor.hpp"

Inheritance diagram for iroha::MstProcessor:
Inheritance graph
Collaboration diagram for iroha::MstProcessor:
Collaboration graph

Public Member Functions

void propagateBatch (const DataType &batch)
 
bool batchInStorage (const DataType &batch) const
 
rxcpp::observable< std::shared_ptr< MstState > > onStateUpdate () const
 
rxcpp::observable< DataTypeonPreparedBatches () const
 
rxcpp::observable< DataTypeonExpiredBatches () const
 
virtual ~MstProcessor ()=default
 

Protected Member Functions

 MstProcessor (logger::LoggerPtr log)
 

Protected Attributes

logger::LoggerPtr log_
 

Detailed Description

MstProcessor is responsible for organization of sharing multi-signature transactions in network

Constructor & Destructor Documentation

virtual iroha::MstProcessor::~MstProcessor ( )
virtualdefault
iroha::MstProcessor::MstProcessor ( logger::LoggerPtr  log)
explicitprotected

Member Function Documentation

bool iroha::MstProcessor::batchInStorage ( const DataType batch) const

Check, if passed batch is in pending storage

Parameters
batchto be checked
Returns
true, if batch is already in pending storage, false otherwise
rxcpp::observable< DataType > iroha::MstProcessor::onExpiredBatches ( ) const

Observable emit expired by time transactions

Here is the caller graph for this function:

rxcpp::observable< DataType > iroha::MstProcessor::onPreparedBatches ( ) const

Observable emit batches which are prepared for further processing in system

Here is the caller graph for this function:

rxcpp::observable< std::shared_ptr< MstState > > iroha::MstProcessor::onStateUpdate ( ) const

Prove updating of state for handling status of signing

Here is the caller graph for this function:

void iroha::MstProcessor::propagateBatch ( const DataType batch)

Propagate batch in network for signing by other participants

Parameters
transaction- transaction for propagation

Member Data Documentation

logger::LoggerPtr iroha::MstProcessor::log_
protected

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