LL
← All projectsLightning Labs

LND

Go implementation of a complete Lightning Network node.

BitcoinLightning NetworkNormal
Repository coverage

1407 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.

142security candidates195second-pass queue1287AI analyses
88commits · 30 days
194commits · 60 days
617commits · 180 days
1245commits · 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.

67/100 average clarity
324Strong · 80–100
661Adequate · 60–79
391Thin · 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 Osuntokun20942204474
Elle Mouton26832268167
ziggie45016413165
Yong28513171
LNBiG111173
Jared Tobin909171
bitromortac661153071
yyforyongyu83861068
Erick Cestari26726070
Andras Banki-Horvath11311072
Gijs van Dam33230073
ziggieXXX2226070
Analysis record

Published AI watches

Last scanned 26 minutes ago

Moderate 62 AI analysisMessage 58 · Thin
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11212 from ziggie1984/disable-legacy-channels

This change stops LND from opening new Lightning channels using the old 'legacy' commitment format. The legacy format makes it harder to recover funds if something goes wrong, because the money owed to you is tied to a secret key that chan…

Prevents opening new channels with the legacy commitment type, whose tweaked to_remote output complicates data-loss recoveryCloses a negotiation path where an empty channel_type TLV bypassed feature checks and forced a legacy channelAdds explicit RPC and wire rejection with a dedicated error code
112cb5f3by ziggieXXX+265−4716 files
Vendor flagged security relevance
Moderate 56 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11223 from gijswijs/legacy-dust-retribution-fix

This update fixes a bug in how LND handles old-style punishment transactions when a channel partner tries to cheat. Previously, tiny (dust) HTLCs were left as blank placeholder entries in the punishment data, which could cause the node to …

nil-pointer dereference risk in breach retribution pathlegacy revocation log handling inconsistency with modern formatdefensive hardening added for trimmed/dust HTLCs
500ca51fby ziggieXXX+168−146 files
No security note in commit
Moderate 62 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11190 from Roasbeef/zpay32-reject-duplicate-payment-hashes

This change tightens how LND reads Lightning invoices (BOLT 11). Previously, if an invoice contained more than one payment hash field, LND would silently keep the first one and ignore the rest. Now it rejects the invoice entirely. The rele…

Behavior change from 'use first duplicate field' to 'reject duplicate fields'New error type ErrDuplicatePaymentHash returned on duplicate payment hash fieldsMalformed/unsupported-length duplicate payment hash now treated as duplicate and rejected
86306f89by Yong+147−106 files
No security note in commit
Moderate 62 AI analysisMessage 98 · Strong
LL Lightning LabsLND BitcoinLightning Network

zpay32: reject duplicate payment hash fields

This change tightens how LND reads Lightning invoices. Previously, if an invoice contained more than one payment hash field, LND would silently keep the first valid one and ignore the rest. Now it rejects such invoices outright. This preve…

Behavioral change from silent first-field acceptance to explicit rejection of duplicate payment hash fieldsPrevents invoice parsing from depending on field ordering when multiple payment hashes are presentCovers malformed first field + valid second field, closing a potential bypass
e2f27063by Olaoluwa Osuntokun+147−106 files
Vendor flagged security relevance
Moderate 53 AI analysisMessage 58 · Thin
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11132 from yyforyongyu/task-11129-pong

This change fixes how LND answers network 'ping' messages from other Lightning nodes. Previously, LND would sometimes silently ignore valid pings to limit reply traffic, which violates the Lightning protocol (BOLT 1) and could make a peer …

Protocol compliance fix: BOLT 1 requires a Pong for every valid PingRemoved silent suppression of Pong replies that could cause peer timeout/misbehaviorUnified rate limiting now accounts for amplification bandwidth, not just ping count
d3d1f1d0by Olaoluwa Osuntokun+274−1715 files
Vendor flagged security relevance
Low 33 AI analysisMessage 90 · Strong
LL Lightning LabsLND BitcoinLightning Network

itest: stop creating legacy channels

