server: Handle Lightning invoice expiry with configurable timeout

It looks like we didn't have an explicit value set for invoice expiry. We introduce a configurable invoice_expiry with default of 48 hours, and we also introduce a receive_htlc_forward_timeout which limits the amount of time the CLN node will hold an incoming HTLC while waiting for the receiving user to prepare a claim for it. We remove the htlc_subscription_timeout config as it is superseded by the invoice_expiry.

Related to #1306 (closed) and #1273 (closed).

Edited by Duncan Dean

Merge request reports

Loading
Loading