hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
peer_communication_service_impl.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PEER_COMMUNICATION_SERVICE_IMPL_HPP
7 #define IROHA_PEER_COMMUNICATION_SERVICE_IMPL_HPP
8 
10 
11 #include "logger/logger_fwd.hpp"
12 
13 namespace iroha {
14  namespace network {
15  class OrderingGate;
16 
18  public:
19  PeerCommunicationServiceImpl(std::shared_ptr<OrderingGate> ordering_gate,
20  logger::LoggerPtr log);
21 
22  void propagate_batch(
23  std::shared_ptr<shared_model::interface::TransactionBatch> batch)
24  const override;
25 
26  private:
27  std::shared_ptr<OrderingGate> ordering_gate_;
28  logger::LoggerPtr log_;
29  };
30  } // namespace network
31 } // namespace iroha
32 
33 #endif // IROHA_PEER_COMMUNICATION_SERVICE_IMPL_HPP
Definition: peer_communication_service.hpp:24
void propagate_batch(std::shared_ptr< shared_model::interface::TransactionBatch > batch) const override
Definition: peer_communication_service_impl.cpp:18
Definition: peer_communication_service_impl.hpp:17
std::shared_ptr< Logger > LoggerPtr
Definition: logger_fwd.hpp:22
Definition: block_query.hpp:15
PeerCommunicationServiceImpl(std::shared_ptr< OrderingGate > ordering_gate, logger::LoggerPtr log)
Definition: peer_communication_service_impl.cpp:14