node::TxOrphanage::AddAnnouncer

Add an additional announcer to an orphan if it exists. Otherwise, do nothing.

Synopsis

Declared in <node/txorphanage.h>

virtual
bool
AddAnnouncer(
    Wtxid const& wtxid,
    NodeId peer) = 0;

Return Value

True if the announcer was added, false if the orphan does not exist.

Parameters

NameDescription
wtxidWitness txid of the orphan.
peerThe additional announcing peer.