EL
← All projectsElectrum

Electrum

Long-running lightweight Bitcoin wallet for desktop and mobile platforms.

BitcoinSoftware walletsNormal
Repository coverage

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

90security candidates259second-pass queue1003AI analyses
131commits · 30 days
258commits · 60 days
541commits · 180 days
1001commits · 365 days
Backfill bands
Aug 5 → Feb 6470 seen11 candidatesComplete
Feb 6 → Jun 6346 seen10 candidatesComplete
Jun 6 → Jul 653 seen2 candidatesComplete
Jul 6 → Aug 554 seen3 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.

66/100 average clarity
220Strong · 80–100
546Adequate · 60–79
339Thin · 40–59
44Opaque · 0–39
2security candidates 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.
ThomasV137891162
SomberNight39330362063
f321x40124385070
Sander van Grieken10910101057
ghost4341516070
Felix2439072
user323062
ekzyis222053
accumulator613071
Roman Zeyde515053
Sasha Zykov515075
Aaron Fiore414068
Analysis record

Published AI watches

Last scanned 22 minutes ago

Informational 15 AI analysisMessage 78 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10988 from f321x/update_security_review_ci_model

This commit updates Electrum's internal CI (continuous integration) script that runs an automated security review using Anthropic's Claude Code tool. It changes the AI model version used for reviews from 'claude-opus-5' to 'claude-opus-5-5…

CI hardening: detects and reports AI model downgrades during automated security reviewNo changes to application code, cryptography, network protocol, or build artifactsNo privilege escalation, injection, or data-exfiltration vectors introduced by the diff
638fbba8by Felix+75−111 file
No security note in commit
Informational 12 AI analysisMessage 90 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

ci: security review: warn if the model got downgraded

This commit updates Electrum's own CI security-review script. It adds detection and warnings when the automated code reviewer (Claude Code) silently falls back to a different AI model, for example after a content-policy refusal. It does no…

CI-only changeNo modification of wallet, crypto, networking, or build artifactsAdds detection for AI model fallback/downgrade in automated security review
ace2ca7aby f321x+74−101 file
No security note in commit
Low 44 AI analysisMessage 68 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10987 from spesmilo/fix_10986

This commit fixes a bug where Electrum failed to recognize certain already-signed Bitcoin transactions as complete. Specifically, for native SegWit inputs, Bitcoin Core can produce a finalized PSBT with a valid witness but an empty scriptS…

Logic error in transaction completeness detectionNative SegWit witness handling edge casePSBT interoperability issue with Bitcoin Core
bef80421by ghost43+11−02 files
No security note in commit
Low 35 AI analysisMessage 81 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

transaction: treat native segwit input with non-empty witness as complete

This commit fixes a bug where Electrum incorrectly treated finalized Bitcoin transactions as incomplete. Some wallet software (like Bitcoin Core and Sparrow) creates native SegWit transactions that omit an empty placeholder field Electrum …

Logic error in transaction completeness detectionPotential denial of service / user funds stuck due to refusal to broadcast valid finalized transactionInteroperability failure with Bitcoin Core and Sparrow PSBT output
e9bb42e6by ThomasV+11−02 files
No security note in commit
Moderate 68 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10981 from spesmilo/do_not_sign_txin_with_witness

This change prevents Electrum from re-signing Bitcoin transaction inputs that already contain a witness (the data proving the input was authorized). The patch fixes a bug where Electrum could incorrectly sign a non-SegWit input as if it we…

Incorrect signature algorithm selection for non-SegWit inputs when witness data is presentPSBT handling edge case where pre-existing witness data influences signing pathPotential invalid signature production during transaction signing
9da4c342by ThomasV+10−21 file
No security note in commit
Informational 15 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10974 from SomberNight/202609_nostr_psbt_xpub

This commit only adds a long code comment explaining a design choice in Electrum's PSBT-over-Nostr plugin. It does not change any program behavior. The comment documents that the plugin derives each cosigner's Nostr secret key from their B…

Documentation-only changeExplicit design tradeoff disclosure: cosigners can derive each other's Nostr secret keys from shared xpubsNo functional code change
46408a78by ThomasV+13−01 file
No security note in commit
Low 42 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10980 from spesmilo/add_input_from_network_do_not_ignore_exceptions

