[#node-TxOrphanage-AddTx] = xref:node.adoc[node]::xref:node/TxOrphanage.adoc[TxOrphanage]::AddTx :relfileprefix: ../../ :mrdocs: Add a new orphan transaction == Synopsis Declared in `<node/txorphanage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool AddTx( xref:CTransactionRef.adoc[CTransactionRef] const& tx, xref:NodeId-08.adoc[NodeId] peer) = 0; ---- == Return Value True if the orphan was newly added, false otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The orphan transaction to add. | *peer* | The peer announcing the orphan. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#