node::TxDownloadManagerImpl::GetRequestsToSend

Get getdata requests to send.

Synopsis

Declared in <node/txdownloadman_impl.h>

std::vector<GenTxid>
GetRequestsToSend(
    NodeId nodeid,
    std::chrono::microseconds current_time);

Return Value

The transaction identifiers to request from nodeid.

Parameters

NameDescription
nodeidThe peer to build requests for.
current_timeThe current time, used to decide which requests are due.