LL
← All projectsLightning Labs

LND

Go implementation of a complete Lightning Network node.

BitcoinLightning NetworkNormal
Repository coverage

1687 commits in the local evidence base

Every captured commit receives deterministic security triage and a separate communication-quality score. Security candidates and broader second-pass signals receive full-patch Ollama analysis.

186security candidates236second-pass queue1372AI analyses
162commits · 30 days
278commits · 60 days
643commits · 180 days
1422commits · 365 days
Backfill bands
Aug 5 → Feb 6405 seen5 candidatesComplete
Feb 6 → Jun 6665 seen28 candidatesComplete
Jun 6 → Jul 689 seen4 candidatesComplete
Jul 6 → Aug 569 seen0 candidatesComplete
Commit communication

Does the history explain itself?

Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.

68/100 average clarity
387Strong · 80–100
837Adequate · 60–79
432Thin · 40–59
31Opaque · 0–39
1security candidate with opaque commit messaging
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
Olaoluwa Osuntokun29659235474
ziggie49922422265
Elle Mouton26832268167
Yong60926172
ziggieXXX50617170
George Tsagkarelis37335167
LNBiG111173
Jared Tobin909171
yyforyongyu1211574070
bitromortac731154071
Erick Cestari26726070
Suheb746074
Analysis record

Published AI watches

Last scanned 35 minutes ago

Low 43 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11588 from ziggie1984/lnwallet/fix-reorg-wallet-sync-flake

