#include "peer_orderer_impl.hpp"
boost::optional< ClusterOrdering > iroha::consensus::yac::PeerOrdererImpl::getInitialOrdering |
( |
| ) |
|
|
overridevirtual |
boost::optional< ClusterOrdering > iroha::consensus::yac::PeerOrdererImpl::getOrdering |
( |
const YacHash & |
hash | ) |
|
|
overridevirtual |
Provide order of peers based on hash and initial order of peers
- Parameters
-
hash | - hash-object that used as seed of ordering shuffle |
- Returns
- shuffled cluster order
Implements iroha::consensus::yac::YacPeerOrderer.
The documentation for this class was generated from the following files: