hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::consensus::Round Struct Reference

#include "round.hpp"

Inheritance diagram for iroha::consensus::Round:
Inheritance graph
Collaboration diagram for iroha::consensus::Round:
Collaboration graph

Public Member Functions

 Round ()=default
 
 Round (BlockRoundType block_r, RejectRoundType reject_r)
 
bool operator< (const Round &rhs) const
 
bool operator== (const Round &rhs) const
 
bool operator!= (const Round &rhs) const
 
std::string toString () const
 

Public Attributes

BlockRoundType block_round
 
RejectRoundType reject_round
 

Detailed Description

Type of proposal round

Constructor & Destructor Documentation

◆ Round() [1/2]

iroha::consensus::Round::Round ( )
default

◆ Round() [2/2]

iroha::consensus::Round::Round ( BlockRoundType  block_r,
RejectRoundType  reject_r 
)

Member Function Documentation

◆ operator!=()

bool iroha::consensus::Round::operator!= ( const Round rhs) const

◆ operator<()

bool iroha::consensus::Round::operator< ( const Round rhs) const

◆ operator==()

bool iroha::consensus::Round::operator== ( const Round rhs) const

◆ toString()

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

Member Data Documentation

◆ block_round

BlockRoundType iroha::consensus::Round::block_round

◆ reject_round

RejectRoundType iroha::consensus::Round::reject_round

The documentation for this struct was generated from the following files: