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 
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 
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
Definition: peer_communication_service.hpp:24
Definition: block_query.hpp:15
Definition: command_executor.hpp:13