Kagome
Polkadot Runtime Engine in C++17
kagome::network::ExtrinsicObserverImpl Class Reference

#include <extrinsic_observer_impl.hpp>

Inheritance diagram for kagome::network::ExtrinsicObserverImpl:
Collaboration diagram for kagome::network::ExtrinsicObserverImpl:

Public Member Functions

 ExtrinsicObserverImpl (std::shared_ptr< kagome::transaction_pool::TransactionPool > pool)
 
outcome::result< common::Hash256onTxMessage (const primitives::Extrinsic &extrinsic) override
 
- Public Member Functions inherited from kagome::network::ExtrinsicObserver
virtual ~ExtrinsicObserver ()=default
 

Private Attributes

std::shared_ptr< kagome::transaction_pool::TransactionPoolpool_
 
log::Logger logger_
 

Detailed Description

Definition at line 19 of file extrinsic_observer_impl.hpp.

Constructor & Destructor Documentation

kagome::network::ExtrinsicObserverImpl::ExtrinsicObserverImpl ( std::shared_ptr< kagome::transaction_pool::TransactionPool pool)
explicit

Definition at line 13 of file extrinsic_observer_impl.cpp.

Member Function Documentation

outcome::result< common::Hash256 > kagome::network::ExtrinsicObserverImpl::onTxMessage ( const primitives::Extrinsic extrinsic)
overridevirtual

Implements kagome::network::ExtrinsicObserver.

Definition at line 19 of file extrinsic_observer_impl.cpp.

Member Data Documentation

log::Logger kagome::network::ExtrinsicObserverImpl::logger_
private

Definition at line 29 of file extrinsic_observer_impl.hpp.

std::shared_ptr<kagome::transaction_pool::TransactionPool> kagome::network::ExtrinsicObserverImpl::pool_
private

Definition at line 28 of file extrinsic_observer_impl.hpp.


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