[#node-MAX_PEER_TX_ANNOUNCEMENTS]
= xref:node.adoc[node]::MAX&lowbar;PEER&lowbar;TX&lowbar;ANNOUNCEMENTS
:relfileprefix: ../
:mrdocs:

Maximum number of transactions to consider for requesting, per peer&period; It provides a reasonable DoS limit to per&hyphen;peer memory usage spent on announcements, while covering peers continuously sending INVs at the maximum rate (by our own policy, see DEFAULT&lowbar;TX&lowbar;SEND&lowbar;RATE) for several minutes, while not receiving the actual transaction (from any peer) in response to requests for them&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
inline constexpr int32&lowbar;t MAX&lowbar;PEER&lowbar;TX&lowbar;ANNOUNCEMENTS = 5000;
----


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