This change fixes a wallet synchronization check in LND. Previously, the wallet only compared block heights to decide if it was fully caught up with the Bitcoin chain. During a chain reorganization (a temporary fork where one block is repl…

State synchronization check previously used height only, which is insufficient across reorgsFix adds block hash comparison to prevent false-positive sync statusCould cause LND to proceed while wallet state reflects an invalidated or not-yet-updated chain tip
8cdbf85cby Yong+224−1354 files
Vendor flagged security relevance
Moderate 51 AI analysisMessage 68 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #10708 from jtobin/alias-perms

This commit fixes a missing permission check on a new Lightning routing RPC called XFindBaseLocalChanAlias. Without the entry, any valid macaroon could call that RPC, bypassing the normal access-control list. The patch adds the required pe…

Missing macaroon authorization entry for an RPC endpointPotential privilege escalation: any valid macaroon could invoke an unprotected RPCRegression test added to enforce macPermissions coverage
98dc2b44by Olaoluwa Osuntokun+35−02 files
No security note in commit
Moderate 68 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11555 from yyforyongyu/invoice-settlement-public

This large LND patch changes when an ordinary invoice is considered 'paid'. Previously, releasing the preimage (the secret that lets the payer claim the funds) immediately marked the invoice as settled. Now the invoice enters a new interme…

New intermediate invoice/HTLC state prevents premature settlement reportingOn-chain HTLC outcomes persisted without opt-in to support restart recoveryForwarding package marker persisted before preimage release to avoid replay rejection on restart
895118acby Olaoluwa Osuntokun+4536−32048 files
Vendor flagged security relevance
Informational 15 AI analysisMessage 80 · Strong
LL Lightning LabsLND BitcoinLightning Network

docs: describe invoice collection finality

This commit only adds documentation to the release notes. It describes a previously merged code change (PR 11555) about how LND handles invoice finality, but the commit itself contains no code, bug fixes, or behavior changes. There is noth…

9649d9f6by yyforyongyu+87−01 file
No security note in commit
Moderate 64 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11551 from ziggie1984/public-pr149-sanitized

This change fixes a bug in LND's invoice handling for multi-part payments (MPP and AMP). When a payment is split into several pieces (HTLCs), each piece is accepted individually. Previously, an old accepted piece could become too close to …

Fixes missing revalidation of accepted HTLC CLTV expiries at MPP/AMP set completionPrevents settlement of shards whose on-chain claim window has become unsafe while heldAdds new fail resolution ResultHtlcSetExpiryTooSoon and cancels the entire affected set
4b7447bcby Yong+281−347 files
Vendor flagged security relevance
Low 35 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11396 from yyforyongyu/task-lease-policy

This commit changes how LND's wallet locks (leases) unspent coins through its RPC interface. It removes a recently added 'release after N confirmations' option and replaces it with an explicit 'no expiry' flag. Old clients that still send …

Breaking API change that reserves removed protobuf fields to prevent accidental reintroductionExplicit rejection of legacy `release_after_spend_confs` parameters from old clients instead of silent fallbackValidation prevents conflicting no-expiry + duration lease settings before wallet state is touched
03e28a96by Yong+663−4029 files
Vendor flagged security relevance
Low 40 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11175 from ViktorT-11/2026-08-gossip-version-agnostic-store

This commit refactors how the Lightning Network Daemon (LND) stores and queries channel graph data so that the same channel or node can exist under both old (v1) and new (v2) gossip protocols without the database returning stale, missing, …

Cross-version data consistency: prevents a v2 channel shell from shadowing a usable v1 channel, which could affect routing decisions and RPC output.Cache consistency: ensures the in-memory pathfinding cache and the SQL-backed RPC reads agree on which channel version and policies are active.Bug fix: zombie edge info now carries the correct channel ID instead of 0, which could have caused incorrect channel identification during resurrection.
8c251687by Yong+3752−28726 files
No security note in commit
Moderate 61 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11440 from Roasbeef/fix-longstanding-correctness-bugs

This is a large bug-fix patch for LND (a Bitcoin Lightning Network node) that tightens correctness rules across many subsystems. It prevents several ways a node could mis-handle channel data, accept bad network gossip, commit corrupted dat…

Database transaction commit now aborts on read errors (etcd) - prevents silent data corruption / inconsistent stateGossip zombie marking removed for invalid funding script - prevents denial-of-service / channel graph poisoningWire message length bounding added to watchtower protocol - prevents memory exhaustion / malformed message parsing
0123a548by Olaoluwa Osuntokun+1424−11938 files
Vendor flagged security relevance
Moderate 59 AI analysisMessage 80 · Strong
LL Lightning LabsLND BitcoinLightning Network

invoices: require complete payment collection

This commit changes how LND handles multi-part Lightning payments when one part fails after the preimage was already released. Previously, the invoice could be marked as fully paid even if one shard was later reclaimed by the payer on-chai…

Changes invoice settlement semantics for released-but-failed HTLCsAdds new persisted HTLC state `HtlcStateFailed`Prevents invoice from reaching `ContractSettled` when any released shard fails
699ea930by Olaoluwa Osuntokun+492−4910 files
No security note in commit
Moderate 60 AI analysisMessage 78 · Adequate
LL Lightning LabsLND BitcoinLightning Network

lnwallet: reject a zero CSV delay

This change tightens the rules for opening Lightning payment channels by refusing a setting called the CSV delay when it is set to zero. The CSV delay is the waiting period a user must endure before reclaiming their own funds from a channe…

Rejects a zero CSV delay that would eliminate the breach-remedy windowCentralizes the check in VerifyConstraints so all channel types and directions are coveredAdds explicit error type and unit test for the new constraint
266eba7bby Olaoluwa Osuntokun+81−03 files
Vendor flagged security relevance
Moderate 58 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

lnwallet+chanstate: keep persisted HTLC data readable

This commit fixes two bugs in how Lightning Network channel data is saved to disk. First, it stops extra 'aux' signatures meant only for advanced taproot channels from being saved on ordinary channels, where they don't belong. Second, it p…

Persisted state could become unreadable due to writer/reader size mismatchAuxiliary signatures for taproot overlay channels were persisted on plain channel HTLCsFix adds explicit serialization bound to prevent unreadable channel records
43c74723by Olaoluwa Osuntokun+101−25 files
No security note in commit
Low 39 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11374 from bitromortac/20261016-c7e5-dispatch

This commit adds the first end-to-end BOLT 12 'Offers' flow to LND: a new dev-only RPC and CLI command to create offers, plus a dispatcher that listens for incoming onion-message invoice requests and replies with signed BOLT 12 invoices. I…

New network-facing dispatcher answers invoice requests from any peer; rate and concurrency limits are appliedBlinded-path PathID check prevents reply linking to self-created paths, but TODO notes the check should move once offers can have offer_pathsCreateOffer RPC is restricted to dev builds and requires offchain:write macaroon permission
a9d4ca3bby bitromortac+3113−7838 files
No security note in commit
Moderate 60 AI analysisMessage 78 · Adequate
LL Lightning LabsLND BitcoinLightning Network

invoices: reject settled AMP set shards

This change fixes a bug in LND's invoice handling for AMP (Atomic Multi-Path) payments. Previously, if someone tried to pay a fresh shard for an AMP set that was already fully paid, the invoice updater could return an internal error that w…

Denial-of-service vector: an internal updater error could force-fail a shared channel link, disrupting unrelated sibling HTLCsAMP invoice state machine edge case: reusable invoice stays open for other sets but must reject new shards for already-settled setsClean failure path introduced: ResultInvoiceNotOpen instead of error-driven link failure
99e3da37by yyforyongyu+49−02 files
No security note in commit
Moderate 59 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11282 from lightningnetwork/elle-base-branch-payment-service

This is a large feature merge for LND that adds a new optional RPC subsystem called switchrpc. It lets an external program hand a pre-built onion packet to LND for direct dispatch over a Lightning channel, instead of LND doing its own path…

New optional RPC surface (switchrpc) that accepts externally crafted onion packets and directly dispatches HTLCsIdempotency/deduplication added via InitAttempt durable write-ahead log and ErrPaymentIDAlreadyExistsStartup orphan cleanup fails half-open or pre-commit attempts to avoid hangs
11f79be0by Olaoluwa Osuntokun+11385−22458 files
Vendor flagged security relevance
Low 44 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11472 from yyforyongyu/task-sweep-rejections

This commit fixes a bug in LND's transaction sweeping logic. Previously, if the Bitcoin backend rejected a sweep transaction for a temporary or unknown reason (for example, the mempool was full, a network error occurred, or the rejection r…

Funds-availability / liveness fix: temporary or unknown mempool rejections could leave sweep inputs unspent.Error-handling reclassification: previously fatal errors now retryable.Retry metadata preservation: next fee rate and fee cap kept across attempts.
c5863e55by Yong+290−9720 files
No security note in commit
Low 32 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11292 from ViktorT-11/2026-10-harden-remote-signing-no-op

This change is a hardening fix for LND's remote-signing feature. Previously, if a node was configured to act as an outbound remote signer but was compiled without the required 'signrpc' and 'walletrpc' sub-servers, it would silently fall b…

silent-degradation-to-no-op preventedconfiguration-misconfiguration now surfaces as fatal errorbuild-tag-dependency explicitly validated at runtime
0c538e1fby Suheb+241−125 files
No security note in commit
Informational 15 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

invoices: fix test whitespace

This commit only fixes blank-line spacing in a single test file to satisfy lint checks. It adds one blank line after a function signature and removes one trailing blank line. There are no code behavior changes, no bug fixes, and no securit…

a67d07f4by yyforyongyu+1−11 file
No security note in commit
Low 31 AI analysisMessage 92 · Strong
LL Lightning LabsLND BitcoinLightning Network

build: pin the new lint job actions by commit

This change updates two GitHub Actions used in the project's automated lint workflow so they are locked to specific commit hashes instead of floating version tags. A floating tag could be silently repointed to a different, possibly malicio…

CI/CD supply-chain hardeningthird-party action pinning by commit hashprevention of tag-movement attacks
2a9f137dby Olaoluwa Osuntokun+4−21 file
Vendor flagged security relevance
Informational 15 AI analysisMessage 92 · Strong
LL Lightning LabsLND BitcoinLightning Network

build: fix the custom linter cache wiring for CI

This commit fixes the GitHub Actions CI setup for running a custom code linter. It makes sure Docker can read and write build caches correctly and that the built linter image is available for later steps. There is no user-facing security f…

6f665663by Olaoluwa Osuntokun+30−82 files
No security note in commit
Moderate 66 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11482 from Roasbeef/pub/unsigned-acked-wrap

This patch fixes a database bug in the Lightning Network Daemon (LND) where very long lists of unsigned, acknowledged channel updates could be silently truncated when saved to disk. Because the storage format used a 16-bit counter, lists l…

Integer truncation / wrap-around in serialization format (uint16 count)Silent data loss on restart due to undersized length fieldDefensive deserialization with count-modulo validation
7431093fby Olaoluwa Osuntokun+218−127 files
Vendor flagged security relevance
Repository ledger

Explore captured commits

Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.

AI review queuedMerge pull request #11396 from yyforyongyu/task-lease-policyby Yong · 03e28a96 · Nov 10, 2026 · 9 filesMessage 73 · AdequateLow 35Details
Commit message · Yong

Merge pull request #11396 from yyforyongyu/task-lease-policy

walletrpc: make no-expiry leases explicit

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathmerge-commit duplicate discountsecond-pass: security-sensitive path
AI analysis · Low 35/100

This commit changes how LND's wallet locks (leases) unspent coins through its RPC interface. It removes a recently added 'release after N confirmations' option and replaces it with an explicit 'no expiry' flag. Old clients that still send the removed option now get a clear error instead of silently falling back to a timed lease. The change is a deliberate API cleanup with security-relevant hardening against silent downgrade, but it is not a fix for an active vulnerability.

Lower-priorityMerge pull request #11542 from ziggie1984/fix-htlcswitch-forward-replayby Yong · 086d993a · Nov 10, 2026 · 5 filesMessage 73 · AdequateTriage 0Details
Commit message · Yong

Merge pull request #11542 from ziggie1984/fix-htlcswitch-forward-replay

htlcswitch: recover forwarded adds across link shutdowns

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
Lower-prioritydocs: add forwarding replay release noteby ziggie · 40601776 · Nov 10, 2026 · 1 fileMessage 57 · ThinTriage 0Details
Commit message · ziggie

docs: add forwarding replay release note

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
documentation-only discount
Lower-priorityhtlcswitch: clean circuits after failed handoffby ziggie · ae584f7a · Nov 10, 2026 · 2 filesMessage 45 · ThinTriage 0Details
Commit message · ziggie

htlcswitch: clean circuits after failed handoff

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Lower-priorityhtlcswitch: preserve add indexes during replayby ziggie · bda464a0 · Nov 10, 2026 · 2 filesMessage 45 · ThinTriage 0Details
Commit message · ziggie

htlcswitch: preserve add indexes during replay

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Lower-priorityinvoices: retain released invoice historyby yyforyongyu · 140046d1 · Nov 10, 2026 · 6 filesMessage 78 · AdequateTriage 0Details
Commit message · yyforyongyu

invoices: retain released invoice history

Keep canceled ordinary invoices with settled or failed released HTLCs
out of automatic cleanup and the canceled-only deletion RPC. Release
history matters even when no payment value was collected.

Reuse persisted HTLC states and the existing SQL retention predicate.
Extend startup cleanup coverage for all-failed outcomes and verify that
explicit deletion still accepts unreleased canceled invoices.

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI review queuedMerge pull request #11175 from ViktorT-11/2026-08-gossip-version-agnostic-storeby Yong · 8c251687 · Nov 10, 2026 · 26 filesMessage 73 · AdequateLow 40Details
Commit message · Yong

Merge pull request #11175 from ViktorT-11/2026-08-gossip-version-agnostic-store

graph/db: cross-version graph Store queries

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discountsecond-pass: unusually broad change
AI analysis · Low 40/100

This commit refactors how the Lightning Network Daemon (LND) stores and queries channel graph data so that the same channel or node can exist under both old (v1) and new (v2) gossip protocols without the database returning stale, missing, or mixed-up records. It adds 'preferred' lookups that pick the best available version, keeps the in-memory cache consistent with those lookups, and fixes several bugs where deleting or updating one version could leave the other version invisible or inconsistent. The changes are framed as architectural groundwork for the upcoming gossip v2 feature rather than as a fix for an active security vulnerability.

AI review queuedMerge pull request #11440 from Roasbeef/fix-longstanding-correctness-bugsby Olaoluwa Osuntokun · 0123a548 · Nov 10, 2026 · 38 filesMessage 73 · AdequateModerate 61Details
Commit message · Olaoluwa Osuntokun

Merge pull request #11440 from Roasbeef/fix-longstanding-correctness-bugs

multi: tighten wire, fee and transaction invariants

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathmerge-commit duplicate discountsecond-pass: unusually broad changesecond-pass: security-sensitive path
AI analysis · Moderate 61/100

This is a large bug-fix patch for LND (a Bitcoin Lightning Network node) that tightens correctness rules across many subsystems. It prevents several ways a node could mis-handle channel data, accept bad network gossip, commit corrupted database transactions, miscalculate sweep/close transactions, or read oversized wire messages. The patch is defensive: it adds checks and tests rather than removing functionality, and the release notes describe the changes as fixing 'low-level correctness bugs.'

Lower-priorityMerge pull request #11485 from Roasbeef/pub/sweep-largest-wallet-inputsby Olaoluwa Osuntokun · 2e2c6b57 · Nov 10, 2026 · 9 filesMessage 58 · ThinTriage 0Details
Commit message · Olaoluwa Osuntokun

Merge pull request #11485 from Roasbeef/pub/sweep-largest-wallet-inputs

sweep: bound wallet input selection

58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
merge-commit duplicate discount
Security candidateinvoices: require complete payment collectionby Olaoluwa Osuntokun · 699ea930 · Nov 10, 2026 · 10 filesMessage 80 · StrongModerate 59Details
Commit message · Olaoluwa Osuntokun

invoices: require complete payment collection

In this commit, we distinguish failed released HTLCs from attempts
canceled before preimage release. Once every released HTLC has a final
outcome, an ordinary invoice is settled only if all were collected.
Otherwise we cancel it while retaining the amount actually received.
Persisting the failed state keeps this decision independent of outcome
order and restart.

Expose failed collection and the release decision through RPC. Preserve
the first settlement index when later duplicates finish. Backend,
recovery, replay and RPC regressions cover the persisted outcome
contract. AMP settlement is unchanged.

Signed-off-by: Olaoluwa Osuntokun <laolu32@gmail.com>

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
boot or update path
AI analysis · Moderate 59/100

This commit changes how LND handles multi-part Lightning payments when one part fails after the preimage was already released. Previously, the invoice could be marked as fully paid even if one shard was later reclaimed by the payer on-chain. Now the invoice is canceled when any released shard fails, while still keeping the funds that were successfully collected. This prevents a merchant from incorrectly believing they were paid in full and possibly shipping goods or services based on an invoice that ultimately did not fully settle.

Lower-prioritydocs: add release notes for #11440by Olaoluwa Osuntokun · 43d9b73e · Nov 10, 2026 · 1 fileMessage 65 · AdequateTriage 0Details
Commit message · Olaoluwa Osuntokun

docs: add release notes for #11440

65/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
documentation-only discount
AI review queuedlnwallet: reject a zero CSV delayby Olaoluwa Osuntokun · 266eba7b · Nov 10, 2026 · 3 filesMessage 78 · AdequateModerate 60Details
Commit message · Olaoluwa Osuntokun

lnwallet: reject a zero CSV delay

In this commit, we reject a CSV delay of zero during constraint
verification.

The CSV delay is the time the owner of a commitment must wait before
sweeping their own output, and it is the window the other party has to
respond to a breach. A delay of zero removes that window entirely and
is never a sensible value, but VerifyConstraints only bounded the delay
from above.

VerifyConstraints is the one place every delay passes through:
CommitConstraints calls it for the delay the remote party requires of
us, in both the initiator and responder roles, and the funding manager
calls it for the delay we require of the remote party. Checking for zero
there covers every channel type and both directions.

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
defensive validationsigning or wallet pathsecond-pass: near security thresholdsecond-pass: security-sensitive path
AI analysis · Moderate 60/100

This change tightens the rules for opening Lightning payment channels by refusing a setting called the CSV delay when it is set to zero. The CSV delay is the waiting period a user must endure before reclaiming their own funds from a channel commitment, and it is also the time the other party has to punish a cheating attempt. A zero delay would remove that safety window, so the patch makes it impossible to accept or propose such a channel. The fix is applied at the single central checkpoint that all channel types and both sides of a channel pass through.

Lower-prioritydiscovery: limit zombie marking to channel-level failuresby Olaoluwa Osuntokun · 2549a862 · Nov 10, 2026 · 2 filesMessage 95 · StrongTriage 0Details
Commit message · Olaoluwa Osuntokun

discovery: limit zombie marking to channel-level failures

In this commit, we narrow the set of on-chain validation failures that
mark a channel edge as a zombie.

A zombie entry is keyed only by the short channel ID, so it should
record a fact about the channel at that SCID: either the funding
transaction doesn't exist, or its output has been spent. A funding
script mismatch is different. It means the bitcoin keys in that one
announcement don't commit to the confirmed output, which says nothing
about the channel itself. We now reject such an announcement without
writing a zombie entry.

Invalid announcements still add a peer-scoped reject cache entry and
raise the sender's ban score, and the missing transaction and spent
output cases keep their existing zombie behavior.

The on-chain rejection test now distinguishes the three cases, and its
invalid-output fixture uses a real output built from different bitcoin
keys so that it reaches the script mismatch path.

95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
Security candidatelnwallet+chanstate: keep persisted HTLC data readableby Olaoluwa Osuntokun · 43c74723 · Nov 10, 2026 · 5 filesMessage 73 · AdequateModerate 58Details
Commit message · Olaoluwa Osuntokun

lnwallet+chanstate: keep persisted HTLC data readable

In this commit, we tighten two invariants around the HTLC data we write
to disk.

First, we only attach aux signatures to an HTLC on taproot overlay
channels. The aux signer is configured node wide, so it also sees the
commit_sig of plain channels. Those channels never use aux signatures,
and the count check further down is already gated on the tapscript root
bit, but the attach step wasn't: any aux data unpacked for a plain
channel was copied into the HTLC's custom records and persisted with the
commitment.

Second, SerializeHtlcs now refuses to write an HTLC whose onion and extra
data exceed what ReadElement accepts for a variable length byte slice.
Before, the writer had no bound while the reader capped the field at
66,000 bytes, so an oversized HTLC was written without error but made
the whole channel unreadable on the next load. The reader's limit is now
a named constant that the writer checks against.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
signing boundarysigning or wallet path
AI analysis · Moderate 58/100

This commit fixes two bugs in how Lightning Network channel data is saved to disk. First, it stops extra 'aux' signatures meant only for advanced taproot channels from being saved on ordinary channels, where they don't belong. Second, it prevents a channel from being saved with an HTLC (a routed payment slot) whose attached data is too large to be read back later, which would previously have made the whole channel unrecoverable on restart.

Lower-prioritychainntnfs: adjust spend and dispatch log levelsby Olaoluwa Osuntokun · f84ab1f8 · Nov 10, 2026 · 1 fileMessage 68 · AdequateTriage 0Details
Commit message · Olaoluwa Osuntokun

chainntnfs: adjust spend and dispatch log levels

In this commit, we lower the level of a few notifier log lines.

A spend that carries no witness is reported to the caller as
ErrEmptyWitnessStack, and every backend logs that error and continues.
Logging it at the critical level as well shuts the whole daemon down,
which is far out of proportion: a spend notification can legitimately
match a transaction without witness data, for example a legacy output
watched through the chain notifier RPC. We now log it as an error and
leave the handling to the caller.

We also move the per-request "skipped dispatch" messages from debug to
trace, as they fire for every already-dispatched request on each block
and add little at the debug level.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Lower-priorityMerge pull request #11445 from Roasbeef/onion-message-forwardingby Olaoluwa Osuntokun · e9202563 · Nov 10, 2026 · 4 filesMessage 73 · AdequateTriage 0Details
Commit message · Olaoluwa Osuntokun

Merge pull request #11445 from Roasbeef/onion-message-forwarding

onionmessage: enforce forwarding hop payload rules

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
Lower-priorityMerge pull request #11506 from Roasbeef/docs-ci-runsby Olaoluwa Osuntokun · a27be737 · Nov 10, 2026 · 3 filesMessage 73 · AdequateTriage 0Details
Commit message · Olaoluwa Osuntokun

Merge pull request #11506 from Roasbeef/docs-ci-runs

docs: explain CI triggers, jobs, and caches

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
documentation-only discountmerge-commit duplicate discount
AI review queuedMerge pull request #11374 from bitromortac/20261016-c7e5-dispatchby bitromortac · a9d4ca3b · Nov 9, 2026 · 38 filesMessage 73 · AdequateLow 39Details
Commit message · bitromortac

Merge pull request #11374 from bitromortac/20261016-c7e5-dispatch

bolt12handler+devrpc: dispatch invoice requests and add CreateOffer

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discountsecond-pass: unusually broad change
AI analysis · Low 39/100

This commit adds the first end-to-end BOLT 12 'Offers' flow to LND: a new dev-only RPC and CLI command to create offers, plus a dispatcher that listens for incoming onion-message invoice requests and replies with signed BOLT 12 invoices. It also adds rate/inflight limits and reply-path handling to avoid obvious DoS, but the feature is gated behind dev/native-SQL builds and explicitly marked as not yet returning invoice_error replies for failed requests.

Lower-priorityitest: preserve MPP siblings across restartby yyforyongyu · da45f60f · Nov 8, 2026 · 2 filesMessage 78 · AdequateTriage 0Details
Commit message · yyforyongyu

itest: preserve MPP siblings across restart

Send ordinary MPP shards alongside a fresh child of a settled AMP set
using real onions and the persistent replay log. Require normal HTLC
rejection for the closed set while the ordinary invoice is accepted.

Release the ordinary hold preimage with its payer offline, restart the
receiver, and verify reconnection establishes final invoice credit and
the expected channel balances. Reuse existing stream and restart helpers
without adding goroutines or production hooks.

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Lower-priorityhtlcswitch: persist replay state before settleby yyforyongyu · dee29a93 · Nov 8, 2026 · 2 filesMessage 78 · AdequateTriage 0Details
Commit message · yyforyongyu

htlcswitch: persist replay state before settle

Defer exit-hop callbacks until the existing forwarding-package marker is
durable. A restart can then recover a released preimage through the
processed-package path rather than fail its onion as a replay.

Keep callbacks synchronous and ordered before forwarding packets. Test a
real incoming commitment with a failed marker write: its invoice stays
open and no fulfill reaches the peer. The successful control uses the
real marker store.

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Security candidateinvoices: reject settled AMP set shardsby yyforyongyu · 99e3da37 · Nov 8, 2026 · 2 filesMessage 78 · AdequateModerate 60Details
Commit message · yyforyongyu

invoices: reject settled AMP set shards

Reject a fresh circuit for an already-settled AMP set through the normal
HTLC failure resolution. This avoids an updater error failing the shared
link and disturbing ordinary sibling payments.

Keep the reusable invoice open for distinct sets and verify that the
rejection changes neither stored shards nor paid value.

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
boot or update path
AI analysis · Moderate 60/100

This change fixes a bug in LND's invoice handling for AMP (Atomic Multi-Path) payments. Previously, if someone tried to pay a fresh shard for an AMP set that was already fully paid, the invoice updater could return an internal error that would fail the whole channel link, disrupting other normal payments traveling over the same link. Now, that fresh shard is rejected cleanly as a normal payment failure instead, keeping the channel link and other sibling payments undisturbed. The fix also ensures the already-paid set and accounting remain unchanged.

AI review queuedMerge pull request #11282 from lightningnetwork/elle-base-branch-payment-serviceby Olaoluwa Osuntokun · 11f79be0 · Nov 6, 2026 · 58 filesMessage 73 · AdequateModerate 59Details
Commit message · Olaoluwa Osuntokun

Merge pull request #11282 from lightningnetwork/elle-base-branch-payment-service

multi: add switchrpc external HTLC dispatch subsystem

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discountsecond-pass: unusually broad change
AI analysis · Moderate 59/100

This is a large feature merge for LND that adds a new optional RPC subsystem called switchrpc. It lets an external program hand a pre-built onion packet to LND for direct dispatch over a Lightning channel, instead of LND doing its own pathfinding. The change is opt-in and compiled only when the 'switchrpc' build tag is used. It also reworks how in-flight payment attempts are stored so the same attempt ID cannot be used twice, preventing accidental duplicate payments when an external caller retries after a network timeout. The release notes explicitly warn that running the local router and an external router at the same time is unsafe and can cause loss of funds.

Lower-prioritydocs: add release note for partial channel policy updatesby saubyk · acf4f3f7 · Nov 6, 2026 · 1 fileMessage 62 · AdequateTriage 0Details
Commit message · saubyk

docs: add release note for partial channel policy updates

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
documentation-only discount
Lower-priorityitest: add partial channel policy update testby saubyk · 869dc5ed · Nov 6, 2026 · 2 filesMessage 55 · ThinTriage 0Details
Commit message · saubyk

itest: add partial channel policy update test

55/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
Lower-prioritymulti: allow a policy update to keep existing fieldsby saubyk · c572beab · Nov 6, 2026 · 4 filesMessage 73 · AdequateTriage 0Details
Commit message · saubyk

multi: allow a policy update to keep existing fields

Turn BaseFee, FeeRate and TimeLockDelta of ChannelPolicy into options,
so the local channel manager leaves the matching fields of the current
edge untouched when they're empty. UpdateChannelPolicy keeps setting all
three.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context