hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
yac_common.hpp File Reference
#include <vector>
#include <boost/optional.hpp>
#include "consensus/round.hpp"
Include dependency graph for yac_common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 iroha
 
 iroha::consensus
 
 iroha::consensus::yac
 

Typedefs

using iroha::consensus::yac::ProposalHash = std::string
 
using iroha::consensus::yac::BlockHash = std::string
 

Functions

bool iroha::consensus::yac::sameKeys (const std::vector< VoteMessage > &votes)
 
boost::optional< Round > iroha::consensus::yac::getKey (const std::vector< VoteMessage > &votes)
 
boost::optional< YacHash > iroha::consensus::yac::getHash (const std::vector< VoteMessage > &votes)