EP
← All projectsElements Project

Core Lightning

Modular C implementation of the Lightning Network protocol and node stack.

BitcoinLightning NetworkActive incident
Repository coverage

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

228security candidates319second-pass queue1977AI analyses
103commits · 30 days
223commits · 60 days
710commits · 180 days
1581commits · 365 days
Backfill bands
Aug 5 → Feb 61049 seen37 candidatesComplete
Feb 6 → Jun 6579 seen10 candidatesComplete
Jun 6 → Jul 678 seen1 candidatesComplete
Jul 6 → Aug 5147 seen16 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.

71/100 average clarity
631Strong · 80–100
1400Adequate · 60–79
272Thin · 40–59
31Opaque · 0–39
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
cdecker331217581
daywalker9019315113471
Níckolas Goline961252376
Amperstrand322278
Rusty Russell96977961173
Sangbida Chaudhuri18537157167
Vincenzo Palazzo19714185
Lagrang3115679170
dovgopoly18016165
Dusty Daemon821378066
ShahanaFarooqui931093063
Peter Neuroth1509110074
Analysis record

Published AI watches

Last scanned 7 minutes ago

Informational 15 AI analysisMessage 85 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

doc: bring lightning-downgrade's version list up to v26.12.

This commit only updates documentation. It adds new version entries to the manual page for the lightning-downgrade tool and mentions the tool in the upgrade guide. No code, database logic, or security behavior is changed.

2e7a9f5aby Ken Sedgwick+9−12 files
No security note in commit
Informational 23 AI analysisMessage 66 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

Makefile: install lightning-downgrade.

This is a packaging/build fix, not a security vulnerability. The `lightning-downgrade` utility was being compiled but accidentally left out of the list of programs installed by `make install`. As a result, official release archives contain…

06ea9ba0by Ken Sedgwick+1−01 file
No security note in commit
Low 27 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

wallet: create bwatch tables before backfilling them

This commit fixes a database upgrade bug in Core Lightning. Wallets created with version v26.06.10 were missing two new tables (our_outputs and our_txs) because they skipped the migrations that create them. When users later upgraded, a fol…

Database migration failure could prevent node startup after upgradeFixes missing table creation before data backfillAdds regression test for upgrade path from v26.06.10
ce2a6836by daywalker90+105−02 files
No security note in commit
Informational 15 AI analysisMessage 5 · Opaque
EP Elements ProjectCore Lightning BitcoinLightning Network

v26.12rc1

This commit is a routine version bump from v26.06.10 to v26.12rc1 for Core Lightning. It only updates version strings in packaging files, a changelog, and a lockfile. There are no code changes that introduce, fix, or modify any security-se…

4002c4e9by Níckolas Goline+164−1110 files
No security note in commit
Low 30 AI analysisMessage 68 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

wallet: store payment failure details per groupid

This commit fixes a database bug in Core Lightning where failure details for a payment attempt were being overwritten by later retry attempts that shared the same payment identifier fragment. The fix makes the failure record match on an ad…

Data integrity bug causing incorrect error reporting across payment retry groupsNo memory safety, authentication, authorization, or cryptographic issues presentNo external input is trusted or validated differently
24082c6dby daywalker90+6−34 files
No security note in commit
Low 43 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

cln-plugin: do not panic when the log writer task is gone

This commit fixes a bug in Core Lightning's Rust plugin library where a plugin could crash with a panic if it tried to log a message after the internal log-writing task had already stopped, such as during shutdown. The fix makes the plugin…

panic on send failure replaced with stderr fallbacklog message no longer silently dropped on writer task exitunit test added for dropped-receiver scenario
8661ffabby cdecker+29−11 file
No security note in commit
Informational 15 AI analysisMessage 90 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

docs: explain hsmtool HTLC recovery

This commit only adds documentation to the manual page for an existing command-line tool (hsmtool). It explains how to recover funds from old Lightning payment commitments (HTLCs) after losing channel state. There are no code changes, no n…

