Create a new TxOrphanage instance with explicit limits.

Synopsis

Declared in <node/txorphanage.h>

std::unique_ptr<TxOrphanage>
MakeTxOrphanage(
    TxOrphanage::Count max_global_latency_score,
    TxOrphanage::Usage reserved_peer_usage) noexcept;

Return Value

A new orphanage configured with the given limits.

Parameters

Name

Description

max_global_latency_score

Maximum global latency score allowed.

reserved_peer_usage

Reserved usage per peer, in weight units.

Created with MrDocs