This commit updates LND's integration tests to stop using an obsolete 'legacy' channel type and adds a test confirming that LND now rejects that legacy type. The commit message says the real fix is elsewhere in the same pull request: previ…

Deprecated commitment format (legacy) is now rejected by RPCTest added to verify legacy channel type is refusedUnused legacy node configuration flag removed
03d8b09dby ziggie+24−85 files
No security note in commit
Moderate 60 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11198 from gijswijs/amp-setlocal-reconstruction-fix

This change fixes a bug in LND's handling of AMP (Atomic Multi-Path) payments. Previously, if one partial payment set failed to reconstruct its secret preimage, the entire invoice was canceled, including unrelated partial payment sets from…

Denial-of-service against reusable static AMP invoices by causing unrelated accepted HTLC sets to be canceledIncorrect invoice state transition from set-local failure to global invoice cancellationAvailability impact on multi-payer AMP invoice scenarios
88959aecby Olaoluwa Osuntokun+155−44 files
Vendor flagged security relevance
Low 29 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11200 from ziggie1984/build-go-1.27.1

This commit updates the Go programming language version used to build LND from 1.25.13/1.26.6 to 1.26.8 (language version) and 1.27.1 (toolchain). It also regenerates many automatically generated RPC files and adjusts linter settings. The …

Go version bump may indirectly address unlisted runtime/standard-library security fixesLarge regenerated protobuf files suggest dependency/toolchain refresh rather than logic changeLinter configuration expanded to suppress new checks, consistent with a toolchain upgrade
ef4820e5by Olaoluwa Osuntokun+4932−412670 files
No security note in commit
Informational 15 AI analysisMessage 92 · Strong
LL Lightning LabsLND BitcoinLightning Network

build: adopt focused golangci-lint v2.13 checks

This commit is a routine build-maintenance change. It updates the project's Go linter configuration to a newer version and fixes the resulting style warnings: a WebSocket header spelling and several documentation comments that didn't start…

bada7ea3by ziggie+27−1911 files
No security note in commit
Informational 15 AI analysisMessage 68 · Adequate
LL Lightning LabsLND BitcoinLightning Network

lnrpc: regenerate protos with Go 1.27

This commit is a housekeeping change that regenerates automatically generated RPC binding files using a newer Go compiler version. The only differences are in code comments (doc-comment formatting), not in actual program logic or API behav…

dd523108by ziggie+4501−369826 files
No security note in commit
Informational 20 AI analysisMessage 100 · Strong
LL Lightning LabsLND BitcoinLightning Network

build: fix Go 1.27 compatibility

This commit is a routine build-and-test maintenance patch to make the LND codebase compile and pass tests with the upcoming Go 1.27 release. It upgrades the project's custom linter tool, refreshes many indirect tool dependencies, adjusts o…

No production code changesNo vulnerability fix or CVE reference presentDependency-only refresh in tools module (development tooling)
6b54a387by ziggie+365−3706 files
No security note in commit
Informational 15 AI analysisMessage 80 · Strong
LL Lightning LabsLND BitcoinLightning Network

build: bump Go language and toolchain versions

This commit is a routine maintenance update that changes which version of the Go programming language is used to build the lnd project. It does not change any application logic, fix a bug, or address a security vulnerability. The project i…

b1f9ca66by ziggie+39−3930 files
No security note in commit
Moderate 60 AI analysisMessage 83 · Strong
LL Lightning LabsLND BitcoinLightning Network

invoices: cancel only the failing AMP set on reconstruction failure

This commit fixes a bug in LND's invoice handling for reusable AMP (Atomic Multi-Path) invoices. Previously, if one payment set failed to reconstruct its preimage, the entire invoice was canceled, even though other valid payment sets on th…

Denial-of-service-like availability impact: a malicious or buggy payer could cause a whole reusable AMP invoice to be canceled, blocking legitimate concurrent payersSet-local failure incorrectly escalated to invoice-global cancellationRegression test added for concurrent-set survival after reconstruction failure
d74ab6faby Gijs van Dam+141−42 files
No security note in commit
Informational 15 AI analysisMessage 68 · Adequate
LL Lightning LabsLND BitcoinLightning Network