f90c140dby Sangbida Chaudhuri+85−01 file
No security note in commit
Informational 15 AI analysisMessage 68 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

tests: make test_delpay_works deterministic

This commit only changes a test file to make a flaky test more reliable. It does not modify any production code, so it has no security impact on real users.

a224ca81by daywalker90+16−161 file
No security note in commit
Informational 20 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

doc: say that listtransactions gives blockheight 0 for a tx not in a block

This commit only updates documentation to explain that the `listtransactions` command reports a block height and transaction index of 0 when a transaction is not currently in a block (for example, because it hasn't been mined yet or was re…

bc281be3by Peter Neuroth+4−42 files
No security note in commit
Informational 20 AI analysisMessage 50 · Thin
EP Elements ProjectCore Lightning BitcoinLightning Network

fixup! pyln-client: don't crash Millisatoshi.to_approx_str() on zero

This is a small bug fix in a Python helper library used by Core Lightning. The Millisatoshi.to_approx_str() method previously crashed with a math error when converting a zero amount to a human-readable string. The patch makes zero return "…

No security-relevant signals presentFix is a routine correctness/robustness improvement
02612ed5by Amartya Singh+4−31 file
No security note in commit
Moderate 62 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

wallet: reject unmodifiable PSBTs in addpsbtoutput/addpsbtinput

This update fixes a crash in two wallet commands, addpsbtoutput and addpsbtinput. These commands let users add extra transaction outputs or inputs to a PSBT (a Bitcoin transaction planning file). If a user supplied a PSBT whose version 2 '…

Daemon crash (assertion failure) on crafted/strict PSBT inputMissing validation of PSBT v2 modifiable flags before mutationUser-controlled input directly passed to libwally without precondition check
42472816by daywalker90+14−12 files
Vendor flagged security relevance
Moderate 59 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

tests: show addpsbtoutput/addpsbtinput crash on an unmodifiable v2 PSBT

This commit only adds a new test case that demonstrates two Core Lightning commands, addpsbtoutput and addpsbtinput, crash with an internal assertion when given a v2 PSBT that does not allow adding inputs or outputs. The test is marked as …

Daemon abort due to failed assertion in PSBT helper functionsRPC commands addpsbtoutput and addpsbtinput lack validation of PSBT modifiability flags before calling libwallyPotential denial-of-service vector: any caller able to submit a crafted v2 PSBT can crash lightningd
42e268abby daywalker90+60−01 file
No security note in commit
Informational 20 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

pyln-client: don't crash Millisatoshi.to_approx_str() on zero

This commit fixes a minor bug in Core Lightning's Python client library where calling a pretty-printing method on a zero-amount payment would crash with a ValueError. It is a routine correctness fix, not a security vulnerability. There is …

5ebe365dby Amartya Singh+3−12 files
No security note in commit
Moderate 59 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

dualopen and splicing: add minimal verification of tx_signatures

This commit adds missing safety checks in Core Lightning when a peer sends signatures for opening or splicing a dual-funded Lightning channel. Before the patch, the software accepted peer-provided transaction witnesses without verifying th…

Missing input validation on peer-provided witness dataBOLT-2 compliance fix for tx_signaturesRejection of empty witness stacks
c6be4f71by Lagrang3+633−97 files
Vendor flagged security relevance
Moderate 54 AI analysisMessage 85 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

channeld: abort_channels no longer fails a channel with a signed splice

This fix prevents a user-issued 'abort channels' command from incorrectly failing a Lightning channel when a splice transaction has already been signed. Previously, the code would pass the latest in-flight splice to a routine that aborts i…

Denial-of-service/availability impact: user-initiated abort could inadvertently fail a funded channelProtocol compliance fix: avoids sending tx_abort after tx_signatures, which BOLT 2 forbidsState-handling bug in splice negotiation lifecycle
c87f5573by Andezion+22−11 file
No security note in commit
Moderate 51 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

lightningd: fix crash on mutual close of an unconfirmed dual-funded channel

This update fixes a bug where a specific type of Lightning channel close could crash the node. It only happens when both parties cooperatively close a dual-funded channel that has not yet been confirmed and has gone through a funding bump …

NULL pointer dereference leading to daemon crash (denial of service)Crash occurs in cooperative-close path for unconfirmed dual-funded/RBF channelsFix uses canonical channel funding key instead of splice-only field
555143beby Sangbida Chaudhuri+9−31 file
Vendor flagged security relevance
High 74 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

cln-grpc: reject malformed request values instead of panicking

This commit fixes a security bug in Core Lightning's gRPC plugin (cln-grpc). Previously, a malformed request from a gRPC client could crash the plugin: bad public keys, hashes, secrets, channel IDs, or enum values triggered Rust 'unwrap()'…

Denial-of-service via malformed gRPC request causing tonic worker task panicDenial-of-service via std::process::exit(1) in ProofField conversion on missing oneofSilent integer truncation of u16/u8 fields via 'as' casts
b2703436by daywalker90+1558−12135 files
Vendor flagged security relevance
Informational 15 AI analysisMessage 51 · Thin
EP Elements ProjectCore Lightning BitcoinLightning Network

nix: drop protobuf again

This commit removes the protobuf package from the Nix build environment because it is no longer needed. A previous change made the cln-grpc component use its own bundled protoc compiler instead of relying on the system one. The Python bind…

a0459eeeby Peter Neuroth+0−11 file
No security note in commit
Informational 15 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

make: check gRPC protos for breaking changes against the last release

This commit adds a new automated check to the project's build process that compares gRPC protocol definitions against the last release to catch accidental breaking changes early. It does not change any runtime code, fix a bug, or introduce…

db5fea70by daywalker90+43−84 files
No security note in commit
Repository ledger

Explore captured commits

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

Lower-priorityaskrene: add test for reservation leaksby Lagrang3 · b8bc77c4 · Mar 17, 2026 · 1 fileMessage 70 · AdequateInformational 12Details
Commit message · Lagrang3

askrene: add test for reservation leaks

Changelog-None.

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>

70/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
AI analysis · Informational 12/100

This commit only adds a new automated test to check that a routing-reservation leak does not occur. It does not change any production code, so by itself it cannot introduce or fix a security vulnerability in running software. The test may be related to a known bug, but the commit message and diff do not describe a fix or disclose security relevance.

AI review queuedpyln-testing: move mnemonic dependency directly into pyln-testingby daywalker90 · 2566266b · Mar 17, 2026 · 3 filesMessage 75 · AdequateInformational 20Details
Commit message · daywalker90

pyln-testing: move mnemonic dependency directly into pyln-testing

When installing only pyln-testing directly it is missing the mnemonic
dependency.

Changelog-None

75/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 20/100

This commit is a routine packaging fix. It moves a Python library called 'mnemonic' from the main project's dependency list into the dependency list of a smaller sub-package (pyln-testing). This ensures that anyone installing only pyln-testing gets the missing library. There is no security vulnerability or code behavior change here.

Lower-prioritychanneld: simplify pending_updates() using HTLC_F_WILL_SENDby Rusty Russell · 5197c441 · Mar 17, 2026 · 3 filesMessage 65 · AdequateLow 27Details
Commit message · Rusty Russell

channeld: simplify pending_updates() using HTLC_F_WILL_SEND

And remove `uncommitted_ok` flag which was always false.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

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

This commit simplifies how Core Lightning decides whether a channel still has unfinished updates before entering a quiet 'STFU' mode. It removes an 'uncommitted_ok' option that was never actually used as true, and replaces a hand-rolled check with a clearer flag named HTLC_F_WILL_SEND. The change also adds temporary debug logging that prints each HTLC's state when STFU is considered. There is no direct evidence in the commit that this fixes a security bug, but any change to state-machine logic around pending updates can affect protocol correctness.

Lower-prioritychanneld: allow outgoing messages through even if they have send STFU.by Rusty Russell · 8e8027d4 · Mar 17, 2026 · 1 fileMessage 85 · StrongLow 43Details
Commit message · Rusty Russell

channeld: allow outgoing messages through even if they have send STFU.

Otherwise, we can hang: we don't send commitment_signed, and they're
waiting to receive it.

1. We defer fee updates, blockheight updates and master requests
(adding and closing htlcs) if we're *trying* or *started* to quiesce.
2. We only stop actually sending commitment_signed if we have sent
STFU.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-EXPERIMENTAL: Protocol: avoid an occasional hang when splicing with a pending closing HTLC.

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

This patch fixes a hang in Core Lightning's experimental splicing feature. Previously, once a node decided to enter 'quiet' mode (STFU) for splicing, it would stop sending all outgoing channel update messages, including the commitment_signed message the other side was waiting for. The fix lets messages that are already in flight go out, and only blocks brand-new activity once STFU has actually been sent. This prevents the two peers from deadlocking during a splice when a closing payment is still pending.

Lower-prioritypytest: fix flake in test_misc.by Rusty Russell · 9810c4e1 · Mar 17, 2026 · 2 filesMessage 78 · AdequateInformational 13Details
Commit message · Rusty Russell

pytest: fix flake in test_misc.

I got a flake, but all I see is:
```

> assert suspended == set()
E AssertionError: assert {'c26485f2839c5a27'} == set()
E
E Extra items in the left set:
E 'c26485f2839c5a27'
E
E Full diff:
E - set()
E + {
E + 'c26485f2839c5a27',
E + }

tests/test_misc.py:5049: AssertionError
```

Add some more diagnostics, but it's also clear that something is being
suspended and not terminating before we finish.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 13/100

This is a test-only reliability fix. A developer saw an occasional test failure where one background tracing call had not finished by the time the test ended. The patch adds a diagnostic line to the trace output and relaxes the test assertion to allow exactly one suspended call at shutdown, rather than requiring zero. There is no indication this affects real users, funds, or network security.

Lower-prioritycommon: add a new WILL_SEND flag to HTLC states.by Rusty Russell · 795b4bc7 · Mar 17, 2026 · 2 filesMessage 68 · AdequateInformational 13Details
Commit message · Rusty Russell

common: add a new WILL_SEND flag to HTLC states.

This is useful for splicing: given an HTLC state, do we need to send
more messages to get it into a non-pending state?

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

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

This commit is a straightforward internal code change in Core Lightning's bookkeeping for payment commitments (HTLCs). It adds a new flag called WILL_SEND to track whether more messages still need to be exchanged before a payment update is fully settled. The change is described by the developer as groundwork for the 'splicing' feature and contains no obvious security fix or vulnerability.

Lower-prioritychore: replace v26.03 version mentions with v26.04by daywalker90 · e63b0afd · Mar 17, 2026 · 8 filesMessage 77 · AdequateInformational 17Details
Commit message · daywalker90

chore: replace v26.03 version mentions with v26.04

Allowing deprecated API's should actually allow them in test_sql_deprecated

77/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
AI analysis · Informational 17/100

This is a routine release-version bump from v26.03 to v26.04 across documentation, generated schema files, and one source file. It also fixes a test so that a deprecated database column is actually allowed when deprecated APIs are enabled. There is no security vulnerability here; it is ordinary release housekeeping.

Lower-prioritymsggen: propagate added and deprecated fieldsby daywalker90 · 2044a91e · Mar 17, 2026 · 17 filesMessage 68 · AdequateInformational 19Details
Commit message · daywalker90

msggen: propagate added and deprecated fields

Whenever we want to add a new rpc command or notification in msggen's `util.py` we get an error during `make`
that the `added` field of that new command or notification is missing even when it's clearly not.
We had to uncomment 2 lines in `patch.py` and override any missing `added` annotation to get it running.
We now pass any `added` or `deprecated` fields from the parent object correctly so we no longer have to do this.

Unfortunately we have commited wrong metadata to `.msggen.json` in the past.
This commit also includes missing `added` annotation for commands added after the `pre-v0.10.1` cutoff and
manual fixes of the metadata in `.msggen.json`

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

This commit fixes a code-generator bug in Core Lightning's message generator (msggen). Previously, newly added RPC commands and fields could fail to build because version metadata wasn't inherited from parent objects. The patch makes the generator propagate 'added' and 'deprecated' annotations correctly and updates the generated RPC model files, gRPC proto, and JSON schema metadata to match. It is a build/tooling correctness fix, not a runtime security patch.

Lower-prioritymsggen: raise oldest supported version to v24.11by daywalker90 · c25183f8 · Mar 17, 2026 · 6 filesMessage 45 · ThinInformational 19Details
Commit message · daywalker90

msggen: raise oldest supported version to v24.11

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

This commit updates Core Lightning's automatic message-schema generator (msggen) so that the oldest supported protocol/API version is raised from v0.10.1 to v24.11. As a result, many fields that were previously marked optional in the generated gRPC/JSON-RPC bindings are now marked required, because modern Core Lightning always returns them. This is a routine compatibility and code-generation cleanup, not a fix for an exploitable vulnerability.

Lower-prioritylighting-cli: fix invalid jsonby Lagrang3 · d365b6d0 · Mar 16, 2026 · 2 filesMessage 68 · AdequateLow 37Details
Commit message · Lagrang3

lighting-cli: fix invalid json

Changelog-Fixed: lightning-cli: fix invalid json requests when input includes a numeric string with leading zeroes

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>

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

This commit fixes a bug in the lightning-cli command-line tool. Previously, if a user typed a numeric string starting with zero (like '0123'), the tool would send it to the lightningd server as a bare number. In JSON, numbers with leading zeros are invalid, so plugins written in Rust or Python could crash when parsing the request. The fix forces such strings to be quoted, making them valid JSON strings instead of invalid numbers. A previously-skipped test that checks for valid JSON from the CLI is re-enabled.

Lower-prioritytests: add test to validate jsonrpcby Lagrang3 · 3b58201c · Mar 16, 2026 · 2 filesMessage 78 · AdequateInformational 11Details
Commit message · Lagrang3

tests: add test to validate jsonrpc

Add test to validate jsonrpc from lightning-cli requests in the case of
numeric strings with leading zeroes.

Changelog-None

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>

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

This commit only adds a new test case (currently skipped) and a tiny helper plugin. It does not change any production code, so it cannot by itself fix or introduce a security vulnerability. The test is meant to check that the lightning-cli command-line tool sends JSON values correctly when a numeric-looking string has a leading zero, which some JSON parsers reject as invalid integers.

Lower-priorityxpay: handle pay ignoring unknown argumentsby Lagrang3 · 7c9fb7e0 · Mar 16, 2026 · 2 filesMessage 68 · AdequateLow 26Details
Commit message · Lagrang3

xpay: handle pay ignoring unknown arguments

Changelog-Fixed: xpay: handle payment redirected from "pay" even if we don't recognize some arguments.

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>

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

This change makes the 'xpay' payment plugin more willing to take over payments that were originally sent to the older 'pay' command. Previously, if 'pay' received an argument that xpay did not understand, xpay would refuse to handle the payment and the older 'pay' logic would run instead. Now xpay logs that it does not recognize the argument, ignores it, and still redirects the payment through xpay. This is a behavior change, not a clear-cut security fix, and could in theory cause payments to be processed with options that xpay silently drops.

Lower-prioritycln-grpc: fix txids encoding in close commandby daywalker90 · 6fa4d320 · Mar 13, 2026 · 3 filesMessage 45 · ThinInformational 24Details
Commit message · daywalker90

cln-grpc: fix txids encoding in close command

Changelog-None

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

This commit fixes how transaction IDs (txids) are encoded when the 'close' command response is sent over the gRPC interface in Core Lightning. Previously, the txids were likely passed through as plain strings instead of being decoded from hex into raw bytes, which could cause the gRPC layer to produce malformed or unexpected data for clients. The fix also updates the code generator so future txid fields are handled correctly in both directions.

Lower-prioritycln-plugin: add a hook builder to make use of before, after and filters optionsby daywalker90 · 376468ff · Mar 13, 2026 · 5 filesMessage 50 · ThinInformational 15Details
Commit message · daywalker90

cln-plugin: add a hook builder to make use of before, after and filters options

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 feature addition to the Rust plugin library used with Core Lightning. It lets plugin authors describe hook ordering and message filters when registering hooks with the lightning node. There is no indication this fixes a security bug or introduces a vulnerability; it is an API enhancement.

Lower-prioritycrates: improved json codec decoding performanceby daywalker90 · a03c9e52 · Mar 13, 2026 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · daywalker90

crates: improved json codec decoding performance

Changelog-None

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 straightforward performance optimization for the JSON message decoder used in Core Lightning's Rust components. It replaces a separator-search helper that scanned from the beginning of the buffer every time with a decoder that remembers where it left off, so it does not re-examine bytes it already checked. There is no security-relevant change here: the message-splitting rule (two consecutive newlines) and the UTF-8 validation remain exactly the same.

Lower-priorityuse const-correct types with strchr, strstr, etc.by Matt Whitlock · 215c5d2b · Mar 7, 2026 · 3 filesMessage 80 · StrongTriage 0Details
Commit message · Matt Whitlock

use const-correct types with strchr, strstr, etc.

Because ccan/config.h #defines _GNU_SOURCE, glibc declares qualifier-
preserving generic prototypes for the twelve "qualifier-losing search
functions" (bsearch, bsearch_s, memchr, strchr, strpbrk, strrchr, strstr,
wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr), even in -std=gnu11 mode.