This is a one-line bugfix in Electrum's transaction handling. Previously, the code accidentally swallowed (hid) almost all exceptions when fetching extra transaction data from the network, only re-raising errors that were both network-rela…

Exception swallowing bug fixedNetwork/transaction input enrichment logic changedSilent failure mode removed
bb9d3280by ghost43+1−11 file
No security note in commit
Moderate 60 AI analysisMessage 58 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10970 from f321x/fix_bolt11_bugs_2

This commit fixes several bugs in Electrum's handling of BOLT11 Lightning invoices. The most user-visible fixes are: stricter validation of invoice amounts (rejecting zero, negative, sub-millisatoshi, and leading-zero amounts), correct pad…

Stricter BOLT11 amount validation prevents acceptance of zero, negative, sub-millisatoshi, and leading-zero amountsFixed int_to_data5 padding bug that corrupted small timestamp values during invoice round-tripMalformed 'r' routing tags now raise exceptions instead of being silently skipped
4b92c0f2by ghost43+82−939 files
No security note in commit
Moderate 61 AI analysisMessage 80 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

add_info_from_network: do not swallow exceptions

Electrum's transaction builder had a bug where it would ignore certain consistency errors when fetching extra transaction data from the network. A malicious or misbehaving server could supply a wrong input amount, and Electrum would silent…

Swallowed exception leading to use of attacker-controlled input valuePSBT input consistency check bypassedPotential malicious Electrum server influence on transaction signing
3f67b21bby ThomasV+1−11 file
Vendor flagged security relevance
Informational 15 AI analysisMessage 60 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

bolt11: remove tag arg from get_routing_info

This is a small code cleanup change. A function that reads routing hints from Lightning invoices no longer takes a tag argument because only one type of routing hint ('r') is now supported. All callers are updated accordingly. There is no …

e78fba28by f321x+12−127 files
No security note in commit
Moderate 62 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10940 from accumulator/fix_10937

This commit tightens how Electrum parses Bitcoin payment requests (BOLT11 lightning invoices and BIP21 URIs). It turns previously uncaught internal errors into proper validation failures, rejects malformed invoice fields that used to be si…

Stricter input validation for externally supplied BOLT11 invoices and BIP21 URIsPreviously uncaught exceptions (ValueError, UnicodeDecodeError, ecc errors) are now wrapped in domain-specific decode exceptionsMalformed fallback addresses are skipped rather than aborting or crashing
a57ef6e7by Felix+707−9610 files
No security note in commit
Low 40 AI analysisMessage 36 · Opaque
EL ElectrumElectrum BitcoinSoftware wallets

bolt11: followup #10940

This commit tightens how Electrum parses BOLT11 Lightning invoices. It now rejects duplicate 'n' (node pubkey) tags instead of silently keeping only the first one, and it rejects invoice timestamps that are negative or too far in the futur…

Stricter validation of invoice timestamp boundsDuplicate 'n' tag now raises an exception instead of being silently droppedFollow-up to prior PR #10940, indicating a recent area of security-sensitive review
3026fbdbby f321x+14−232 files
No security note in commit
Low 32 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10737 from sashazykov/hw-close-wallet-thread-leak

This commit fixes a shutdown bug in Electrum's hardware wallet support. Previously, if disconnecting from a hardware wallet failed, the cleanup thread could keep running, which could crash the application when closing. The fix stops the th…

Process abort/crash at shutdown due to leaked QThreadException during cleanup not handled, potentially causing abnormal terminationHardware wallet client close made best-effort with error logging
5b77ca46by Felix+9−22 files
No security note in commit
Informational 23 AI analysisMessage 58 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10958 from SomberNight/202609_deps

This commit is a routine dependency update for the Electrum Bitcoin wallet. It bumps versions of Python, OpenSSL, secp256k1, and various Python packages used in builds and runtime. The commit itself does not fix any known security bug in E…

Dependency version bumps for cryptographic libraries (OpenSSL, libsecp256k1, electrum-ecc)Routine maintenance commit with no explicit security claimHash-only changes in deterministic requirements files
8bd8c3fbby ghost43+57−5612 files
No security note in commit
Informational 21 AI analysisMessage 58 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10965 from SomberNight/202609_header_checkpoints

This commit only adds new Bitcoin block header checkpoints to Electrum's built-in chain data files. Checkpoints are hardcoded reference points that help the wallet verify it is following the real blockchain and not a fake one. Updating the…

