Kagome
Polkadot Runtime Engine in C++17
|
#include <sync_protocol_observer.hpp>
Public Member Functions | |
virtual | ~SyncProtocolObserver ()=default |
virtual outcome::result< BlocksResponse > | onBlocksRequest (const BlocksRequest &request) const =0 |
Reactive part of Sync protocol
Definition at line 17 of file sync_protocol_observer.hpp.
|
virtualdefault |
|
pure virtual |
Process a blocks request
request | to be processed |
Implemented in kagome::network::SyncProtocolObserverImpl.