Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
req_collation_observer.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_REQ_COLLATION_OBSERVER_HPP
7
#define KAGOME_REQ_COLLATION_OBSERVER_HPP
8
9
#include <libp2p/peer/peer_id.hpp>
10
11
#include "
consensus/grandpa/common.hpp
"
12
#include "
network/types/collator_messages.hpp
"
13
#include "
primitives/common.hpp
"
14
15
namespace
kagome::network
{
19
struct
ReqCollationObserver
{
20
virtual
~ReqCollationObserver
() =
default
;
21
26
virtual
outcome::result<CollationFetchingResponse>
OnCollationRequest
(
27
CollationFetchingRequest
request) = 0;
28
};
29
}
// namespace kagome::network
30
31
#endif // KAGOME_REQ_COLLATION_OBSERVER_HPP
common.hpp
kagome::network::ReqCollationObserver
Definition:
req_collation_observer.hpp:19
common.hpp
collator_messages.hpp
kagome::network::ReqCollationObserver::OnCollationRequest
virtual outcome::result< CollationFetchingResponse > OnCollationRequest(CollationFetchingRequest request)=0
kagome::network::CollationFetchingRequest
Definition:
collator_messages.hpp:148
kagome::network::ReqCollationObserver::~ReqCollationObserver
virtual ~ReqCollationObserver()=default
kagome::network
Definition:
author_api_impl.hpp:37
core
network
req_collation_observer.hpp
Generated by
1.8.11