Hardcoded blockchain checkpoints extended for all supported networksNo executable code or cryptographic logic changedNo bug fix, privilege change, or input validation change present
9e0b7e64by ghost43+276−04 files
No security note in commit
Informational 15 AI analysisMessage 58 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

update block header checkpoints

This commit simply refreshes Electrum's built-in list of Bitcoin blockchain checkpoints. Checkpoints are known-good block hashes that help the wallet verify it is following the real chain. The update adds newer checkpoints for mainnet, sig…

e11c579bby SomberNight+276−04 files
No security note in commit
Low 46 AI analysisMessage 58 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10945 from accumulator/stale_utxo_data_fixes

This commit fixes cases where Electrum's wallet cache could hold onto outdated information about coins and transactions after blockchain reorganizations or mempool changes. For example, if a transaction was previously thought to be mined b…

stale cached state after reorg/mempool evictionincorrect confirmation metadata displayed to userscache invalidation added at multiple state transitions
e20b24c0by Felix+132−239 files
No security note in commit
Informational 15 AI analysisMessage 60 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

transaction: add set_mined_info setter to TxInput

This commit is a simple code cleanup: it replaces two repeated lines that set a transaction input's block height and position with a single helper method called set_mined_info. There is no change in behavior, no bug fix, and no security re…

61f71acbby f321x+7−73 files
No security note in commit
Informational 15 AI analysisMessage 60 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

qt/util: consolidate short_id check pattern

This is a small internal code cleanup in the Electrum Bitcoin wallet. It moves the logic that builds a compact transaction identifier (like '123x4') into one shared helper method, and removes a duplicate helper class. There is no user-faci…

2af9e26aby f321x+7−133 files
No security note in commit
Informational 19 AI analysisMessage 85 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

contrib: build appimage: fetch ca-certificates from pinned sources

This commit changes how the Electrum AppImage build container first obtains trusted web certificates. Because the build's pinned Debian package sources use HTTPS, the container needs certificates before it can talk to them. The old method …

build pipeline changetemporary downgrade from HTTPS to HTTP for package bootstrappackage integrity still protected by apt GPG signatures
fd687940by f321x+11−41 file
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-prioritycreate_channel_backup: handle case where peer_addresses list is emptyby ThomasV · c3e900ef · May 6, 2026 · 1 fileMessage 50 · ThinLow 30Details
Commit message · ThomasV

create_channel_backup: handle case where peer_addresses list is empty

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

This commit fixes a crash in Electrum's Lightning channel backup feature. Previously, if a channel had no known peer addresses, the code would try to access the first item of an empty list and fail. The fix safely handles that case by using empty host and port values instead. It is a defensive bug fix that prevents an unhandled exception, but the commit itself does not describe any security relevance.

Lower-prioritybuild: fix regression: support local dev builds also using UID!=1000by SomberNight · b3be2a01 · May 6, 2026 · 4 filesMessage 95 · StrongInformational 15Details
Commit message · SomberNight

build: fix regression: support local dev builds also using UID!=1000

- both "ELECBUILD_COMMIT fresh_clone builds" and "local dev builds"
should work even when the unix user has a different UID than 1000
on the host machine
- though I guess running as root does not work but that's prob ok

issue was:
```
$ echo $UID
1111
$ ./contrib/build-linux/appimage/build.sh
🗯 ERROR: Building outside a git clone is not supported.
```

95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit fixes a build-script bug that prevented developers whose Linux user ID is not 1000 from running Electrum's Docker-based build scripts. It does not change any wallet, network, or cryptographic code, and it does not create a security vulnerability.

Lower-prioritycontrib: build-{linux,wine}: continue fixing build user envby Aaron Fiore · 4800573f · May 6, 2026 · 3 filesMessage 81 · StrongInformational 16Details
Commit message · Aaron Fiore

contrib: build-{linux,wine}: continue fixing build user env

A continuation of 99b0df0f9fdf1d1feb50338091e233d53f9fabc3, as requested
in https://github.com/spesmilo/electrum/pull/10486.

81/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 16/100

This commit adjusts the build environment setup in three Dockerfiles used to compile Electrum packages. It removes a configurable user ID argument and hardcodes the build user as UID 1000, matching another build container. The change is a build-hardening/maintenance fix; it does not appear to fix an active software vulnerability in Electrum itself.

