pub const MAX_FIND_BLOCK_HEADERS_RESULTS_FOR_ZEBRA: u32 = _; // 158u32
Expand description

The maximum number of block headers sent by Zebra in getheaders responses.

Older versions of Zcashd will blindly request more block headers as long as it got 160 block headers in response to a previous query, even if those headers are already known.

To avoid this behavior, return slightly fewer than the maximum, so zcashd thinks it has reached our chain tip.

https://github.com/bitcoin/bitcoin/pull/4468/files#r17026905