Several places throughout the code base were calling these search functions
and inadvertently stripping away the constness of their return values,
triggering compilation errors due to -Werror. Fix up these call sites so
that the assignments of their return values do not implicitly discard the
const qualifier.

Changelog-None

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Lower-priorityinstallation.md: Fixed syntax in dependencies script for Fedoraby ScuttoZ · aaee193a · Mar 6, 2026 · 1 fileMessage 50 · ThinInformational 16Details
Commit message · ScuttoZ

installation.md: Fixed syntax in dependencies script for Fedora

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 16/100

This commit fixes a documentation typo in the Fedora install instructions. It swaps two group names to their modern DNF identifiers and adds a missing Python package (python3-mako) needed for building. There is no code change and no security issue.

AI review queuedcurrencyrate: new rust plugin to provide the `currencyconvert` APIby daywalker90 · 09585ee5 · Mar 6, 2026 · 20 filesMessage 65 · AdequateInformational 15Details
Commit message · daywalker90

currencyrate: new rust plugin to provide the `currencyconvert` API

Changelog-Added: new plugin currencyrate to provide `currrencyconvert` API

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
second-pass: unusually broad change
AI analysis · Informational 15/100

This commit introduces a brand-new optional Rust plugin called 'currencyrate' that adds a currency conversion API to Core Lightning. It also updates generated RPC, gRPC, and configuration schema files to expose the plugin's settings. There is no indication in the commit that this fixes a security bug; it is a feature addition.

