Skip to main content

VERIFY_WAIT_TIMEOUT

Constant VERIFY_WAIT_TIMEOUT 

Source
pub(crate) const VERIFY_WAIT_TIMEOUT: Duration;
Expand description

How long an LNURL-verify request that asked to wait blocks before reporting the payment as not settled yet.

The payment being waited for may never arrive, so the wait needs an upper bound to stop callers from parking a request handler indefinitely. Reporting “not settled” on expiry is a regular LNURL-verify response, so clients simply poll again.