node::TxOrphanage::AddTx

Add a new orphan transaction

Synopsis

Declared in <node/txorphanage.h>

virtual
bool
AddTx(
    CTransactionRef const& tx,
    NodeId peer) = 0;

Return Value

True if the orphan was newly added, false otherwise.

Parameters

NameDescription
txThe orphan transaction to add.
peerThe peer announcing the orphan.