hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
yac.cpp File Reference
#include "consensus/yac/yac.hpp"
#include <utility>
#include <boost/algorithm/string/join.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include "common/bind.hpp"
#include "common/visitor.hpp"
#include "consensus/yac/cluster_order.hpp"
#include "consensus/yac/storage/yac_proposal_storage.hpp"
#include "consensus/yac/timer.hpp"
#include "consensus/yac/yac_crypto_provider.hpp"
#include "interfaces/common_objects/peer.hpp"
#include "logger/logger.hpp"
Include dependency graph for yac.cpp:

Functions

auto & getRound (const std::vector< iroha::consensus::yac::VoteMessage > &state)
 
template<typename T , typename P >
void removeMatching (std::vector< T > &target, const P &predicate)
 
template<typename CollectionType , typename ElementType >
bool contains (const CollectionType &haystack, const ElementType &needle)
 

Function Documentation

◆ contains()

template<typename CollectionType , typename ElementType >
bool contains ( const CollectionType &  haystack,
const ElementType &  needle 
)
Here is the call graph for this function:

◆ getRound()

auto& getRound ( const std::vector< iroha::consensus::yac::VoteMessage > &  state)

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Here is the caller graph for this function:

◆ removeMatching()

template<typename T , typename P >
void removeMatching ( std::vector< T > &  target,
const P &  predicate 
)
Here is the caller graph for this function: