node::TxOrphanage::EraseForPeer

Maybe erase all orphans announced by a peer (eg, after that peer disconnects). If an orphan has been announced by another peer, don't erase, just remove this peer from the list of announcers.

Synopsis

Declared in <node/txorphanage.h>

virtual
void
EraseForPeer(NodeId peer) = 0;

Parameters

NameDescription
peerThe peer whose orphans (or announcements) to remove.