Lower-prioritycurrencyrate: rename to cln-currencyrate, change options to currencyrate-add/disable-source.by Rusty Russell · db1ad9c3 · Mar 6, 2026 · 17 filesMessage 73 · AdequateInformational 18Details
Commit message · Rusty Russell

currencyrate: rename to cln-currencyrate, change options to currencyrate-add/disable-source.

@daywalker90's was a little *too* faithful a reimplementation of the Python one!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

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

This commit renames the 'currencyrate' plugin to 'cln-currencyrate' and renames its configuration options from generic names like 'add-source' and 'disable-source' to 'currencyrate-add-source' and 'currencyrate-disable-source'. It is a naming cleanup change across build files, generated RPC/protobuf code, documentation, and tests. There is no security fix or vulnerability patch in the visible diff.

Lower-prioritycln-currencyrate: switch algorithm to a more lazy oneby daywalker90 · f3d12d78 · Mar 6, 2026 · 3 filesMessage 73 · AdequateLow 35Details
Commit message · daywalker90

cln-currencyrate: switch algorithm to a more lazy one

Instead of fetching prices on every request with a very short cache TTL
we now start a background task instead with a way longer cache TTL.
The background task fetches prices only from one source by default. If the price
has changed much we fetch from different sources until two sources agree on a price.
The background task exits if there wasn't a request for that currency in some time.

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

