#include "peer_communication_service.hpp"


Public Member Functions | |
| virtual void | propagate_batch (std::shared_ptr< shared_model::interface::TransactionBatch > batch) const =0 |
| virtual rxcpp::observable< OrderingEvent > | onProposal () const =0 |
| virtual rxcpp::observable< simulator::VerifiedProposalCreatorEvent > | onVerifiedProposal () const =0 |
| virtual rxcpp::observable< synchronizer::SynchronizationEvent > | onSynchronization () const =0 |
| virtual | ~PeerCommunicationService ()=default |
Public API for notification about domain data
|
virtualdefault |
|
pure virtual |
Event is triggered when proposal arrives from network.
Implemented in iroha::network::PeerCommunicationServiceImpl.
|
pure virtual |
Event is triggered when commit block arrives.
Implemented in iroha::network::PeerCommunicationServiceImpl.
|
pure virtual |
Event is triggered when verified proposal arrives
Implemented in iroha::network::PeerCommunicationServiceImpl.
|
pure virtual |
Propagate batch to the network
| batch | - batch for propagation |
Implemented in iroha::network::PeerCommunicationServiceImpl.