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