Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
extrinsic_observer.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_NETWORK_EXTRINSIC_OBSERVER_HPP
7
#define KAGOME_CORE_NETWORK_EXTRINSIC_OBSERVER_HPP
8
9
#include "
common/blob.hpp
"
10
#include "
outcome/outcome.hpp
"
11
12
namespace
kagome::api
{
13
class
AuthorApi;
14
}
15
namespace
kagome::primitives
{
16
struct
Extrinsic;
17
}
18
19
namespace
kagome::network
{
20
21
class
ExtrinsicObserver
{
22
public
:
23
virtual
~
ExtrinsicObserver
() =
default
;
24
25
virtual
outcome::result<common::Hash256> onTxMessage(
26
const
primitives::Extrinsic
&extrinsic) = 0;
27
};
28
29
}
// namespace kagome::network
30
31
#endif // KAGOME_CORE_NETWORK_EXTRINSIC_OBSERVER_HPP
kagome::network::ExtrinsicObserver
Definition:
extrinsic_observer.hpp:21
outcome.hpp
kagome::primitives
Definition:
author_api.hpp:19
blob.hpp
kagome::primitives::Extrinsic
Extrinsic class represents extrinsic.
Definition:
extrinsic.hpp:24
kagome::network
Definition:
author_api_impl.hpp:37
kagome::api
Definition:
custom_json_writer.hpp:23
core
network
extrinsic_observer.hpp
Generated by
1.8.11