Lower-prioritycontrib: android: make_apk.sh: add/update testnet commentsby Aaron Fiore · 12dfa15e · May 6, 2026 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Aaron Fiore

contrib: android: make_apk.sh: add/update testnet comments

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

This commit only updates comments in a build script for Android. It adds guidance about how to build test versions of the Electrum Android app and warns about a known build issue. No code behavior changes, no security fix or vulnerability introduced.

Lower-prioritybuild: appimage: fix build: bump alpine apk depsby SomberNight · ddc4d2fd · May 6, 2026 · 1 fileMessage 88 · StrongInformational 15Details
Commit message · SomberNight

build: appimage: fix build: bump alpine apk deps

note: magic incantation to clear relevant docker build cache:
```
$ docker builder prune --all
```

build log:
```
$ ./contrib/build-linux/appimage/build.sh
[...]
=> ERROR [2/6] RUN apk add --no-cache bash=5.2.37-r0 alpine-sdk=1.1-r0 util-linux=2.40.4-r1 strace=6.12-r0 file=5.46-r2 autoconf=2.72-r0 automake=1.17-r0 libtool=2.4.7-r3 xz=5.6.3-r1 eudev-dev=3.2.14-r5 gettext- 0.6s
------
> [2/6] RUN apk add --no-cache bash=5.2.37-r0 alpine-sdk=1.1-r0 util-linux=2.40.4-r1 strace=6.12-r0 file=5.46-r2 autoconf=2.72-r0 automake=1.17-r0 libtool=2.4.7-r3 xz=5.6.3-r1 eudev-dev=3.2.14-r5 gettext-dev=0.22.5-r0 linux-headers=6.6-r1 meson=1.6.1-r0 zstd-dev=1.5.6-r2 zstd-static=1.5.6-r2 zlib-dev=1.3.2-r0 zlib-static=1.3.2-r0 clang19=19.1.4-r0 musl-dev=1.2.5-r11 mimalloc2-dev=2.1.7-r0:
0.224 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
0.309 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
0.475 ERROR: unable to select packages:
0.476 xz-5.8.3-r0:
0.476 breaks: world[xz=5.6.3-r1]
0.476 satisfies: gettext-dev-0.22.5-r0[xz]
------
Dockerfile:4
--------------------
3 | # includes dependencies from https://git.alpinelinux.org/aports/tree/main/fuse3/APKBUILD
4 | >>> RUN apk add --no-cache \
5 | >>> bash=5.2.37-r0 \
6 | >>> alpine-sdk=1.1-r0 \
7 | >>> util-linux=2.40.4-r1 \
8 | >>> strace=6.12-r0 \
9 | >>> file=5.46-r2 \
10 | >>> autoconf=2.72-r0 \
11 | >>> automake=1.17-r0 \
12 | >>> libtool=2.4.7-r3 \
13 | >>> xz=5.6.3-r1 \
14 | >>> eudev-dev=3.2.14-r5 \
15 | >>> gettext-dev=0.22.5-r0 \
16 | >>> linux-headers=6.6-r1 \
17 | >>> meson=1.6.1-r0 \
18 | >>> zstd-dev=1.5.6-r2 \
19 | >>> zstd-static=1.5.6-r2 \
20 | >>> zlib-dev=1.3.2-r0 \
21 | >>> zlib-static=1.3.2-r0 \
22 | >>> clang19=19.1.4-r0 \
23 | >>> musl-dev=1.2.5-r11 \
24 | >>> mimalloc2-dev=2.1.7-r0
25 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apk add --no-cache bash=5.2.37-r0 alpine-sdk=1.1-r0 util-linux=2.40.4-r1 strace=6.12-r0 file=5.46-r2 autoconf=2.72-r0 automake=1.17-r0 libtool=2.4.7-r3 xz=5.6.3-r1 eudev-dev=3.2.14-r5 gettext-dev=0.22.5-r0 linux-headers=6.6-r1 meson=1.6.1-r0 zstd-dev=1.5.6-r2 zstd-static=1.5.6-r2 zlib-dev=1.3.2-r0 zlib-static=1.3.2-r0 clang19=19.1.4-r0 musl-dev=1.2.5-r11 mimalloc2-dev=2.1.7-r0" did not complete successfully: exit code: 2
🗯 ERROR: Error building type2-runtime.
```

