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
1582commits · 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 50 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-prioritylightningd: use inflight->locked_scid instead of db lookup when splice locked.by Rusty Russell · 3cb658a9 · Mar 22, 2026 · 1 fileMessage 65 · AdequateLow 34Details
Commit message · Rusty Russell

lightningd: use inflight->locked_scid instead of db lookup when splice locked.

This means splitting up the deptch_update_scid() a little.

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 34/100

This change fixes how Core Lightning updates a channel's short identifier (SCID) after a 'splice' transaction is locked. Previously, the code looked up the transaction's location in the wallet database to compute the new SCID. Now it uses the SCID already recorded in the in-flight splice object. The change also refactors the update into smaller helper functions. The patch appears to be a correctness or robustness fix for splice handling, but the commit message does not frame it as a security issue.

Lower-prioritylightningd: support watch-for-blockdepth primitive.by Rusty Russell · 70ad8de0 · Mar 22, 2026 · 4 filesMessage 65 · AdequateInformational 15Details
Commit message · Rusty Russell

lightningd: support watch-for-blockdepth primitive.

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

This commit adds a new internal building block that lets Core Lightning watch for blockchain reorganizations and track how many blocks have been added on top of a specific block height. It is purely a new infrastructure feature; there is no bug fix, no reported vulnerability, and no user-facing change described.

Lower-prioritylightningd: change watch_scriptpubkey and watch_blockdepth not to insert exact duplicates.by Rusty Russell · ad315e1f · Mar 22, 2026 · 2 filesMessage 83 · StrongLow 32Details
Commit message · Rusty Russell

lightningd: change watch_scriptpubkey and watch_blockdepth not to insert exact duplicates.

This double-watching is in fact invoked for splicing (on restart, see
tests/test_splicing.py::test_commit_crash_splice) and the "not
creating duplicates" API mirrors the future bwatch API which is persistent.

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

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Low 32/100

This change prevents Core Lightning from registering the same blockchain watch twice. Duplicate watches could cause the same callback to fire multiple times, which during splicing (a way to resize a Lightning channel) after a restart could confuse internal bookkeeping. The patch makes the watch functions return false when an identical watch already exists and removes an unused memory-handling marker from the unwatch function.

Lower-prioritysplice: Add test for easy spliceout commandby Dusty Daemon · bf15842f · Mar 22, 2026 · 2 filesMessage 55 · ThinInformational 15Details
Commit message · Dusty Daemon

splice: Add test for easy spliceout command

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 a new Python client helper and automated tests for an existing 'splice out' Lightning feature. There is no change to the daemon's security-critical code, no bug fix, and no indication of a vulnerability.

Lower-prioritysplice: Add docs for easy spliceout commandby Dusty Daemon · f3dd81fd · Mar 22, 2026 · 4 filesMessage 45 · ThinInformational 15Details
Commit message · Dusty Daemon

splice: Add docs for easy spliceout command

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

This commit only adds documentation and a JSON schema for an existing 'spliceout' command. No code behavior changes, no bug fixes, and no security-related changes are present.

Lower-prioritysplice: Add easy spliceout commandby Dusty Daemon · d9bf9110 · Mar 22, 2026 · 2 filesMessage 68 · AdequateInformational 15Details
Commit message · Dusty Daemon

splice: Add easy spliceout command

Adds a RPC command for easily splicing out. Built on top of the splice script framework.

Changelog-Added: New command `spliceout` for easily splicing out of channels

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

This commit adds a new user-facing command called 'spliceout' that makes it simpler to remove funds from a Lightning channel via splicing. It is a feature addition built on top of an existing splicing framework and does not appear to fix any security issue.

Lower-prioritysplice: Add documentation for spliceinby Dusty Daemon · 3ef72bf4 · Mar 22, 2026 · 4 filesMessage 45 · ThinInformational 15Details
Commit message · Dusty Daemon

splice: Add documentation for splicein

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

This commit only adds documentation for an existing RPC command called splicein. It does not change any executable code, cryptographic logic, network handling, or wallet behavior. There is no security issue here.

Lower-priorityAdd splicein commandby Dusty Daemon · 29119d50 · Mar 22, 2026 · 2 filesMessage 51 · ThinInformational 15Details
Commit message · Dusty Daemon

Add splicein command

splicein is the convience method for splicing in using the splice script system.

Changelog-Added: New command `splicein` allows for convenient splicing funds into a channel

