Iroha - A simple, decentralized ledger http://iroha.tech
iroha::network::MstTransportNotification Class Referenceabstract

#include "mst_transport.hpp"

Inheritance diagram for iroha::network::MstTransportNotification:
Inheritance graph
Collaboration diagram for iroha::network::MstTransportNotification:
Collaboration graph

Public Member Functions

virtual void onNewState (const shared_model::crypto::PublicKey &from, const MstState &new_state)=0
virtual ~MstTransportNotification ()=default

Detailed Description

Interface represents handler for multi-signature notifications

Constructor & Destructor Documentation

virtual iroha::network::MstTransportNotification::~MstTransportNotification ( )

Member Function Documentation

virtual void iroha::network::MstTransportNotification::onNewState ( const shared_model::crypto::PublicKey from,
const MstState new_state 
pure virtual

Handler method for updating state, when new data received

from- key of the peer emitted the state
new_state- state propagated from peer

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