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

Go to the source code of this file.

Variables

constexpr size_t HEADER_COMMITMENT_PERIOD {606}
 Store one header commitment per HEADER_COMMITMENT_PERIOD blocks. More...
 
constexpr size_t REDOWNLOAD_BUFFER_SIZE {14441}
 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 {606}
constexpr

Store one header commitment per HEADER_COMMITMENT_PERIOD blocks.

Definition at line 16 of file headerssync.cpp.

◆ REDOWNLOAD_BUFFER_SIZE

constexpr size_t REDOWNLOAD_BUFFER_SIZE {14441}
constexpr

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

Definition at line 20 of file headerssync.cpp.