51/100 · ThinMessage clarity
✓ Subject identifies a change✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit adds a new user-facing command called 'splicein' to Core Lightning. It is a convenience wrapper around the existing experimental 'dev-splice' feature, letting users splice additional funds into an existing Lightning channel with a simpler command. The change is purely additive and does not appear to fix any security issue.

Lower-prioritysplice: Add splicein testby Dusty Daemon · 791e412e · Mar 22, 2026 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · Dusty Daemon

splice: Add splicein test

Tests the splicein command

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only adds a new test for an existing feature and a small Python helper to call that feature. There is no change to the actual Core Lightning server code that handles money or network messages, so it does not create or fix a security issue.

Lower-prioritysplice: Let RPC stfu take timeby Dusty Daemon · 07628903 · Mar 20, 2026 · 1 fileMessage 68 · AdequateLow 27Details
Commit message · Dusty Daemon

splice: Let RPC stfu take time

Before we would fail the RPC stfu request if there were pending changes preventing immediate stfu.

Now we relax the policy to allow eventual stfu once the pending changes complete.

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

This change relaxes how a special 'quiet mode' request (called STFU, used during channel splicing in the Lightning protocol) is handled. Previously, if the node couldn't enter quiet mode immediately due to pending updates, it would return an error to the caller. Now it remembers the request and enters quiet mode later once those pending updates finish. This is a behavior/policy change, not a clear security fix, but it removes an error path that could potentially be abused to disrupt or probe splicing operations.

Lower-prioritysplice: test mutli-channel splice script and feesby Dusty Daemon · bb15b37f · Mar 20, 2026 · 1 fileMessage 70 · AdequateInformational 15Details
Commit message · Dusty Daemon

splice: test mutli-channel splice script and fees

Adds tests for multi channel wallet scripts and complex situations involving difficult fee calculations.

70/100 · AdequateMessage clarity
✓ 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 automated tests for an experimental feature called 'splicing,' which lets users resize Lightning payment channels while they are open. It does not change any production code, so it cannot by itself introduce a security vulnerability or fix one. The tests are even marked as expected to fail (xfail) while the feature is being developed.

Lower-prioritysplice script: Update tests to use dynamic feesby Dusty Daemon · bb4b8bb2 · Mar 20, 2026 · 4 filesMessage 70 · AdequateInformational 15Details
Commit message · Dusty Daemon

splice script: Update tests to use dynamic fees

Switch to dynamic fees and stop using `force_feerate` on all tests so we get stricter testing around feerates

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

This commit only changes test files. It updates splicing-related tests to use dynamic fee estimation instead of hardcoded fee rates, removes the `force_feerate=True` flag from splice script tests, fixes a typo in a comment, and splits one large test into smaller named tests. There is no change to production code, so it does not introduce or fix a security vulnerability in the software users run.

Lower-prioritysplice script: Add new PENDING state and logby Dusty Daemon · 96d97ca8 · Mar 20, 2026 · 2 filesMessage 68 · AdequateInformational 15Details
Commit message · Dusty Daemon

splice script: Add new PENDING state and log

We need a new pending state to handle complex wallet funding situations (ie, wallet takes a percentage of funds but pays the onchain fee).

While we’re moving the function earlier in the file along with the debug log function which we move and improve at the same time

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

This commit is a routine code refactor in Core Lightning's splicing plugin. It adds a new 'PENDING' state label for tracking wallet funding situations, moves a debug-logging helper function earlier in the source file, and improves the debug log output. There is no indication of a security fix or vulnerability.

Lower-prioritysplice-script: channel id corner caseby Dusty Daemon · aeff44dc · Mar 20, 2026 · 1 fileMessage 68 · AdequateInformational 23Details
Commit message · Dusty Daemon

splice-script: channel id corner case

On the rare chance a channel id starts with 02 or 03 we need to check of it’s referring to a channel before parsing it node id, instead of after.

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

This commit fixes a rare parsing bug in Core Lightning's splice script feature. When a user typed a channel identifier that happened to start with the same characters as a node public key (02 or 03), the software would first try to interpret it as a node ID and reject it before ever checking whether it was actually a valid channel ID. The fix simply reorders those checks so channel ID lookup happens first. The practical effect is mostly that a few unusual channel IDs can now be used correctly in splice commands; it is not a typical security vulnerability.

