Deletes all announcements for a given txhash (both txid and wtxid ones).
Synopsis
Declared in <txrequest.h>
void
ForgetTxHash(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
Name |
Description |
txhash |
Transaction hash whose announcements should be deleted. |
Created with MrDocs