bolt12: describe the lnwire dependency

This is a documentation-only change. A package comment was updated to accurately describe that the bolt12 codec library does depend on LND's lnwire package for low-level message types, while clarifying it still does not interact with the r…

5f53171dby bitromortac+3−21 file
No security note in commit
Moderate 60 AI analysisMessage 91 · Strong
LL Lightning LabsLND BitcoinLightning Network

bolt12: cover the amount overflow guard

This commit adds a test to ensure that when a BOLT 12 invoice is validated against a request, the multiplication of the offer amount by the requested quantity cannot overflow and wrap around to zero. Without this guard, a malicious or malf…

Integer overflow / wraparound in amount calculationMissing test coverage for security-critical branchBOLT 12 invoice amount validation
3c8e2bcbby bitromortac+47−01 file
Vendor flagged security relevance
Low 34 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11061 from bitromortac/2604-bolt12-1f

This commit adds the missing cryptographic signature layer for BOLT 12 offers in LND. It builds a Merkle tree from the message fields, signs that tree with a BIP-340 Schnorr signature, and now rejects invoice requests and invoices whose si…

Adds BIP-340 Schnorr signature verification for BOLT 12 invoice_request and invoice messagesMerkle tree commits to canonical re-encoded TLV records; non-minimal feature/amount encodings now rejected to preserve byte-exactnessSignature TLV type 240 and reserved range 240-1000 excluded from the signed Merkle root
1049d301by Yong+2076−7815 files
Vendor flagged security relevance
Low 35 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11125 from bhandras/codex/reorg-aware-output-lock-20260825

This commit adds a new optional wallet feature to LND that lets users lock UTXOs until the transaction spending them reaches a chosen confirmation depth, instead of relying on a wall-clock timeout. It is a feature addition with safety chec…

New RPC fields release_after_spend_confs and confirmed_spend_height added to LeaseOutput and FundPsbtCustom lock ID enforced as required for confirmation-controlled FundPsbt leases; all-zero and reserved internal IDs rejectedCapability check (ResolveOutputLeaser) prevents silent downgrade to time-only lease when confirmation control is requested
80dde144by Yong+1293−10021 files
No security note in commit
Informational 19 AI analysisMessage 58 · Thin
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #10812 from ziggie1984/chanstate-kv-store-move

This commit is a large internal code reorganization for the LND Lightning node. It moves channel state storage logic from the `channeldb` package into a new `chanstate` package, while keeping the same database keys, serialization formats, …

Large refactoring with no change to cryptographic or consensus-critical logicCodec serialization moved verbatim to new package; wire format unchangedDatabase bucket keys and TLV record types preserved
62b0a073by Olaoluwa Osuntokun+3923−310924 files
No security note in commit
Low 25 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #10804 from GeorgeTsagk/close-immediately-itest-lnd-7c38

This change fixes a data-handling bug in LND's channel-opening code. When opening a Lightning channel using an optional 'auxiliary funding controller' (used for custom channel types such as Taproot Assets), the funding manager was previous…

Data-correctness fix in funding handshake: negotiated channel configs now exposed to auxiliary funding controllerAuxiliary funding controller receives incomplete channel state before patch, complete state after patchNo explicit security claim, CVE, or advisory referenced in commit or supplied materials
1e127653by Olaoluwa Osuntokun+291−254 files
No security note in commit
Moderate 60 AI analysisMessage 88 · Strong
LL Lightning LabsLND BitcoinLightning Network

bolt12: verify invoice_request and invoice signatures on read

This change makes LND's BOLT 12 invoice and invoice-request reader actually check that the digital signature is valid, instead of only checking that a signature field exists. Before, an attacker could craft or modify a BOLT 12 message and …

Missing cryptographic verification on parsed BOLT 12 messages replaced with BIP-340 Schnorr signature verificationReader accepted any 64-byte placeholder signature before the patchNew negative tests verify rejection of wrong-signer and tampered Merkle-root fields
aa8bd19fby bitromortac+272−723 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.