88/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100

This is a routine build fix for Electrum's Linux AppImage packaging. The Alpine Linux package repository no longer offered an older version of the xz compression library, so the build script was updated to request the newer available version. There is no indication this change fixes or introduces a security vulnerability; it simply makes the automated build work again.

Lower-priorityswaps: server_update_pairs: add named constant for MAX_SWAP_AMTby SomberNight · 8c47499b · May 5, 2026 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · SomberNight

swaps: server_update_pairs: add named constant for MAX_SWAP_AMT

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 minor code cleanup: it replaces a hard-coded number (10,000,000 satoshis) with a named constant called MAX_SWAP_AMT. The value is exactly the same as before, and the developer's own comment says it is only there to reduce accidental damage and is not enforced by the client. There is no security fix here.

Lower-prioritytests: toyserver: calc_sh_history: impl sort order, unconf parent (-1)by SomberNight · b89898ee · May 5, 2026 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · SomberNight

tests: toyserver: calc_sh_history: impl sort order, unconf parent (-1)

60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only changes internal test code for Electrum's 'toyserver' test harness. It improves how the fake server sorts transaction history and handles unconfirmed transactions in tests. There are no changes to production wallet or server code, and no security fix or vulnerability is present.

Lower-prioritytests: toyserver: add tests, implement mempool replacementby SomberNight · 2ccca903 · May 5, 2026 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · SomberNight

tests: toyserver: add tests, implement mempool replacement

60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only changes test code. It adds unit tests and expands a fake 'toy' Electrum server used in automated testing so it can simulate Bitcoin mempool transaction replacement. Nothing in production code is modified, so real Electrum users are not affected.

AI review queuedwallet: make_unsigned_transaction: nicer error msg for bad outputsby SomberNight · b9cb44db · May 5, 2026 · 1 fileMessage 65 · AdequateInformational 15Details
Commit message · SomberNight

wallet: make_unsigned_transaction: nicer error msg for bad outputs

traceback was hard to understand if outputs was a list of TxOutputs
(as opposed to PartialTxOutput)

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit adds a clearer error message inside Electrum's wallet code when a developer passes the wrong kind of transaction output object to a function that builds unsigned transactions. It is a defensive programming/debugging improvement, not a security fix. There is no indication it addresses a vulnerability or changes user-facing behavior beyond producing a more informative error.

Lower-prioritytests: toyserver: move to subdirectoryby SomberNight · 755672d0 · May 5, 2026 · 3 filesMessage 55 · ThinInformational 15Details
Commit message · SomberNight

tests: toyserver: move to subdirectory

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 is a pure test-code reorganization: it moves the existing 'toyserver' helper from a single file into a new subdirectory package and updates the import path in one test file. No production code is changed, no behavior is altered, and there is no security fix or vulnerability introduced.

Lower-prioritytests: toyserver: extend remove_tx to subgraph of transitive childrenby SomberNight · be9b4cbb · May 5, 2026 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · SomberNight

tests: toyserver: extend remove_tx to subgraph of transitive children

60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only changes a test helper file (tests/toyserver.py). It extends a fake Bitcoin server used in Electrum's test suite so that when a transaction is removed from the simulated mempool, all dependent child transactions are also removed. There is no change to production code, no real wallet or network behavior is affected, and no security vulnerability is present in the diff.

Lower-prioritytests: toyserver: add basic remove_tx/reorg functionalityby SomberNight · 62a03ff5 · May 5, 2026 · 3 filesMessage 60 · AdequateInformational 15Details
Commit message · SomberNight

tests: toyserver: add basic remove_tx/reorg functionality

60/100 · AdequateMessage clarity
✓ Specific, 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 test infrastructure. It introduces an ordered set helper class and expands a fake Bitcoin server used in unit tests so it can remove transactions from the mempool and simulate blockchain reorganizations. There is no change to production wallet code, networking, or cryptography, and nothing in the commit suggests a security fix or vulnerability.

Lower-prioritytests: toyserver: add faucetby SomberNight · 0811f3d7 · May 5, 2026 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · SomberNight

tests: toyserver: add faucet

