Skip to main content

MAX_ADVICE_LEN

Constant MAX_ADVICE_LEN 

Source
pub const MAX_ADVICE_LEN: usize = 1024;
Expand description

A header longer than this is not read at all: advice is a handful of integers, and a header past this length is a server bug or a hostile one, either way the client’s defaults.