[#node-TxDownloadManager-GetRequestsToSend]
= xref:node.adoc[node]::xref:node/TxDownloadManager.adoc[TxDownloadManager]::GetRequestsToSend
:relfileprefix: ../../
:mrdocs:

Get getdata requests to send&period;

== Synopsis

Declared in `&lt;node&sol;txdownloadman&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::vector&lt;GenTxid&gt;
GetRequestsToSend(
    xref:NodeId-08.adoc[NodeId] nodeid,
    std::chrono::microseconds current&lowbar;time);
----

== Return Value

The transaction identifiers to request from `nodeid&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nodeid*
| The peer to build requests for&period;
| *current&lowbar;time*
| The current time, used to decide which requests are due&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
