Bitcoin Core 30.99.0
P2P Digital Currency
Functions | Variables
block_index_tree.cpp File Reference
#include <chain.h>
#include <chainparams.h>
#include <flatfile.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/fuzz/util.h>
#include <test/util/setup_common.h>
#include <test/util/validation.h>
#include <validation.h>
#include <ranges>
#include <vector>
Include dependency graph for block_index_tree.cpp:

Go to the source code of this file.

Functions

CBlockHeader ConsumeBlockHeader (FuzzedDataProvider &provider, uint256 prev_hash, int &nonce_counter)
 
void initialize_block_index_tree ()
 
 FUZZ_TARGET (block_index_tree,.init=initialize_block_index_tree)
 

Variables

const TestingSetupg_setup
 

Function Documentation

◆ ConsumeBlockHeader()

CBlockHeader ConsumeBlockHeader ( FuzzedDataProvider provider,
uint256  prev_hash,
int &  nonce_counter 
)

Definition at line 23 of file block_index_tree.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FUZZ_TARGET()

FUZZ_TARGET ( block_index_tree  ,
init = initialize_block_index_tree 
)

Definition at line 41 of file block_index_tree.cpp.

Here is the call graph for this function:

◆ initialize_block_index_tree()

void initialize_block_index_tree ( )

Definition at line 35 of file block_index_tree.cpp.

Variable Documentation

◆ g_setup

const TestingSetup* g_setup

Definition at line 21 of file block_index_tree.cpp.