This commit rewrites the currency-rate plugin in Core Lightning so it no longer fetches fresh exchange rates on every request. Instead, it starts a background updater that keeps a longer-lived cache and only consults extra sources if prices from different sources drift too far apart. The change also normalizes currency codes to uppercase, rejects zero prices, adds source failure backoff, and stops background tasks when a currency hasn't been requested recently. There is no explicit security bug being fixed; it is a reliability and resource-usage improvement.

Lower-prioritydoc: document default currencyconvert sources.by Rusty Russell · 1a6d4586 · Mar 6, 2026 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · Rusty Russell

doc: document default currencyconvert sources.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit is a documentation-only change. It adds a list of default currency conversion data sources to the manual page for the lightningd configuration. There is no code change and no security relevance.

Lower-priorityCI: shorten job names.by Rusty Russell · 303b8769 · Feb 28, 2026 · 1 fileMessage 63 · AdequateInformational 15Details
Commit message · Rusty Russell

CI: shorten job names.

On the GH action view I can only see "Compile CLN compile-c" which is not enough!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

63/100 · AdequateMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only renames a GitHub Actions CI job from 'Compile CLN ${{ matrix.cfg }}' to 'Build ${{ matrix.cfg }}' so the job name fits better in the GitHub web interface. It does not change any compiled code, build commands, dependencies, or runtime behavior.

