[#TxRequestTracker-ForgetTxHash] = xref:TxRequestTracker.adoc[TxRequestTracker]::ForgetTxHash :relfileprefix: ../ :mrdocs: Deletes all announcements for a given txhash (both txid and wtxid ones). == Synopsis Declared in `<txrequest.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void ForgetTxHash(xref:uint256.adoc[uint256] const& txhash); ---- == Description This should be called when a transaction is no longer needed. The caller should ensure that new announcements for the same txhash will not trigger new ReceivedInv calls, at least in the short term after this call. == Parameters [cols="1,4"] |=== | Name| Description | *txhash* | Transaction hash whose announcements should be deleted. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#