on the road to have our very own shitcoin!

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides an explanatory body✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit only adds a test-only 'faucet' feature to Electrum's internal toy server used by unit tests. It replaces a hard-coded test transaction with a dynamically generated one so tests can create their own fake Bitcoin for testing. There is no change to production wallet code, network handling, or user-facing behavior, and no security issue is present.

Lower-prioritytests/toyserver: track UTXOs, and forbid conflictsby SomberNight · 86ca70d9 · May 5, 2026 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · SomberNight

tests/toyserver: track UTXOs, and forbid conflicts

60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only changes internal test code. It improves a small fake Bitcoin server used during automated tests so that it properly tracks unspent coins and rejects double-spending attempts. No production wallet or network code is affected, and there is no security risk to real users.

Lower-prioritytests: toy_server: move start/stop logicby SomberNight · 2cb11800 · May 5, 2026 · 2 filesMessage 55 · ThinInformational 15Details
Commit message · SomberNight

tests: toy_server: move start/stop logic

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 moves the code that starts and stops a small test server into the test server class itself. It is a cleanup of the test code and does not change any user-facing behavior or fix a security issue.

Lower-prioritytests: split out toy_server from test_interface.pyby SomberNight · 4043d84f · May 5, 2026 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · SomberNight

tests: split out toy_server from test_interface.py

60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This commit is a simple housekeeping change in the project's test code. It moves a helper mock server (used only for automated testing) out of one test file and into a new dedicated file. There is no change to the actual Electrum wallet software that users run, and no security issue is present.

Lower-prioritytests: interface: split ToyServer from ToyServerSessionby SomberNight · d8159dfc · May 5, 2026 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · SomberNight

tests: interface: split ToyServer from ToyServerSession

60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only refactors the test code in Electrum. It splits a mock server class used for unit tests into two parts: a shared 'ToyServer' that holds fake blockchain state, and a 'ToyServerSession' that represents one client connection. No production wallet or network code is changed, and there is no security fix or vulnerability introduced.

Lower-priorityinterface: explain how to make aiorpcx log json trafficby SomberNight · c99879a7 · May 5, 2026 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · SomberNight

interface: explain how to make aiorpcx log json traffic

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

This commit only adds a comment explaining how to enable debug logging of JSON network traffic. No code behavior changes, no security fix or vulnerability introduced.

Lower-prioritylnutil.ChannelType: rm "discard unknown" part from discard_unknown_and_checkby SomberNight · 621eac23 · May 4, 2026 · 4 filesMessage 81 · StrongModerate 57Details
Commit message · SomberNight

lnutil.ChannelType: rm "discard unknown" part from discard_unknown_and_check

This looks more dangerous than useful.
Added in [0], unclear what the original motivation was. Perhaps it was trying to discard the "variation flags" (46/50), which were already being discussed in a BOLTS PR [1] though not yet fully spec-ced out.

from https://github.com/lightning/bolts/blob/a3772650d8ebc06acf457fcadf97968ebfc4dfff/02-peer-protocol.md?plain=1#L811 :

> The sending node:
> - MUST set `channel_type`:
> - SHOULD NOT set it to a type containing a feature which was not negotiated.

[0]: https://github.com/spesmilo/electrum/commit/401a429080ec46960cb73e31f093f3970cc17683
[1]: https://github.com/lightning/bolts/pull/910

81/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Moderate 57/100

This commit removes a helper that silently stripped unknown bits from Lightning channel-type flags during channel setup. Previously, if a peer sent a channel type containing an unrecognized flag, Electrum would drop that flag and continue. Now it keeps the full value and enforces that the peer's channel type exactly matches what Electrum expects and supports. This is a hardening change: it closes a path where a malicious or buggy peer could trick Electrum into accepting a channel type it did not actually agree to.

Lower-prioritylnpeer: refuse new incoming SRK channelsby SomberNight · 6bd6dc1f · May 4, 2026 · 3 filesMessage 45 · ThinLow 42Details
Commit message · SomberNight

lnpeer: refuse new incoming SRK channels

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

This commit changes Electrum's Lightning code so that, by default, it refuses to open new 'static_remotekey' channels unless they also use 'anchors'. Static_remotekey is an older channel type. The change is defensive: it prevents users from accidentally opening a less modern channel type, but it does not fix an active bug or vulnerability in existing channels. The commit message and code comments do not describe this as a security fix.

