| 3581 | } |
| 3582 | |
| 3583 | std::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 | } |
no outgoing calls