Bitcoin Core 30.99.0
P2P Digital Currency
Functions
txgraph.cpp File Reference
#include <cluster_linearize.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/util/cluster_linearize.h>
#include <test/util/random.h>
#include <txgraph.h>
#include <util/bitset.h>
#include <util/feefrac.h>
#include <algorithm>
#include <cstdint>
#include <iterator>
#include <map>
#include <memory>
#include <set>
#include <utility>
Include dependency graph for txgraph.cpp:

Go to the source code of this file.

Functions

 FUZZ_TARGET (txgraph)
 

Function Documentation

◆ FUZZ_TARGET()

FUZZ_TARGET ( txgraph  )

Internal test RNG, used only for decisions which would require significant amount of data to be read from the provider, without realistically impacting test sensitivity, and for specialized test cases that are hard to perform more generically.

Variable used whenever an empty TxGraph::Ref is needed.

The maximum number of transactions per (non-oversized) cluster we will use in this simulation.

The maximum total size of transactions in a (non-oversized) cluster.

The number of iterations to consider a cluster acceptably linearized.

Struct encapsulating information about a BlockBuilder that's currently live.

BlockBuilder object from real.

The set of transactions marked as included in *builder.

The set of transactions marked as included or skipped in *builder.

The last chunk feerate returned by *builder. IsEmpty() if none yet.

Currently active block builders.

Function to pick any Ref (for either sim in sims: from sim.simmap or sim.removed, or the empty Ref).

The number of possible choices.

Pick one of them.

Function to construct the correct fee-size diagram a real graph has based on its graph order (as reported by GetCluster(), so it works for both main and staging).

Use the bottom 2 bits of command to select an entry in the block_builders vector (if any). These use the same bits as alt/level_select, so don't use those in actions below where builder_idx is used as well.

Definition at line 297 of file txgraph.cpp.

Here is the call graph for this function: