Bitcoin Core  26.99.0
P2P Digital Currency
Classes | Functions
headerssync.cpp File Reference
#include <arith_uint256.h>
#include <chain.h>
#include <chainparams.h>
#include <headerssync.h>
#include <test/fuzz/fuzz.h>
#include <test/fuzz/util.h>
#include <test/util/setup_common.h>
#include <uint256.h>
#include <util/chaintype.h>
#include <util/time.h>
#include <validation.h>
#include <iterator>
#include <vector>
Include dependency graph for headerssync.cpp:

Go to the source code of this file.

Classes

class  FuzzedHeadersSyncState
 

Functions

static void initialize_headers_sync_state_fuzz ()
 
void MakeHeadersContinuous (const CBlockHeader &genesis_header, const std::vector< CBlockHeader > &all_headers, std::vector< CBlockHeader > &new_headers)
 
 FUZZ_TARGET (headers_sync_state,.init=initialize_headers_sync_state_fuzz)
 

Function Documentation

◆ FUZZ_TARGET()

FUZZ_TARGET ( headers_sync_state  ,
init = initialize_headers_sync_state_fuzz 
)

Definition at line 49 of file headerssync.cpp.

Here is the call graph for this function:

◆ initialize_headers_sync_state_fuzz()

static void initialize_headers_sync_state_fuzz ( )
static

Definition at line 16 of file headerssync.cpp.

◆ MakeHeadersContinuous()

void MakeHeadersContinuous ( const CBlockHeader genesis_header,
const std::vector< CBlockHeader > &  all_headers,
std::vector< CBlockHeader > &  new_headers 
)

Definition at line 22 of file headerssync.cpp.

Here is the caller graph for this function: