![]() |
Bitcoin Core 29.99.0
P2P Digital Currency
|
#include <compare>
#include <cstdint>
#include <memory>
#include <optional>
#include <utility>
#include <vector>
#include <util/feefrac.h>
Go to the source code of this file.
Classes | |
class | TxGraph |
Data structure to encapsulate fees, sizes, and dependencies for a set of transactions. More... | |
class | TxGraph::BlockBuilder |
Interface returned by GetBlockBuilder. More... | |
class | TxGraph::Ref |
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... | |
Variables | |
static constexpr unsigned | MAX_CLUSTER_COUNT_LIMIT {64} |
|
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.