hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
peer_communication_service.hpp
Go to the documentation of this file.
1
6
#ifndef IROHA_PEER_COMMUNICATION_SERVICE_HPP
7
#define IROHA_PEER_COMMUNICATION_SERVICE_HPP
8
9
#include "
network/ordering_gate_common.hpp
"
10
11
namespace
shared_model
{
12
namespace
interface {
13
class
Proposal;
14
class
TransactionBatch;
15
}
// namespace interface
16
}
// namespace shared_model
17
18
namespace
iroha
{
19
namespace
network {
20
24
class
PeerCommunicationService
{
25
public
:
30
virtual
void
propagate_batch(
31
std::shared_ptr<shared_model::interface::TransactionBatch> batch)
32
const
= 0;
33
34
virtual
~
PeerCommunicationService
() =
default
;
35
};
36
37
}
// namespace network
38
}
// namespace iroha
39
40
#endif // IROHA_PEER_COMMUNICATION_SERVICE_HPP
ordering_gate_common.hpp
iroha::network::PeerCommunicationService
Definition:
peer_communication_service.hpp:24
iroha
Definition:
block_query.hpp:15
shared_model
Definition:
command_executor.hpp:13
irohad
network
peer_communication_service.hpp
Generated by
1.8.13