hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::consensus::yac::YacHash Class Reference

#include "yac_hash_provider.hpp"

Collaboration diagram for iroha::consensus::yac::YacHash:
Collaboration graph

Classes

struct  VoteHashes
 

Public Member Functions

 YacHash (Round round, ProposalHash proposal, BlockHash block)
 
 YacHash ()=default
 
bool operator== (const YacHash &obj) const
 
bool operator!= (const YacHash &obj) const
 
std::string toString () const
 

Public Attributes

Round vote_round
 
VoteHashes vote_hashes
 
std::shared_ptr< shared_model::interface::Signatureblock_signature
 

Constructor & Destructor Documentation

◆ YacHash() [1/2]

iroha::consensus::yac::YacHash::YacHash ( Round  round,
ProposalHash  proposal,
BlockHash  block 
)
inline

◆ YacHash() [2/2]

iroha::consensus::yac::YacHash::YacHash ( )
default

Member Function Documentation

◆ operator!=()

bool iroha::consensus::yac::YacHash::operator!= ( const YacHash obj) const
inline

◆ operator==()

bool iroha::consensus::yac::YacHash::operator== ( const YacHash obj) const
inline

◆ toString()

std::string iroha::consensus::yac::YacHash::toString ( ) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ block_signature

std::shared_ptr<shared_model::interface::Signature> iroha::consensus::yac::YacHash::block_signature

Peer signature of block

◆ vote_hashes

VoteHashes iroha::consensus::yac::YacHash::vote_hashes

◆ vote_round

Round iroha::consensus::yac::YacHash::vote_round

Round, in which peer voted


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