[#node-TxDownloadManagerImpl-m_lazy_recent_confirmed_transactions]
= xref:node.adoc[node]::xref:node/TxDownloadManagerImpl.adoc[TxDownloadManagerImpl]::m&lowbar;lazy&lowbar;recent&lowbar;confirmed&lowbar;transactions
:relfileprefix: ../../
:mrdocs:

Filter for transactions that have been recently confirmed&period; We use this to avoid requesting transactions that have already been confirmed&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::unique&lowbar;ptr&lt;CRollingBloomFilter&gt; m&lowbar;lazy&lowbar;recent&lowbar;confirmed&lowbar;transactions = &lcub;nullptr&rcub;;
----

== Description

Blocks don&apos;t typically have more than 4000 transactions, so this should be at least six blocks (&#126;1 hr) worth of transactions that we can store, inserting both a txid and wtxid for every observed transaction&period; If the number of transactions appearing in a block goes up, or if we are seeing getdata requests more than an hour after initial announcement, we can increase this number&period; The false positive rate of 1&sol;1M should come out to less than 1 transaction per day that would be inadvertently ignored (which is the same probability that we have in the reject filter)&period;


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