AI review queuedCI: Speed up 'min-btc-support' by compiling clang with -O3.by Rusty Russell · 51745124 · Feb 28, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · Rusty Russell

CI: Speed up 'min-btc-support' by compiling clang with -O3.

It's timing out after 2 hours sometimes: this now make it finish in 53
minutes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
documentation-only discountsecond-pass: broader security terminology
AI analysis · Informational 15/100

This commit changes a GitHub Actions CI workflow so that one of the automated test jobs compiles the project with a higher compiler optimization level (-O3) to make the build finish faster and avoid hitting a 2-hour timeout. It does not change any production code, user-facing behavior, or security-sensitive logic.

Lower-priorityCI: Remove setup useradd line, use eatmydataby Rusty Russell · 8dce87f7 · Feb 28, 2026 · 1 fileMessage 80 · StrongInformational 15Details
Commit message · Rusty Russell

CI: Remove setup useradd line, use eatmydata

I noticed this line causing a delay; ChatGPT thinks NSS name lookup.
I've removed the useradd line altogether.

I also install eatmydata first, to try to speed the other installs.

This drops the install step from 1m45 to about 30 seconds.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This is a routine speed-up change to the project's automated build script. It removes an unused user account creation step and installs a small tool called 'eatmydata' earlier so the rest of the package installation runs faster. There is no security issue visible in the change.

Lower-priorityCI: Don't manually install bitcoind again.by Rusty Russell · acdda01c · Feb 28, 2026 · 1 fileMessage 80 · StrongInformational 15Details
Commit message · Rusty Russell

CI: Don't manually install bitcoind again.

.github/scripts/setup.sh does this already, *and* it uses the cache now.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit removes two redundant steps from the project's automated testing workflow. The removed steps manually installed Bitcoin Core (bitcoind), but the setup script already handles that installation and uses caching. There is no security-relevant change to the software itself or to how users interact with it.