AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 43 Bitcoin

offers: limit invoices to 10 minutes for recurring offers in other currencies.

Public commit record

What the developer wrote

Authored by Rusty Russell

65/100 · Adequate
offers: limit invoices to 10 minutes for recurring offers in other currencies.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
The short version

What changed, and why it matters

This change tightens the lifetime of recurring invoices priced in foreign currencies (like USD) to 10 minutes by default, and refreshes them with current exchange rates when they expire. Previously, such invoices could remain valid for the full recurrence period, meaning a merchant or payer could be locked into an outdated exchange rate for a long time. The patch also improves error messages so users can tell the difference between a cancelled invoice and one that simply expired.

Recommended action

Review and deploy; the change is defensive and reduces financial risk from stale currency rates. Operators using recurring currency offers should be aware that invoice lifetimes are now shorter and that the `dev-currency-expiry` option may be renamed or stabilized in future releases.

Security signals we found

01

Fixes stale exchange-rate exposure for currency-denominated recurring invoices

02

Adds configurable expiry cap for recurring currency invoices

03

Distinguishes user-cancellation (0s expiry) from natural expiry to avoid misleading errors

04

Adds regression test for invoice refresh after currency expiry

Risk score

Why this scored 43/100

Our methodology →
Potential impact 12/30
Exploitability 8/25
Stealth signal 6/15
Affected reach 7/15
Confidence 7/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.