referrerpolicy=no-referrer-when-downgrade
pub const REASONABLE_HEADERS_IN_JUSTIFICATION_ANCESTRY: u32 = 2;
Expand description

Reasonable number of headers in the votes_ancestries on Polkadot-like chains.

See [bp-header-chain::ChainWithGrandpa] for more details.

This value comes from recent (December, 2023) Kusama and Polkadot headers. There are no justifications with any additional headers in votes ancestry, so reasonable headers may be set to zero. But we assume that there may be small GRANDPA lags, so we’re leaving some reserve here.