pub const GETDATA_MAX_BLOCK_COUNT: usize = 16;Expand description
The maximum number of distinct block hashes retained from a peer’s getdata request.
The inbound service uses the same limit when serving blocks. Additional block hashes are ignored before allocating and cloning the internal request.
This is the same as zcashd’s request limit:
https://github.com/zcash/zcash/blob/829dd94f9d253bb705f9e194f13cb8ca8e545e1e/src/main.h#L108
(Zebra’s outbound request limit is one block in transit per peer, because it fans out block requests to many peers instead of just a few peers.)