Lower-priorityamount: Can add sat convenience methodby Dusty Daemon · bb1674f3 · Mar 20, 2026 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · Dusty Daemon

amount: Can add sat convenience method

Just a convenient method for checking if a given signed sat value can be subtracted from an msat value.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit adds a small helper function that checks whether a signed satoshi value can safely be added to (or subtracted from) a millisatoshi amount without going below zero. It is purely a convenience wrapper around an existing safe arithmetic function and does not change any behavior or fix any bug on its own.

Lower-priorityamount: Add decimal format for msatsby Dusty Daemon · 934def8d · Mar 20, 2026 · 3 filesMessage 68 · AdequateInformational 15Details
Commit message · Dusty Daemon

amount: Add decimal format for msats

In splicing logs we’re often outputting msat values next to sat values, making understanding the logs difficult.

Adding a way to output msats as sats with a decimal makes these logs much easier to read.

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

This commit adds a new helper function that prints millibitcoin amounts as satoshis with a decimal point (for example, 10111 millisatoshis is shown as '10.111sat'). It is purely a logging and display improvement for splicing-related diagnostics. There is no change to how money is handled, validated, or moved.

Lower-prioritysplice: multi channel stfu bugfixby Dusty Daemon · 66b1eed9 · Mar 20, 2026 · 1 fileMessage 68 · AdequateModerate 59Details
Commit message · Dusty Daemon

splice: multi channel stfu bugfix

When executing splices with many channels at once the `channel_ids` and `results` arrays could be reallocted via `tal_arr_remove` and `tal_arr_expand`.

Since these values are shared across multiple `splice_command` objects, when these functions reallocated the arrays the other `splice_command` would be referencing an invalid pointer.

The solution is to make an explicit shared object `stfu_req_info` that is shared amoung the `splice_command`s and holds pointers to the arrays so they can mutate.

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

This commit fixes a memory-handling bug in Core Lightning's 'splice' feature when stopping multiple payment channels at the same time. Previously, several related commands shared the same list of channel IDs and results. If that list was resized in memory, the other commands could end up pointing to freed/invalid memory, which can cause crashes or unpredictable behavior. The fix puts those shared lists into a single explicit shared object so every command sees the updated, valid pointer.

Lower-prioritysplice-script: Memleak fix on failureby Dusty Daemon · 017624b6 · Mar 20, 2026 · 1 fileMessage 68 · AdequateInformational 19Details
Commit message · Dusty Daemon

splice-script: Memleak fix on failure

In some splice script failure modes, some memory is leaked.

These don’t occur in normal operation — just when an error occurs.

This cleans up those memory leaks.

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

This commit fixes two small memory leaks that occur only when a Bitcoin channel-splicing operation fails. The leaks happen in error-handling paths, not during normal successful operation. There is no indication this can be exploited to attack the node or steal funds; it is a cleanup fix for resource management.

Lower-prioritysplice script: Zero out wallet fund requestsby Dusty Daemon · fde4a1ce · Mar 20, 2026 · 2 filesMessage 68 · AdequateInformational 11Details
Commit message · Dusty Daemon

splice script: Zero out wallet fund requests

To prepare for dynamic wallet funding abilities, we pre-process the wallet withdrawls and move them to `needed_funds`. These wallet withdrawl amounts are zero’d out and will have their total withdrawl amount caluclated later on.

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

This commit is a preparatory code change for a future feature. It adds a new field called needed_funds and moves wallet withdrawal amounts into that field, zeroing out the original values so they can be recalculated later. There is no indication in the commit itself that this fixes a security bug or vulnerability.

Lower-prioritysplice script: Turn “wallet -> *” into “wallet -> 100%”by Dusty Daemon · 8843e8c2 · Mar 20, 2026 · 1 fileMessage 73 · AdequateLow 35Details
Commit message · Dusty Daemon

splice script: Turn “wallet -> *” into “wallet -> 100%”

Treat the `*` as if it were `100%` for wallets.

100% is a special case that means “100% of needed funds” not “100% of wallet funds.” since taking out all of the wallet’s inputs is wasteful.

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

This commit fixes how the Core Lightning splicing tool interprets a wallet wildcard ('*'). Previously, the '*' value was stored as a special maximum number (UINT32_MAX) and could behave differently than intended. The change forces '*' to mean 'contribute 100% of the funds needed' rather than potentially being misread as a literal huge percentage. This prevents a splice request from accidentally trying to allocate an impossibly large share of funds, which could cause the splice to fail or behave unexpectedly.

