node::TxOrphanage::EraseTx

Erase an orphan by wtxid, including all announcements if there are multiple. Returns true if an orphan was erased, false if no tx with this wtxid exists.

Synopsis

Declared in <node/txorphanage.h>

virtual
bool
EraseTx(Wtxid const& wtxid) = 0;

Return Value

True if an orphan was erased, false if none existed.

Parameters

NameDescription
wtxidWitness txid of the orphan to erase.