MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / MakeTxOrphanage

Function MakeTxOrphanage

src/node/txorphanage.cpp:780–783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

778 return TotalLatencyScore() > MaxGlobalLatencyScore() || TotalOrphanUsage() > MaxGlobalUsage();
779}
780std::unique_ptr<TxOrphanage> MakeTxOrphanage() noexcept
781{
782 return std::make_unique<TxOrphanageImpl>();
783}
784std::unique_ptr<TxOrphanage> MakeTxOrphanage(TxOrphanage::Count max_global_latency_score, TxOrphanage::Usage reserved_peer_usage) noexcept
785{
786 return std::make_unique<TxOrphanageImpl>(max_global_latency_score, reserved_peer_usage);

Callers 7

BOOST_AUTO_TEST_CASEFunction · 0.85
txorphan.cppFile · 0.85
FUZZ_TARGETFunction · 0.85
OrphanageEraseAllFunction · 0.85
TxDownloadManagerImplMethod · 0.85

Calls

no outgoing calls

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.68
FUZZ_TARGETFunction · 0.68