Lower-prioritysplice script: Allow `out_ppm` for walletby Dusty Daemon · 434ef5a7 · Mar 20, 2026 · 1 fileMessage 60 · AdequateLow 28Details
Commit message · Dusty Daemon

splice script: Allow `out_ppm` for wallet

To help manage state around dynamic wallets, we allow `out_ppm` to stay on even after its result is calculated.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 28/100

This small code change relaxes a validation rule in the splicing feature of Core Lightning. Previously, the software rejected any splice action that included an `out_ppm` (output parts-per-million fee rate) on the final step. Now it allows `out_ppm` to remain set if the action is the on-chain wallet. The commit says this is to help manage state around dynamic wallets. There is no direct evidence in the commit or supplied references that this fixes a security vulnerability; it appears to be a functional or state-management adjustment.

Lower-prioritysplice script: Helper functions for dynamic calcsby Dusty Daemon · 13e2a8f7 · Mar 20, 2026 · 1 fileMessage 60 · AdequateInformational 11Details
Commit message · Dusty Daemon

splice script: Helper functions for dynamic calcs

Implement some helper functions to make implemetning dynamic wallet and fee amounts easier.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 11/100

This commit adds internal helper functions for a new 'splice script' feature in Core Lightning. It reorganizes how wallet inputs, outputs, and fees are calculated when splicing a channel. There is no indication in the commit or title that this fixes a security bug; it reads as ordinary feature/refactoring code.

Lower-prioritysplice script: Improve weight guess calculationby Dusty Daemon · 252dd6fd · Mar 20, 2026 · 1 fileMessage 45 · ThinLow 32Details
Commit message · Dusty Daemon

splice script: Improve weight guess calculation

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

This commit fixes how the Core Lightning 'splice' feature estimates the size (and therefore the fee) of a Bitcoin transaction that combines channel funds with on-chain wallet funds. Previously the estimate could miss a wallet input/output or use the wrong witness-size constant, which could lead to constructing a transaction with an incorrect fee. A bad fee estimate can cause the transaction to be rejected by the network or leave funds stuck.

Lower-prioritysplice script: Implement dynamic wallet & feeby Dusty Daemon · 3f3fcac2 · Mar 20, 2026 · 1 fileMessage 80 · StrongInformational 23Details
Commit message · Dusty Daemon

splice script: Implement dynamic wallet & fee

Implementing dynamic wallet amounts and the ability for the wallet to pay fee.

Because wallets increase the fee paying for the fee (due to inputs increasing transaction size), this process must be inherently recursive.

Adding to the complication is that wallets may take a percentage of total funds in the splice before accomodating the fee.

Finally, any percentage based receiver or contributor of funds may also be responsible for the fee.

Supporting all this means we need to build a solver that can be executed repeatidly, solving what can be solved on each pass. Some answers inherently require answers from prior passes.

`calc_in_ppm_and_fee` is the workhorse that handles this recursive problem.

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Informational 23/100

This commit rewrites the fee and wallet-funding arithmetic for Core Lightning's experimental 'splice script' feature. It introduces a multi-pass solver so that wallet inputs, percentage-based contributions, and on-chain fees can be reconciled when users splice funds into or out of a Lightning channel. The change is large and touches delicate monetary calculations, but it is framed by the author as a feature implementation, not a security fix. There is no disclosed vulnerability or incident tied to this commit.

Lower-prioritysplice: Turn on multi-channel, dynamic wallet, smart feesby Dusty Daemon · d924ba5b · Mar 20, 2026 · 2 filesMessage 73 · AdequateLow 26Details
Commit message · Dusty Daemon

splice: Turn on multi-channel, dynamic wallet, smart fees

Enables multi channel splices in splice script
Enables dynamic wallet calculations
Enables dynamic fee calculations

Changelog-Added: Added support for multi (ie 3+) channel splices, dynamic wallet funding, and dynamic fee calculating.

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

This commit removes artificial limits in Core Lightning's experimental splicing feature. It now allows splicing multiple channels at once, using wallet funds dynamically, and calculating fees automatically. These are feature unlocks, not a fix for a known security bug. The change is large in scope and removes safety guards, so it increases the attack surface of a complex feature, but there is no direct evidence it introduces an exploitable vulnerability.