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

#include "verified_proposal_creator.hpp"

Inheritance diagram for iroha::simulator::VerifiedProposalCreator:
Inheritance graph
Collaboration diagram for iroha::simulator::VerifiedProposalCreator:
Collaboration graph

Public Member Functions

virtual boost::optional< std::shared_ptr< validation::VerifiedProposalAndErrors > > processProposal (const shared_model::interface::Proposal &proposal)=0
 
virtual rxcpp::observable< VerifiedProposalCreatorEventonVerifiedProposal ()=0
 
virtual ~VerifiedProposalCreator ()=default
 

Detailed Description

Interface for providing proposal validation

Constructor & Destructor Documentation

virtual iroha::simulator::VerifiedProposalCreator::~VerifiedProposalCreator ( )
virtualdefault

Member Function Documentation

virtual rxcpp::observable<VerifiedProposalCreatorEvent> iroha::simulator::VerifiedProposalCreator::onVerifiedProposal ( )
pure virtual

Emit proposals which were verified by stateful validator

Implemented in iroha::simulator::Simulator.

virtual boost::optional< std::shared_ptr<validation::VerifiedProposalAndErrors> > iroha::simulator::VerifiedProposalCreator::processProposal ( const shared_model::interface::Proposal proposal)
pure virtual

Execute stateful validation for given proposal

Implemented in iroha::simulator::Simulator.


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