Bitcoin Core 28.99.0
P2P Digital Currency
Functions
coinscache_sim.cpp File Reference
#include <coins.h>
#include <crypto/sha256.h>
#include <primitives/transaction.h>
#include <test/fuzz/fuzz.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/util.h>
#include <assert.h>
#include <optional>
#include <memory>
#include <stdint.h>
#include <vector>
Include dependency graph for coinscache_sim.cpp:

Go to the source code of this file.

Functions

 FUZZ_TARGET (coinscache_sim)
 

Function Documentation

◆ FUZZ_TARGET()

FUZZ_TARGET ( coinscache_sim  )

Precomputed COutPoint and CCoins values.

Dummy coinsview instance (base of the hierarchy).

Real CCoinsViewCache objects.

Simulated cache data (sim_caches[0] matches bottom, sim_caches[i+1] matches caches[i]).

Current height in the simulation.

Helper lookup function in the simulated cache stack.

Flush changes in top cache to the one below.

Definition at line 196 of file coinscache_sim.cpp.

Here is the call graph for this function: