[#node-MakeTxOrphanage-07] = xref:node.adoc[node]::MakeTxOrphanage :relfileprefix: ../ :mrdocs: `MakeTxOrphanage` overloads == Synopses Declared in `<node/txorphanage.h>` Create a new TxOrphanage instance [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::unique_ptr<TxOrphanage> xref:node/MakeTxOrphanage-01.adoc[MakeTxOrphanage]() noexcept; ---- [.small]#xref:node/MakeTxOrphanage-01.adoc[_» more..._]# Create a new TxOrphanage instance with explicit limits. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::unique_ptr<TxOrphanage> xref:node/MakeTxOrphanage-05.adoc[MakeTxOrphanage]( xref:node/TxOrphanage/Count.adoc[TxOrphanage::Count] max_global_latency_score, xref:node/TxOrphanage/Usage.adoc[TxOrphanage::Usage] reserved_peer_usage) noexcept; ---- [.small]#xref:node/MakeTxOrphanage-05.adoc[_» more..._]# == Return Value * A new orphanage with default limits. * A new orphanage configured with the given limits. == Parameters [cols="1,4"] |=== | Name| Description | *max_global_latency_score* | Maximum global latency score allowed. | *reserved_peer_usage* | Reserved usage per peer, in weight units. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#