node::MakeTxOrphanage

MakeTxOrphanage overloads

Synopses

Declared in <node/txorphanage.h>

Create a new TxOrphanage instance

std::unique_ptr<TxOrphanage>
MakeTxOrphanage() noexcept;
» more...

Create a new TxOrphanage instance with explicit limits.

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

Return Value

  • A new orphanage with default limits.
  • A new orphanage configured with the given limits.

Parameters

NameDescription
max_global_latency_scoreMaximum global latency score allowed.
reserved_peer_usageReserved usage per peer, in weight units.