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

Add feature bit for HtlcHold

Public commit record

What the developer wrote

Authored by Valentine Wallace

76/100 · Adequate
Add feature bit for HtlcHold

As part of supporting sending payments as an often-offline sender, the
often-offline sender's channel counterparty needs to advertise a feature bit
indicating that they support holding onto the sender's HTLC until they receive
a release_held_htlc onion message from the recipient indicating that they are
online and ready to receive the payment.

See-also <https://github.com/lightning/bolts/pull/989>

We don't yet advertise support of this feature.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit adds a new Lightning protocol feature flag called HtlcHold to the rust-lightning code, but does not actually turn it on or use it yet. It is preparatory code for a future capability that lets an often-offline sender's payment be held by a counterparty until the recipient comes back online. There is no active security flaw here—just a new feature bit being registered so nodes can later advertise support.

Recommended action

No immediate security action needed. Treat as normal feature groundwork. When the full HtlcHold implementation arrives, review it carefully for HTLC timeout handling, preimage release conditions, and onion-message authentication, since holding HTLCs changes the trust and timing assumptions of payment forwarding.

Security signals we found

01

New experimental feature bit registration only

02

No functional HTLC-holding logic added

03

No advertisement of support enabled

04

References an in-progress BOLTs specification change (PR 989)

Risk score

Why this scored 20/100

Our methodology →
Potential impact 2/30
Exploitability 1/25
Stealth signal 1/15
Affected reach 2/15
Confidence 9/10
Evidence quality 5/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.