MAX_FLOOD_HOPS

Constant MAX_FLOOD_HOPS 

Source
pub const MAX_FLOOD_HOPS: u8 = 15;
Expand description

Largest value the FHOPS_REM nibble can carry.

A larger budget cannot be encoded, so requests above it are clamped rather than truncated — PacketBuilder::flood_hops drops the whole field for an out-of-range value, which would turn “flood further” into “do not flood at all”.