[#node-TxDownloadManagerImpl-ConnectedPeer]
= xref:node.adoc[node]::xref:node/TxDownloadManagerImpl.adoc[TxDownloadManagerImpl]::ConnectedPeer
:relfileprefix: ../../
:mrdocs:

Register a peer we may download transactions from&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
ConnectedPeer(
    xref:NodeId-08.adoc[NodeId] nodeid,
    xref:node/TxDownloadConnectionInfo.adoc[TxDownloadConnectionInfo] const& info);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nodeid*
| The connecting peer&period;
| *info*
| Connection attributes affecting download scheduling&period;
|===


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