[#node-TxOrphanage-GetTxToReconsider]
= xref:node.adoc[node]::xref:node/TxOrphanage.adoc[TxOrphanage]::GetTxToReconsider
:relfileprefix: ../../
:mrdocs:

Extract a transaction from a peer&apos;s work set, and flip it back to non&hyphen;reconsiderable&period; Returns nullptr if there are no transactions to work on&period; Otherwise returns the transaction reference, and removes it from the work set&period;

== Synopsis

Declared in `&lt;node&sol;txorphanage&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
xref:CTransactionRef.adoc[CTransactionRef]
GetTxToReconsider(xref:NodeId-08.adoc[NodeId] peer) = 0;
----

== Return Value

The next transaction to reconsider, or nullptr if the work set is empty&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *peer*
| The peer whose work set to draw from&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