AI review queuedtests: lnpeer: simplify anchors moreby SomberNight · e2ec6b3c · May 4, 2026 · 6 filesMessage 55 · ThinInformational 15Details
Commit message · SomberNight

tests: lnpeer: simplify anchors more

55/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit only changes test code. It makes anchor channels the default setting for Electrum's Lightning test suite and removes the need to pass an explicit 'has_anchors' flag when creating mock wallets in tests. There is no change to the actual wallet or Lightning code that users run, so it does not affect real-world security.

AI review queuedtests: lnpeer: simplify anchorsby SomberNight · 02847771 · May 4, 2026 · 4 filesMessage 60 · AdequateInformational 15Details
Commit message · SomberNight

tests: lnpeer: simplify anchors

there were too many degrees of freedom - sometimes the fields were actually inconsistent

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This is a test-only cleanup commit. It removes a redundant 'anchor_outputs' parameter from helper functions used in Lightning Network tests and instead derives the channel type from a wallet configuration flag. It also re-enables an internal assertion that was previously commented out. There is no change to production wallet behavior or user-facing security.

AI review queuedLNWallet: set OPT_ANCHOR_REQ for peer, rm config.ENABLE_ANCHOR_CHANNELSby SomberNight · 193ea6da · May 4, 2026 · 6 filesMessage 95 · StrongLow 34Details
Commit message · SomberNight

LNWallet: set OPT_ANCHOR_REQ for peer, rm config.ENABLE_ANCHOR_CHANNELS

- require the OPTION_ANCHORS peer feature
- rm the config.ENABLE_ANCHOR_CHANNELS config var, which some users might have set (maybe even forgot they did)
- instead add a new config.TEST_LN_OPEN_SRK_CHANNELS, explicitly for testing

---

As @f321x said, the intention is:
> This will prevent opening new outgoing and incoming SRK channels.
> It will also prevent connecting to peers that don't signal anchor support at all (INIT features), so existing channels to them would need to get force closed or the peer needs to be bullied into updating their node software.
> Existing SRK channels with peers that signal anchor support (e.g. SRK channel opened to Electrum Trampoline) remain usable.

However the part re preventing new incoming SRK channels is not correct AFAICT. I am fixing that in a later commit in the branch.
This is because, AFAIU BOLT-02, just because we negotiated OPTION_ANCHORS as a peer feature, setting channel_type to an SRK channel in open_channel is still technically valid.

95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Low 34/100

This commit changes Electrum's Lightning wallet so it now requires anchor-style channels by default and removes the old user-facing setting that let people opt out. It replaces the opt-out with a hidden testing-only flag for older channel types. The change is a deliberate protocol hardening step, not a fix for an active exploit, though the commit message notes a follow-up is needed to fully block incoming old-style channels.

Lower-prioritylnonion: rm is_onion_message param from process_onion_packetby Sander van Grieken · 63e0258b · May 4, 2026 · 3 filesMessage 65 · AdequateInformational 15Details
Commit message · Sander van Grieken

lnonion: rm is_onion_message param from process_onion_packet

lnonion.process_onion_packet() can decide internally if the given
onion is a onion message through the tlv_stream_name.

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

This is a small internal code cleanup in Electrum's Lightning onion message handling. It removes a redundant function parameter and lets the code figure out the same thing from an existing parameter. There is no security fix or behavior change visible in the commit.

Lower-prioritylnonion/onion_wire: encrypted_data -> encrypted_recipient_databy f321x · 323bf7b1 · May 4, 2026 · 4 filesMessage 71 · AdequateInformational 18Details
Commit message · f321x

lnonion/onion_wire: encrypted_data -> encrypted_recipient_data

Previously there were different names for the encrypted_recipient_data
field in blinded paths, depending on it being for a onion message
or a blinded payment. This has been unified in the bolts, now it is always
encrypted_recipient_data. This allows to simplify
lnonion.encrypt_hops_recipient_data.
https://github.com/lightning/bolts/commit/3c0fd9ad901eeef9ef6890c1bb85592cbf59e3d3

71/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 18/100

This commit is a routine cleanup to match a recent change in the Lightning Network specifications. It renames a field from 'encrypted_data' to 'encrypted_recipient_data' everywhere and removes an old workaround that handled two different names. There is no indication this fixes a security bug; it is a standards-alignment refactor.