Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
extrinsic_observer_impl.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_NETWORK_IMPL_EXTRINSIC_OBSERVER_IMPL_HPP
7
#define KAGOME_CORE_NETWORK_IMPL_EXTRINSIC_OBSERVER_IMPL_HPP
8
9
#include "
network/extrinsic_observer.hpp
"
10
11
#include "
log/logger.hpp
"
12
13
namespace
kagome::transaction_pool
{
14
class
TransactionPool;
15
}
16
17
namespace
kagome::network
{
18
19
class
ExtrinsicObserverImpl
:
public
ExtrinsicObserver
{
20
public
:
21
explicit
ExtrinsicObserverImpl
(
22
std::shared_ptr<kagome::transaction_pool::TransactionPool> pool);
23
24
outcome::result<common::Hash256> onTxMessage(
25
const
primitives::Extrinsic
&extrinsic)
override
;
26
27
private
:
28
std::shared_ptr<kagome::transaction_pool::TransactionPool>
pool_
;
29
log::Logger
logger_
;
30
};
31
32
}
// namespace kagome::network
33
34
#endif // KAGOME_CORE_NETWORK_IMPL_EXTRINSIC_OBSERVER_IMPL_HPP
kagome::network::ExtrinsicObserverImpl::logger_
log::Logger logger_
Definition:
extrinsic_observer_impl.hpp:29
kagome::network::ExtrinsicObserver
Definition:
extrinsic_observer.hpp:21
logger.hpp
kagome::network::ExtrinsicObserverImpl
Definition:
extrinsic_observer_impl.hpp:19
kagome::network::ExtrinsicObserverImpl::pool_
std::shared_ptr< kagome::transaction_pool::TransactionPool > pool_
Definition:
extrinsic_observer_impl.hpp:28
kagome::log::Logger
std::shared_ptr< soralog::Logger > Logger
Definition:
logger.hpp:23
extrinsic_observer.hpp
kagome::primitives::Extrinsic
Extrinsic class represents extrinsic.
Definition:
extrinsic.hpp:24
kagome::network
Definition:
author_api_impl.hpp:37
kagome::transaction_pool
Definition:
author_api_impl.hpp:46
core
network
impl
extrinsic_observer_impl.hpp
Generated by
1.8.11