Lower-prioritylnrpc: update docs for `FlapCount` and `LastFlapNs`by yyforyongyu · e50ecac2 · Sep 18, 2025 · 3 filesMessage 50 · ThinInformational 15Details
Commit message · yyforyongyu

lnrpc: update docs for `FlapCount` and `LastFlapNs`

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only updates the human-readable documentation comments for two existing fields in the LND API (FlapCount and LastFlapNs). It adds a note that these fields are only populated when the peer has at least one channel with us. No code logic, behavior, or security controls were changed.

Lower-prioritylntest: fix error msg in `ReceiveChannelEvent`by yyforyongyu · 6c56f33a · Sep 18, 2025 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · yyforyongyu

lntest: fix error msg in `ReceiveChannelEvent`

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100

This commit corrects only a test error message. When a test helper named ReceiveChannelEvent timed out, it previously reported the wrong message about intercepting HTLCs. Now it reports the correct message about receiving channel events. There is no change to production code, no security fix, and no user-facing behavior change.

Lower-prioritychanfitness: only process online events for peers with channelsby yyforyongyu · 92de9424 · Sep 18, 2025 · 1 fileMessage 50 · ThinInformational 16Details
Commit message · yyforyongyu

chanfitness: only process online events for peers with channels

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 16/100

This change fixes a minor logic bug in LND's channel-fitness monitoring. Previously, the code would create a monitoring entry for any peer that came online, even if there was no open channel with that peer. Now it ignores online events from peers that do not have an open channel. This is a correctness and resource-usage improvement, not a security vulnerability.

Lower-prioritychanfitness: send peer online event when we see the first channelby yyforyongyu · 455e4564 · Sep 18, 2025 · 2 filesMessage 73 · AdequateInformational 17Details
Commit message · yyforyongyu

chanfitness: send peer online event when we see the first channel

We rename `getPeerMonitor` to `getOrCreatePeerMonitor` for clarity - it
will now send an online event when the peer monitor is being created,
which means we will only start counting the peer as online when it has
opened a channel with us.

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

This commit fixes a bookkeeping bug in LND's channel-fitness monitoring. Previously, a peer could be counted as 'online' before it had any actual channel with the local node, which could distort uptime and flap-count statistics. Now the monitor only starts tracking a peer as online when the first channel is opened. There is no direct way for an attacker to exploit this, but it could have led to misleading node-reliability metrics.

Security candidateautopilot: fix nil map assignmentby Elle Mouton · a5cf958c · Sep 18, 2025 · 3 filesMessage 60 · AdequateLow 26Details
Commit message · Elle Mouton

autopilot: fix nil map assignment

Use the `clear` call to reset a map on `reset` instead of assigning nil
to the entry.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
signing boundary
AI analysis · Low 26/100

This commit fixes three places in the LND (Lightning Network Daemon) code where a map was being reset by assigning it to nil. The fix uses Go's `clear()` function instead, which empties the map while keeping the underlying map object. This is a code-correctness fix that prevents potential runtime panics if the same map variable is later used after a reset callback runs, but it is not a clear-cut exploitable security vulnerability based on the diff alone.

Lower-prioritymod: update etcd/bbolt lib to newest versionby ziggie · 1dda3764 · Sep 16, 2025 · 4 filesMessage 68 · AdequateLow 45Details
Commit message · ziggie

mod: update etcd/bbolt lib to newest version

Version v1.4.3 has some important bugfixes. We bump both version
in the same go so we do not need to tag the kvdb package and the
latest version of will be used.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Low 45/100

This commit updates two Go library dependencies—bbolt (a database engine used by LND) and pflag (a command-line flag parser)—to newer versions. The commit message says the new bbolt version contains 'important bugfixes,' but it does not say those bugfixes are security issues, and no specific vulnerabilities are named in the commit or supplied references. The change is a routine dependency bump, not a patch to LND's own code.

