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

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

Member Function Documentation

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

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

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

Peer signature of block

VoteHashes iroha::consensus::yac::YacHash::vote_hashes
Round iroha::consensus::yac::YacHash::vote_round

Round, in which peer voted


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