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

#include "block_creator.hpp"

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

Public Member Functions

virtual BlockCreatorEvent processVerifiedProposal (VerifiedProposalCreatorEvent const &event)=0
 
virtual ~BlockCreator ()=default
 

Detailed Description

Interface for creating blocks from proposal

Constructor & Destructor Documentation

◆ ~BlockCreator()

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

Member Function Documentation

◆ processVerifiedProposal()

virtual BlockCreatorEvent iroha::simulator::BlockCreator::processVerifiedProposal ( VerifiedProposalCreatorEvent const &  event)
pure virtual

Creates a block from given proposal and top block info

Implemented in iroha::simulator::Simulator.


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