MAX_HEADERS_RESULTS

Number of headers sent in one getheaders result. We rely on the assumption that if a peer sends less than this number, we reached its tip. Changing this value is a protocol upgrade.

Synopsis

Declared in <net_processing.h>

inline constexpr unsigned int MAX_HEADERS_RESULTS = 2000;