Kagome
Polkadot Runtime Engine in C++17
kagome::network::TransactionsTransmitterImpl Class Referencefinal

#include <transactions_transmitter_impl.hpp>

Inheritance diagram for kagome::network::TransactionsTransmitterImpl:
Collaboration diagram for kagome::network::TransactionsTransmitterImpl:

Public Member Functions

 TransactionsTransmitterImpl (std::shared_ptr< Router > router)
 
void propagateTransactions (gsl::span< const primitives::Transaction > txs) override
 
- Public Member Functions inherited from kagome::network::TransactionsTransmitter
virtual ~TransactionsTransmitter ()=default
 

Private Attributes

std::shared_ptr< Routerrouter_
 

Detailed Description

Definition at line 14 of file transactions_transmitter_impl.hpp.

Constructor & Destructor Documentation

kagome::network::TransactionsTransmitterImpl::TransactionsTransmitterImpl ( std::shared_ptr< Router router)

Definition at line 12 of file transactions_transmitter_impl.cpp.

Member Function Documentation

void kagome::network::TransactionsTransmitterImpl::propagateTransactions ( gsl::span< const primitives::Transaction txs)
overridevirtual

Send Transactions message

Parameters
txs- list of transaction to be sent

Implements kagome::network::TransactionsTransmitter.

Definition at line 16 of file transactions_transmitter_impl.cpp.

Member Data Documentation

std::shared_ptr<Router> kagome::network::TransactionsTransmitterImpl::router_
private

Definition at line 22 of file transactions_transmitter_impl.hpp.


The documentation for this class was generated from the following files: