Kagome
Polkadot Runtime Engine in C++17
transactions_transmitter.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_NETWORK_TRANSACTIONSTRANSMITTER
7 #define KAGOME_NETWORK_TRANSACTIONSTRANSMITTER
8 
10 
12 
13 namespace kagome::network {
18  public:
19  virtual ~TransactionsTransmitter() = default;
20 
25  virtual void propagateTransactions(
26  gsl::span<const primitives::Transaction> txs) = 0;
27  };
28 } // namespace kagome::network
29 
30 #endif // KAGOME_NETWORK_TRANSACTIONSTRANSMITTER
virtual void propagateTransactions(gsl::span< const primitives::Transaction > txs)=0