Kagome
Polkadot Runtime Engine in C++17
transactions_transmitter_impl.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_NETWORK_TRANSACTIONSTRANSMITTERIMPL
7 #define KAGOME_NETWORK_TRANSACTIONSTRANSMITTERIMPL
8 
10 
11 namespace kagome::network {
12  class Router;
13 
15  public:
16  TransactionsTransmitterImpl(std::shared_ptr<Router> router);
17 
19  gsl::span<const primitives::Transaction> txs) override;
20 
21  private:
22  std::shared_ptr<Router> router_;
23  };
24 
25 } // namespace kagome::network
26 
27 #endif // KAGOME_NETWORK_TRANSACTIONSTRANSMITTERIMPL
void propagateTransactions(gsl::span< const primitives::Transaction > txs) override
TransactionsTransmitterImpl(std::shared_ptr< Router > router)