Kagome
Polkadot Runtime Engine in C++17
|
Public Member Functions | |
ReqCollationObserverImpl (std::shared_ptr< network::PeerManager > pm) | |
~ReqCollationObserverImpl () override=default | |
outcome::result< network::CollationFetchingResponse > | OnCollationRequest (network::CollationFetchingRequest request) override |
Public Member Functions inherited from kagome::network::ReqCollationObserver | |
virtual | ~ReqCollationObserver ()=default |
Private Attributes | |
std::shared_ptr< network::PeerManager > | pm_ |
Definition at line 108 of file parachain_observer.cpp.
|
inline |
Definition at line 109 of file parachain_observer.cpp.
|
overridedefault |
|
inlineoverridevirtual |
Since we are not collator node. Received request should make call to subsystem to decrease rank of the requested node.
Need to decrease rank of the peer and return error.
Implements kagome::network::ReqCollationObserver.
Definition at line 115 of file parachain_observer.cpp.
|
private |
Definition at line 122 of file parachain_observer.cpp.