Kagome
Polkadot Runtime Engine in C++17
block_announce_transmitter_impl.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_NETWORK_BLOCKANNOUNCETRANSMITTERIMPL
7 #define KAGOME_NETWORK_BLOCKANNOUNCETRANSMITTERIMPL
8 
10 
11 namespace kagome::network {
12  class Router;
13 
15  public:
16  BlockAnnounceTransmitterImpl(std::shared_ptr<Router> router);
17 
18  void blockAnnounce(BlockAnnounce &&announce) override;
19 
20  private:
21  std::shared_ptr<Router> router_;
22  };
23 
24 } // namespace kagome::network
25 
26 #endif // KAGOME_NETWORK_BLOCKANNOUNCETRANSMITTERIMPL