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

Deletes all txrequest announcements and orphans for a given peer&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
DisconnectedPeer(xref:NodeId-08.adoc[NodeId] nodeid);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nodeid*
| The disconnecting peer&period;
|===


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