Skip to main content

GATEWAYS_GRACE_PERIOD

Constant GATEWAYS_GRACE_PERIOD 

Source
pub const GATEWAYS_GRACE_PERIOD: Duration;
Expand description

How long LightningFederationApi::gateways keeps waiting for a threshold of guardians to answer once the first guardian has answered.

Waiting for more answers lets gateways listed by many guardians be ranked above a gateway listed only by the guardian that happened to answer first, while the bound keeps unreachable or failing guardians from stalling gateway selection.