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

Function MakeTxGraph

src/txgraph.cpp:3583–3594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3581}
3582
3583std::unique_ptr<TxGraph> MakeTxGraph(
3584 unsigned max_cluster_count,
3585 uint64_t max_cluster_size,
3586 uint64_t acceptable_cost,
3587 const std::function<std::strong_ordering(const TxGraph::Ref&, const TxGraph::Ref&)>& fallback_order) noexcept
3588{
3589 return std::make_unique<TxGraphImpl>(
3590 /*max_cluster_count=*/max_cluster_count,
3591 /*max_cluster_size=*/max_cluster_size,
3592 /*acceptable_cost=*/acceptable_cost,
3593 /*fallback_order=*/fallback_order);
3594}

Callers 4

CTxMemPoolMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
FUZZ_TARGETFunction · 0.85
BenchTxGraphTrimFunction · 0.85

Calls

no outgoing calls

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.68
FUZZ_TARGETFunction · 0.68