Lower-prioritydocs: add release-notesby ziggie · 1f23c8b0 · Sep 16, 2025 · 1 fileMessage 40 · ThinInformational 15Details
Commit message · ziggie

docs: add release-notes

40/100 · ThinMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only adds a line to the release notes document describing a previously fixed bug. It does not change any program code, so it cannot by itself introduce or fix a security issue. The release note mentions a sweeper bug where some outputs were not resolved due to an error string mismatch, but no details are provided about whether that bug had security implications.

Lower-prioritysweep: add missing output to the weight estimationby ziggie · d2571983 · Sep 16, 2025 · 2 filesMessage 65 · AdequateLow 42Details
Commit message · ziggie

sweep: add missing output to the weight estimation

When overlay channels are used the extra output needs to be
considered.

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 42/100

This commit fixes a bug in LND's transaction fee estimation when 'overlay channels' are used. Previously, the code forgot to count an extra output when estimating how large (and therefore how expensive) the sweep transaction would be. That could lead to paying too little in fees, making the transaction slow to confirm, or in edge cases disrupt the sweep. The fix adds the missing output to the weight estimate and adds tests to confirm the behavior.

Lower-prioritychainntfs: zero out pkscript in logging when taproot is enabledby ziggie · 22ac4082 · Sep 16, 2025 · 1 fileMessage 50 · ThinInformational 18Details
Commit message · ziggie

chainntfs: zero out pkscript in logging when taproot is enabled

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 18/100

This commit changes a log message in LND's transaction notifier so that when a taproot public-key script is used, the log prints a placeholder instead of the actual script bytes. It is a hardening/logging hygiene change, not a fix for an active vulnerability. There is no evidence it prevents exploitation on its own.

Lower-prioritysweep: fix bug in mock interfaceby ziggie · 5bcea78d · Sep 16, 2025 · 1 fileMessage 45 · ThinInformational 14Details
Commit message · ziggie

sweep: fix bug in mock interface

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 14/100

This commit changes a single value in a test mock file from false to true. It only affects test code, not the real LND software that users run. There is no security issue in production code here.

AI review queuedmulit: use min relay fee errorby ziggie · 9a83b383 · Sep 16, 2025 · 3 filesMessage 45 · ThinLow 40Details
Commit message · ziggie

mulit: use min relay fee error

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Low 40/100

This patch teaches LND to recognize a second type of Bitcoin network fee-rejection error ('minimum relay fee not met') alongside the one it already handled ('mempool minimum fee not met'). Without the change, transactions rejected for the new reason would not be retried or fee-bumped automatically, potentially leaving channel-closing or penalty transactions stuck instead of being rebroadcast with a higher fee.

Lower-prioritymod: update btcwallet version to v16.17by ziggie · a26a7a30 · Sep 16, 2025 · 2 filesMessage 45 · ThinInformational 0Details
Commit message · ziggie

mod: update btcwallet version to v16.17

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 0/100

This commit only updates a dependency version number in LND's build files (go.mod and go.sum). It does not contain any code changes, security explanations, or references to a security issue. There is no evidence in the commit itself that this is a security fix.

Lower-prioritydocs: improve readability of graph SQL workby Elle Mouton · 48674cf2 · Sep 15, 2025 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Elle Mouton

docs: improve readability of graph SQL work

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
AI analysis · Informational 15/100

This commit only reformats the release notes markdown file. It changes how a list of pull request links is displayed (from bullet points to a single bracketed list) with no changes to code, configuration, or documentation content. There is no security relevance.

Lower-prioritydoc: release-notes-0.20.0by MPins · 97f2fbb2 · Sep 12, 2025 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · MPins

doc: release-notes-0.20.0

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only adds a single line to the release notes for version 0.20.0, documenting that a new feature (P2TR fallback addresses in BOLT-11 invoices) was added via a prior pull request. There are no code changes, no bug fixes, and no security-related content in the diff.

Lower-priorityzpay32: add test case for P2TR fallback addressesby MPins · 9d792505 · Sep 12, 2025 · 2 filesMessage 55 · ThinInformational 15Details
Commit message · MPins

