Bitcoin Core  24.99.0
P2P Digital Currency
Variables
headerssync.cpp File Reference
#include <headerssync.h>
#include <logging.h>
#include <pow.h>
#include <timedata.h>
#include <util/check.h>
Include dependency graph for headerssync.cpp:

Go to the source code of this file.

Variables

constexpr size_t HEADER_COMMITMENT_PERIOD {584}
 Store a commitment to a header every HEADER_COMMITMENT_PERIOD blocks. More...
 
constexpr size_t REDOWNLOAD_BUFFER_SIZE {13959}
 Only feed headers to validation once this many headers on top have been received and validated against commitments. More...
 

Variable Documentation

◆ HEADER_COMMITMENT_PERIOD

constexpr size_t HEADER_COMMITMENT_PERIOD {584}
constexpr

Store a commitment to a header every HEADER_COMMITMENT_PERIOD blocks.

Definition at line 15 of file headerssync.cpp.

◆ REDOWNLOAD_BUFFER_SIZE

constexpr size_t REDOWNLOAD_BUFFER_SIZE {13959}
constexpr

Only feed headers to validation once this many headers on top have been received and validated against commitments.

Definition at line 19 of file headerssync.cpp.