node::TxOrphanage::GetTxToReconsider

Extract a transaction from a peer's work set, and flip it back to non-reconsiderable. Returns nullptr if there are no transactions to work on. Otherwise returns the transaction reference, and removes it from the work set.

Synopsis

Declared in <node/txorphanage.h>

virtual
CTransactionRef
GetTxToReconsider(NodeId peer) = 0;

Return Value

The next transaction to reconsider, or nullptr if the work set is empty.

Parameters

NameDescription
peerThe peer whose work set to draw from.