zpay32: add test case for P2TR fallback addresses

55/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only adds new test cases for handling Taproot (P2TR) fallback addresses in Lightning invoices. It does not change any production code, fix a bug, or alter security behavior. The change is purely to ensure the existing code correctly recognizes and processes a newer Bitcoin address type in tests.

AI review queuedzpay32: add support for P2TR fallback addressesby MPins · e746df3c · Sep 12, 2025 · 2 filesMessage 45 · ThinLow 37Details
Commit message · MPins

zpay32: add support for P2TR fallback addresses

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
parser or protocol pathsecond-pass: security-sensitive path
AI analysis · Low 37/100

This commit adds support for a new type of Bitcoin fallback address (P2TR, also known as Taproot) when encoding and decoding Lightning Network payment invoices. Previously, LND could not include or read Taproot fallback addresses in invoices. This is a feature addition rather than a clear security fix, but missing support could have caused payment failures or forced users onto older address types when Taproot was preferred.

Lower-prioritydocs: add release notesby Nishant Bansal · 64a841b0 · Sep 11, 2025 · 1 fileMessage 55 · ThinInformational 15Details
Commit message · Nishant Bansal

docs: add release notes

Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>

55/100 · ThinMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only adds documentation to the release notes. It describes a previously merged feature that adds two informational fields to a pending-channel RPC response and stores a confirmation height in the database. There is no code change, no bug fix, and no security relevance in the diff itself.

Lower-priorityitest: add test for ConfirmationsUntilActive and ConfirmationHeightby Nishant Bansal · 8f62efb1 · Sep 11, 2025 · 2 filesMessage 75 · AdequateInformational 15Details
Commit message · Nishant Bansal

itest: add test for ConfirmationsUntilActive and ConfirmationHeight

Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>

75/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit only adds new integration tests for two existing RPC fields, ConfirmationsUntilActive and ConfirmationHeight. It does not change production code, fix a bug, or alter any security-relevant behavior. There is no indication this is a security patch.

Lower-prioritylnrpc+rpcserver: add ConfirmationsUntilActive and ConfirmationHeightby Nishant Bansal · 5fd42ac6 · Sep 11, 2025 · 4 filesMessage 73 · AdequateInformational 15Details
Commit message · Nishant Bansal

lnrpc+rpcserver: add ConfirmationsUntilActive and ConfirmationHeight

Introduce ConfirmationsUntilActive and ConfirmationHeight in
PendingChannelsResponse_PendingChannel. ConfirmationsUntilActive indicates
the remaining confirmations needed for the channel to become active. If the
funding transaction is unconfirmed, ConfirmationsUntilActive defaults to the
total required confirmations (NumConfsRequired). ConfirmationHeight records
the block height at which the funding transaction was first confirmed; if
unconfirmed, it will be 0.

Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>

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

This commit adds two new informational fields to the 'pending channels' API response in LND: one showing how many more block confirmations a channel needs before it becomes active, and another recording the block height where the funding transaction was first confirmed. It is purely a visibility/UX improvement and does not change any security-sensitive logic.

Lower-priorityfunding: persist ConfirmationHeight upon first funding confirmationby Nishant Bansal · ede08a88 · Sep 11, 2025 · 2 filesMessage 73 · AdequateLow 31Details
Commit message · Nishant Bansal

funding: persist ConfirmationHeight upon first funding confirmation

This change ensures that a channel's ConfirmationHeight is recorded in the
database once its funding transaction receives its initial confirmation.
By doing so, we establish a reliable reference point to monitor the
channel's progress toward the required confirmation depth.

Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>

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

This commit changes how LND records when a new Lightning channel's funding transaction is first confirmed on the Bitcoin blockchain. Previously, the exact block height of first confirmation was not reliably saved. Now it is written to the database as soon as the first confirmation is seen, and reset to zero if a blockchain reorganization removes that confirmation. This is a correctness and reliability improvement rather than a fix for an active exploit, but it helps prevent state inconsistencies that could affect channel safety after restarts or reorgs.

Lower-prioritychanneldb: add MarkConfirmationHeight to OpenChannelby Nishant Bansal · 222f49c5 · Sep 11, 2025 · 2 filesMessage 73 · AdequateInformational 12Details
Commit message · Nishant Bansal

channeldb: add MarkConfirmationHeight to OpenChannel

Add the MarkConfirmationHeight method to the OpenChannel struct
to record the block height at which the funding transaction was
first confirmed. Also, introduce the ConfirmationHeight field
to persist this information in the database.

Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>

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

This commit adds a new database field and helper method to record the block height at which a Lightning channel's funding transaction was first confirmed. It is a straightforward data-model and persistence change with no obvious security implications. There is no indication in the commit that this fixes a vulnerability or is being made for security reasons.

Lower-prioritychainntnfs: notify BlockHeight in Updates eventby Nishant Bansal · 7bc63314 · Sep 11, 2025 · 3 filesMessage 68 · AdequateInformational 18Details
Commit message · Nishant Bansal

chainntnfs: notify BlockHeight in Updates event

Enhance the ConfirmationEvent's Updates channel by including the
BlockHeight alongside NumConfsLeft.

Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 18/100

This commit is a small API enhancement for LND's internal transaction notification system. It changes the 'Updates' progress channel so that, instead of only reporting how many confirmations are still needed, it also reports the block height where the transaction was included. There is no indication this fixes a security bug; it appears to be a feature improvement to give callers more information.

Lower-prioritychainntnfs: signal reorg notification before required confirmationsby Nishant Bansal · aa9c3272 · Sep 11, 2025 · 2 filesMessage 73 · AdequateLow 32Details
Commit message · Nishant Bansal

chainntnfs: signal reorg notification before required confirmations

In this commit, we send the reorg notification even when the
transaction has not yet reached the required confirmations, in
case the caller is interested in knowing about it.

Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>

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

This change fixes a notification bug in LND's transaction confirmation tracker. Previously, if a transaction had been seen in a block but had not yet reached the required number of confirmations, and then that block was reorged (removed from the chain), subscribers were not told about the reorg. Now they are notified earlier, so downstream logic can react to the lost confirmation instead of waiting for a confirmation that may never come.

Security candidateMerge pull request #9884 from ellemouton/relaxFeatureBitCheckby Yong · d1d3a820 · Sep 10, 2025 · 1944 filesMessage 73 · AdequateInformational 15Details
Commit message · Yong

Merge pull request #9884 from ellemouton/relaxFeatureBitCheck

multi: use relaxed feature bit `Set` method for peer features

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
cryptography-sensitive pathseed or entropy pathsigning or wallet pathboot or update pathauthentication pathparser or protocol pathmerge-commit duplicate discount
AI analysis · Informational 15/100

This commit is a massive repository import or initial commit adding the entire LND codebase plus CI, docs, and tooling. The PR title mentions relaxing a feature-bit check for peer features, but the supplied diff does not show any code changes related to that title—it only shows newly added files. There is no visible security patch or vulnerability fix in the provided materials.

Lower-prioritynetann: update ChanAnn2 validation to work for P2WSH channelsby Elle Mouton · d68d1fb3 · Sep 1, 2025 · 5 filesMessage 65 · AdequateLow 46Details
Commit message · Elle Mouton

netann: update ChanAnn2 validation to work for P2WSH channels

This commit expands the ChannelAnnouncement2 validation for the case
where it is announcing a P2WSH channel.

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 46/100

This commit updates how LND validates a new style of Lightning channel announcement (ChannelAnnouncement2) so it correctly handles both older P2WSH-style channels and newer P2TR (Taproot) channels. Before this change, the validation logic appears to have assumed P2TR channels, which could have caused LND to reject valid announcements for older P2WSH channels or, in the worst case, accept invalid ones. The change also switches the gossiper from using a raw chain hash to carrying full chain parameters, which is needed to interpret on-chain scripts correctly.