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::Logger log=logger::log("MstProcessor"))

Protected Attributes

logger::Logger log_

Detailed Description

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

Constructor & Destructor Documentation

virtual iroha::MstProcessor::~MstProcessor ( )
iroha::MstProcessor::MstProcessor ( logger::Logger  log = logger::log("MstProcessor"))

Member Function Documentation

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

Check, if passed batch is in pending storage

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

Observable emit expired by time transactions

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

Observable emit batches which are prepared for further processing in system

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

Prove updating of state for handling status of signing

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

Propagate batch in network for signing by other participants

transaction- transaction for propagation

Member Data Documentation

logger::Logger iroha::MstProcessor::log_

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