Bitcoin Core  26.1.0
P2P Digital Currency
Enumerations | 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.

Enumerations

enum  EntryType : uint8_t
 

Functions

 FUZZ_TARGET (coinscache_sim)
 

Enumeration Type Documentation

◆ EntryType

enum EntryType : uint8_t
strong

Definition at line 101 of file coinscache_sim.cpp.

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 203 of file coinscache_sim.cpp.

Here is the call graph for this function: