LL
← All projectsLightning Labs

LND

Go implementation of a complete Lightning Network node.

BitcoinLightning NetworkNormal
Repository coverage

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

187security candidates237second-pass queue1374AI analyses
164commits · 30 days
267commits · 60 days
640commits · 180 days
1424commits · 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
388Strong · 80–100
838Adequate · 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 Osuntokun29860237474
ziggie49922422265
Elle Mouton26832268167
Yong60926172
ziggieXXX50617170
George Tsagkarelis37335167
LNBiG111173
Jared Tobin909171
yyforyongyu1211574070
bitromortac731154071
Erick Cestari26726070
Suheb746074
Analysis record

Published AI watches

Last scanned 54 minutes ago

Moderate 66 AI analysisMessage 96 · Strong
LL Lightning LabsLND BitcoinLightning Network

channeldb: persist local updates the peer acked before our first revoke (#11268)

This commit fixes a bug in LND's channel database where a specific type of fee update could be lost if a node restarted at a very precise moment during a Lightning channel's setup. If triggered, the node would reject a valid signature from…

Force-closure of a Lightning channel due to state desynchronization after restartLoss of locally initiated fee updates before first local revocationRegression test reproduces restart scenario leading to signature rejection
9f5e2c7bby Olaoluwa Osuntokun+78−133 files
Vendor flagged security relevance
Low 45 AI analysisMessage 73 · Adequate
LL Lightning LabsLND BitcoinLightning Network

Merge pull request #11575 from Roasbeef/rbf-coop-close-lifecycle

This commit fixes bugs in LND's new RBF-style cooperative channel close feature. Previously, fee-bump requests could be dropped or block the peer's main goroutine while waiting for an in-progress offer. The patch buffers those requests ins…

Denial-of-service / liveness fix: fee-bump requests no longer block the peer's `channelManager` goroutine while waiting for an in-flight offer.State consistency fix: buffered fee-bump requests are now part of the FSM state instead of being dropped during shutdown or flush.Resource-leak fix: confirmed RBF closes now tear down the active channel state and switch link for both local and remote-initiated closes.
5597f6f7by Olaoluwa Osuntokun+1538−4248 files
Vendor flagged security relevance
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
Repository ledger

Explore captured commits

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

Lower-prioritypaymentsdb: sort FetchInFlightPayments result by sequence numberby ziggie · 216de55d · Feb 25, 2026 · 1 fileMessage 85 · StrongInformational 18Details
Commit message · ziggie

paymentsdb: sort FetchInFlightPayments result by sequence number

The SQL implementation collects payments into a map before converting
to a slice, resulting in non-deterministic iteration order due to Go's
intentional map randomisation. Sort the result by SequenceNum to produce
a deterministic, insertion-ordered output.

Note that the current sole caller (resumePayments in router.go) processes
each payment independently, so this ordering does not affect any existing
behaviour.

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Informational 18/100

This change fixes a minor non-deterministic ordering bug in the database layer that returns in-flight Lightning payments. Because Go randomizes map iteration order, the list of payments could come back in a different order each time. The patch sorts the results by an internal sequence number so the order is stable. The commit message explicitly states the only current caller processes each payment independently, so existing behavior is unaffected.

AI review queuedpaymentsdb: fix duplicate interface check and down migration drop orderby ziggie · e9a88267 · Feb 25, 2026 · 2 filesMessage 73 · AdequateInformational 18Details
Commit message · ziggie

paymentsdb: fix duplicate interface check and down migration drop order

- Remove duplicate compile-time interface assertion for SQLStore.

- Fix the down migration to drop payment_intents before payments to
respect the foreign key dependency order. This was not a bug in the
first place bc we have the CASCADE when deleting payments.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 18/100

This commit is a minor cleanup in LND's payment database code. It removes a duplicate compile-time type check and reorders two table-drop statements in a database downgrade script. The author notes the reordering was not actually a bug because the database already uses CASCADE deletes. There is no apparent security vulnerability here.

Lower-prioritygraphdb: thread topology update contextby Elle Mouton · 262e9208 · Feb 25, 2026 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · Elle Mouton

graphdb: thread topology update context

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

This is a small internal code-quality change in LND's channel graph database. It replaces a hard-coded placeholder context with a single context variable that is passed through a few related functions. There is no security-relevant behavior change visible in the diff.

Lower-prioritygraphdb: pass context to PruneTipby Elle Mouton · a31c86b0 · Feb 25, 2026 · 6 filesMessage 45 · ThinInformational 18Details
Commit message · Elle Mouton

graphdb: pass context to PruneTip

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

This change simply threads a context.Context argument through the PruneTip database method so callers can pass cancellation/timeout control. The actual implementation still uses context.TODO() in callers and ignores the context in the KV backend, so it is mostly a plumbing/API cleanup with no immediate security effect.

Lower-prioritygraphdb: pass context to ChannelViewby Elle Mouton · 9f855175 · Feb 25, 2026 · 6 filesMessage 45 · ThinInformational 17Details
Commit message · Elle Mouton

graphdb: pass context to ChannelView

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

This change simply threads a request-scoped cancellation context through the ChannelView database call. It does not fix an active bug by itself, but it is a small cleanup that lets long-running graph queries respect cancellation signals. There is no direct security vulnerability visible in the diff.

Lower-prioritygraphdb: pass context to FilterKnownChanIDsby Elle Mouton · 072244ee · Feb 25, 2026 · 6 filesMessage 45 · ThinInformational 15Details
Commit message · Elle Mouton

graphdb: pass context to FilterKnownChanIDs

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

This commit is a routine code cleanup: it threads a request-scoped cancellation context through a graph database helper called FilterKnownChanIDs. Previously the SQL backend created a blank context.TODO() inside the function, while the caller also used context.TODO(). Now the caller's context is passed down, which is better engineering practice but does not by itself fix a security vulnerability. There is no change to access control, cryptography, network behavior, or data validation.

Lower-prioritygraphdb: pass context to FetchChanInfosby Elle Mouton · 46d37a69 · Feb 25, 2026 · 7 filesMessage 45 · ThinInformational 18Details
Commit message · Elle Mouton

graphdb: pass context to FetchChanInfos

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

This change simply threads a cancellation signal (a 'context') through a database lookup function called FetchChanInfos. It does not fix a crash, stop a theft, or close a privacy hole on its own. It is a routine plumbing improvement that lets callers cancel long-running queries cleanly, which can help avoid resource exhaustion in edge cases.

Lower-prioritygraphdb: pass context to AddEdgeProofby Elle Mouton · 68c52060 · Feb 25, 2026 · 6 filesMessage 45 · ThinInformational 15Details
Commit message · Elle Mouton

graphdb: pass context to AddEdgeProof

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

This commit is a routine code cleanup: it threads a request-scoped cancellation context through the AddEdgeProof function instead of creating a blank context.TODO() inside the SQL database path. There is no security-relevant behavior change; it simply lets callers pass their own context for timeouts and cancellation.

Lower-prioritygraphdb: pass context to GraphSessionby Elle Mouton · 0bb0d669 · Feb 25, 2026 · 9 filesMessage 45 · ThinInformational 18Details
Commit message · Elle Mouton

graphdb: pass context to GraphSession

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

This commit is a small internal cleanup: it threads a Go request-lifecycle 'context' through the GraphSession database-query helper so callers can cancel or time out graph lookups. The only concrete behavior change is in the SQL backend, where a hard-coded placeholder context.TODO() is replaced by the caller-supplied context. There is no direct security fix, exploit, or vulnerability visible in the diff, but it removes a future foot-gun where graph queries could not respect cancellation/timeouts.

Lower-prioritygraphdb: pass context to IsClosedScidby Elle Mouton · 8722a96a · Feb 25, 2026 · 9 filesMessage 45 · ThinInformational 14Details
Commit message · Elle Mouton

graphdb: pass context to IsClosedScid

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

This commit is a straightforward internal code cleanup: it threads a request context through the IsClosedScid function and all its callers. The change itself does not fix a crash, bug, or security vulnerability; it merely makes cancellation/timeouts possible for future SQL-backed calls and keeps the API consistent with other functions that already take a context.

Lower-prioritygraphdb: pass context to PutClosedScidby Elle Mouton · 4dcaf1c1 · Feb 25, 2026 · 8 filesMessage 45 · ThinInformational 14Details
Commit message · Elle Mouton

graphdb: pass context to PutClosedScid

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

This change simply threads a request-scoped cancellation signal (a 'context') through a database helper that records closed Lightning channels. It does not fix a crash, stop an attacker, or change any user-visible behavior. The previous code used a placeholder context inside the SQL backend, which meant database operations could not be cancelled cleanly; now the caller's context is passed through so long-running operations can be aborted if the request is cancelled. This is a code-quality and maintainability improvement, not a security patch.

Lower-prioritygraphdb: pass context to DisconnectBlockAtHeightby Elle Mouton · 3dc2efd7 · Feb 25, 2026 · 6 filesMessage 45 · ThinInformational 16Details
Commit message · Elle Mouton

graphdb: pass context to DisconnectBlockAtHeight

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

This is a small internal code cleanup change in LND's channel graph database code. It adds a context.Context parameter to the DisconnectBlockAtHeight function so callers can pass cancellation/timeout information down to the SQL backend. The change does not fix a known security bug and does not introduce an obvious vulnerability. It is a routine refactoring to make the code more consistent and testable.

Lower-prioritygraphdb: pass context to PruneGraphby Elle Mouton · 7dbaa691 · Feb 25, 2026 · 6 filesMessage 45 · ThinInformational 17Details
Commit message · Elle Mouton

graphdb: pass context to PruneGraph

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

This change simply threads a cancellation context through the graph-pruning code paths so the database layer can respect timeouts and cancellation. It is a routine code-quality/refactoring patch with no obvious security flaw or fix. The context is passed as context.TODO() at the call sites, meaning callers are not yet supplying real deadlines, so the immediate practical effect is limited.

Lower-prioritygraphdb: pass context to PruneGraphNodesby Elle Mouton · 13668ce4 · Feb 25, 2026 · 6 filesMessage 45 · ThinInformational 15Details
Commit message · Elle Mouton

graphdb: pass context to PruneGraphNodes

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

This commit is a routine code cleanup: it adds a context.Context parameter to the PruneGraphNodes function so callers can pass cancellation/timeout information. The SQL implementation previously used a placeholder TODO context, and now receives a real context from callers. There is no security-relevant behavior change visible in the diff.

Lower-prioritygraphdb: pass context to IsPublicNodeby Elle Mouton · f62ea62c · Feb 25, 2026 · 8 filesMessage 45 · ThinInformational 19Details
Commit message · Elle Mouton

graphdb: pass context to IsPublicNode

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

This commit is a routine code-quality refactor: it threads a request-scoped cancellation signal (a 'context') through the IsPublicNode database lookup. Previously the SQL backend used a placeholder TODO context, which meant long-running queries could not be cancelled. The change does not alter what the function returns, only how it handles timeouts and cancellation. It is not a security patch in itself, though better context plumbing can help limit resource exhaustion in future hardening.

Lower-prioritygraphdb: pass context to HasV1ChannelEdgeby Elle Mouton · 87ed09a8 · Feb 25, 2026 · 5 filesMessage 45 · ThinInformational 18Details
Commit message · Elle Mouton

graphdb: pass context to HasV1ChannelEdge

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

This commit is a routine code cleanup: it threads a request-scoped cancellation signal (a 'context') into a database lookup function called HasV1ChannelEdge. Previously the SQL database backend used a placeholder context.TODO(), which meant long-running queries could not be cancelled cleanly. The change lets callers cancel or time out the lookup, improving robustness but not directly fixing an exploitable security bug.

Lower-prioritygraphdb: pass context to HasChannelEdgeby Elle Mouton · 3079c07a · Feb 25, 2026 · 7 filesMessage 45 · ThinInformational 19Details
Commit message · Elle Mouton

graphdb: pass context to HasChannelEdge

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

This commit is a routine code-quality change: it threads a request-scoped cancellation signal (a 'context') through a database lookup method called HasChannelEdge. Previously some code paths used a blank, never-cancelling context.TODO(), which meant long-running database queries could not be cancelled. The change lets callers cancel or time out the lookup. It is not a security patch in itself and does not fix a known exploitable bug, but it removes a small source of unbounded work that could contribute to denial-of-service conditions.

Lower-prioritygraphdb: pass context to ChannelIDby Elle Mouton · 397330cb · Feb 25, 2026 · 6 filesMessage 45 · ThinInformational 19Details
Commit message · Elle Mouton

graphdb: pass context to ChannelID

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

This change simply threads a request context through a database lookup function so callers can cancel or time out the operation. It does not fix a vulnerability or change behavior in a security-relevant way.

Lower-prioritygraph/db: thread context through FetchChannelEdgesByOutpointby Elle Mouton · 1d4c6aad · Feb 25, 2026 · 10 filesMessage 50 · ThinInformational 15Details
Commit message · Elle Mouton

graph/db: thread context through FetchChannelEdgesByOutpoint

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

This change is a routine code cleanup: it threads a request-scoped cancellation context through a database lookup function called FetchChannelEdgesByOutpoint. It does not fix a security bug, change behavior, or introduce any new logic. The only effect is that callers can now pass a context, and the SQL backend can use that context instead of a placeholder. The KV backend ignores the context for now.

Lower-prioritygraph/db: thread context through FetchChannelEdgesByIDby Elle Mouton · 6bbb9a32 · Feb 25, 2026 · 14 filesMessage 50 · ThinInformational 19Details
Commit message · Elle Mouton

graph/db: thread context through FetchChannelEdgesByID

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

This change simply passes a request-scoped cancellation signal (a 'context') through a database lookup function called FetchChannelEdgesByID. It does not fix a concrete bug by itself; it is plumbing work that lets future callers cancel long-running queries or propagate deadlines. There is no direct security vulnerability being patched here.

Lower-prioritygraph/db: thread context through DeleteChannelEdgesby Elle Mouton · acdef84d · Feb 25, 2026 · 8 filesMessage 50 · ThinInformational 15Details
Commit message · Elle Mouton

graph/db: thread context through DeleteChannelEdges

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

This change simply passes a request-scoped cancellation signal (a 'context') through the DeleteChannelEdges function and its callers. It does not change what the function does, only how it receives timeout/cancellation information. There is no security vulnerability or fix here.

Lower-prioritygraph/db: thread context through ForEachNodeDirectedChannelby Elle Mouton · 6ccf93c2 · Feb 25, 2026 · 10 filesMessage 50 · ThinInformational 15Details
Commit message · Elle Mouton

graph/db: thread context through ForEachNodeDirectedChannel

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

This change is a routine code cleanup: it threads a request-scoped 'context' parameter through a graph traversal function called ForEachNodeDirectedChannel so that database operations can be cancelled or time out properly. It does not fix a security bug and introduces no user-visible behavior change.

Lower-prioritygraph/db: thread context through NodeUpdatesInHorizonby Elle Mouton · 2f0d2962 · Feb 25, 2026 · 7 filesMessage 50 · ThinInformational 18Details
Commit message · Elle Mouton

graph/db: thread context through NodeUpdatesInHorizon

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

This change simply passes a request-scoped cancellation signal (a 'context') through a database query function called NodeUpdatesInHorizon. It does not fix a crash, bug, or security flaw by itself; it is a routine plumbing/refactoring patch that lets callers cancel long-running queries cleanly. There is no indication it addresses a disclosed vulnerability.

Lower-prioritygraph/db: thread context through FilterChannelRangeby Elle Mouton · bb38aa89 · Feb 25, 2026 · 6 filesMessage 50 · ThinInformational 15Details
Commit message · Elle Mouton

graph/db: thread context through FilterChannelRange

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

This commit is a routine code cleanup: it passes a request-scoped cancellation signal (a 'context') through a database query method called FilterChannelRange. Previously the SQL backend created a blank context internally, while the caller in the network discovery code ignored any context. Now the context is threaded from the caller down to the database. There is no security bug being fixed here; it is a maintainability and consistency improvement.

Lower-prioritygraph/db: thread context through MarkEdgeZombieby Elle Mouton · c2703670 · Feb 25, 2026 · 6 filesMessage 45 · ThinInformational 15Details
Commit message · Elle Mouton

graph/db: thread context through MarkEdgeZombie

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

This change simply passes a request-scoped cancellation signal (a 'context') through the MarkEdgeZombie function and its database backends. It does not alter what the function does, who can call it, or how channel zombie state is decided. There is no security fix or vulnerability here—only a routine code-quality refactor to make the function consistent with the rest of the codebase.