Attempt to manually fetch block from a given peer. We must already have the header.
Synopsis
Declared in <net_processing.h>
virtual
util::Expected<void, std::string>
FetchBlock(
NodeId peer_id,
CBlockIndex const& block_index) = 0;
Return Value
An empty result on success, or an error message describing why the fetch could not be started.
Parameters
Name |
Description |
peer_id [in] |
The peer id |
block_index [in] |
The blockindex |
Created with MrDocs