Bitcoin ABC  0.26.3
P2P Digital Currency
Variables
headerssync.cpp File Reference
#include <headerssync.h>
#include <logging.h>
#include <pow/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 {610}
 Store a commitment to a header every HEADER_COMMITMENT_PERIOD blocks. More...
 
constexpr size_t REDOWNLOAD_BUFFER_SIZE {14521}
 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 {610}
constexpr

Store a commitment to a header every HEADER_COMMITMENT_PERIOD blocks.

Definition at line 16 of file headerssync.cpp.

◆ REDOWNLOAD_BUFFER_SIZE

constexpr size_t REDOWNLOAD_BUFFER_SIZE {14521}
constexpr

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

Definition at line 21 of file headerssync.cpp.