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

#include "unsafe_proposal_factory.hpp"

Inheritance diagram for shared_model::interface::UnsafeProposalFactory:
Inheritance graph
Collaboration diagram for shared_model::interface::UnsafeProposalFactory:
Collaboration graph

Public Types

using TransactionsCollectionType = boost::any_range< Transaction, boost::forward_traversal_tag, const Transaction & >
 

Public Member Functions

virtual std::unique_ptr< ProposalunsafeCreateProposal (types::HeightType height, types::TimestampType created_time, TransactionsCollectionType transactions)=0
 
virtual ~UnsafeProposalFactory ()=default
 

Detailed Description

UnsafeProposalFactory creates proposal without stateless validation

Member Typedef Documentation

using shared_model::interface::UnsafeProposalFactory::TransactionsCollectionType = boost::any_range<Transaction, boost::forward_traversal_tag, const Transaction &>

Constructor & Destructor Documentation

virtual shared_model::interface::UnsafeProposalFactory::~UnsafeProposalFactory ( )
virtualdefault

Member Function Documentation

virtual std::unique_ptr<Proposal> shared_model::interface::UnsafeProposalFactory::unsafeCreateProposal ( types::HeightType  height,
types::TimestampType  created_time,
TransactionsCollectionType  transactions 
)
pure virtual

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