hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::consensus::yac::YacNetworkNotifications Class Referenceabstract

#include "yac_network_interface.hpp"

Inheritance diagram for iroha::consensus::yac::YacNetworkNotifications:
Inheritance graph
Collaboration diagram for iroha::consensus::yac::YacNetworkNotifications:
Collaboration graph

Public Member Functions

virtual std::optional< AnsweronState (std::vector< VoteMessage > state)=0
 
virtual ~YacNetworkNotifications ()=default
 

Constructor & Destructor Documentation

◆ ~YacNetworkNotifications()

virtual iroha::consensus::yac::YacNetworkNotifications::~YacNetworkNotifications ( )
virtualdefault

Member Function Documentation

◆ onState()

virtual std::optional<Answer> iroha::consensus::yac::YacNetworkNotifications::onState ( std::vector< VoteMessage state)
pure virtual

Callback on receiving collection of votes

Parameters
state- provided message

Implemented in iroha::consensus::yac::Yac.


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