hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
ordering_gate.hpp
Go to the documentation of this file.
1
6
#ifndef IROHA_ORDERING_GATE_HPP
7
#define IROHA_ORDERING_GATE_HPP
8
9
#include <memory>
10
11
#include "
network/ordering_gate_common.hpp
"
12
#include "
network/peer_communication_service.hpp
"
13
14
namespace
shared_model
{
15
namespace
interface {
16
class
Proposal;
17
class
TransactionBatch;
18
}
// namespace interface
19
}
// namespace shared_model
20
21
namespace
iroha
{
22
namespace
network {
23
27
class
OrderingGate
{
28
public
:
33
virtual
void
propagateBatch(
34
std::shared_ptr<shared_model::interface::TransactionBatch> batch) = 0;
35
36
virtual
~
OrderingGate
() =
default
;
37
39
virtual
void
stop() = 0;
40
};
41
}
// namespace network
42
}
// namespace iroha
43
44
#endif // IROHA_ORDERING_GATE_HPP
iroha::network::OrderingGate
Definition:
ordering_gate.hpp:27
ordering_gate_common.hpp
iroha
Definition:
block_query.hpp:15
peer_communication_service.hpp
shared_model
Definition:
command_executor.hpp:13
irohad
network
ordering_gate.hpp
Generated by
1.8.13