![]() |
Bitcoin Core 29.99.0
P2P Digital Currency
|
#include <txgraph.h>
#include <cluster_linearize.h>
#include <random.h>
#include <util/bitset.h>
#include <util/check.h>
#include <util/feefrac.h>
#include <util/vector.h>
#include <compare>
#include <memory>
#include <set>
#include <span>
#include <utility>
Go to the source code of this file.
Functions | |
std::unique_ptr< TxGraph > | MakeTxGraph (unsigned max_cluster_count, uint64_t max_cluster_size, uint64_t acceptable_iters) noexcept |
Construct a new TxGraph with the specified limit on the number of transactions within a cluster, and on the sum of transaction sizes within a cluster. More... | |
|
noexcept |
Construct a new TxGraph with the specified limit on the number of transactions within a cluster, and on the sum of transaction sizes within a cluster.
max_cluster_count cannot exceed MAX_CLUSTER_COUNT_LIMIT. acceptable_iters controls how many linearization optimization steps will be performed per cluster before they are considered to be of acceptable quality.
Definition at line 2943 of file txgraph.cpp.