BC
← All projectsBitcoin Core

Bitcoin Core

The Bitcoin network's reference node and wallet implementation.

BitcoinSupply chainNormal
Repository coverage

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

414security candidates738second-pass queue3172AI analyses
176commits · 30 days
332commits · 60 days
1157commits · 180 days
2738commits · 365 days
Backfill bands
Aug 5 → Feb 61351 seen45 candidatesComplete
Feb 6 → Jun 61033 seen63 candidatesComplete
Jun 6 → Jul 6281 seen11 candidatesComplete
Jul 6 → Aug 5207 seen5 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.

73/100 average clarity
1481Strong · 80–100
1227Adequate · 60–79
715Thin · 40–59
88Opaque · 0–39
6security 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.
merge-script438120210589
Antoine Poinsot25422169
Ava Chow22175205071
MarcoFalke41923411074
Hennadii Stepanov25422223067
fanquake24521230058
Lőrinc18221177081
rkrux57957074
Sjors Provoost89889074
Sebastian Falbesoner33733073
David Gumberg55655072
Pieter Wuille95595066
Analysis record

Published AI watches

Last scanned 1 minute ago

Informational 16 AI analysisMessage 80 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

docs: update asmap-data URL with new github org

This is a documentation-only change that updates a single URL in a README file. The old URL still works, but it now points to the current GitHub organization that hosts the asmap-data repository. There is no code change and no security ris…

cd88fbd6by jurraca+1−11 file
No security note in commit
Informational 20 AI analysisMessage 81 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36818: seeds: drop 21.ninja as a makeseeds source

This change removes an outdated web address list (21.ninja) from the instructions Bitcoin developers use when building the list of network seed nodes that ship with new Bitcoin Core releases. The old list had not been updated in about six …

Removal of stale external seed source from release-build documentationSupply-chain risk if compromised domain injects malicious peer addressesNo executable code change; documentation/instructions only
58e9d98fby merge-script+3−41 file
Vendor flagged security relevance
Informational 19 AI analysisMessage 100 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36916: test: avoid BSD ephemeral-port collisions in HTTP clients

This commit fixes a flaky-test problem on FreeBSD and OpenBSD, not a security vulnerability in the Bitcoin Core software users run. The test framework sometimes randomly picked a network source port that collided with a port used by the te…

Fixes self-connect scenario in test HTTP clients on BSDPrevents source-port collision between test client and test listener portsOnly affects test framework, not production node networking
0629982aby Hennadii Stepanov+67−128 files
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36921: test: fix `mining_prioritisetransaction` check that always passes

This commit fixes a test-only bug in a Bitcoin Core functional test. The test was supposed to verify that calling prioritisetransaction causes getblocktemplate to rebuild its block template, but it was actually passing for the wrong reason…

09586041by merge-script+7−51 file
No security note in commit
Moderate 58 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36895: Keep witness stacks in serialized form in CScriptWitness

This change is a defensive memory-optimization refactor for how Bitcoin Core stores transaction witness data. It replaces a structure that used many small memory allocations with a single compact serialized buffer. The primary security ben…

Memory-usage reduction for attacker-controlled transaction witnessesMitigation of resource-exhaustion DoS via large witness stacksImmutable witness representation prevents in-place modification bugs
dd96035eby merge-script+784−24863 files
Vendor flagged security relevance
Informational 15 AI analysisMessage 81 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36967: lint: check copyright headers

This commit is a housekeeping change for Bitcoin Core. It adds a new automated linter that checks whether source files have the correct copyright header, and it updates or adds those headers across 27 files. There is no change to how Bitco…

859de225by merge-script+138−2227 files
No security note in commit
Low 37 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36716: net: only monitor select exceptions while connecting

This change fixes a networking quirk in Bitcoin Core where the program could be woken up repeatedly by a rare TCP 'urgent data' signal, even though there was no real data to read. The fix makes the program only watch for that signal while …

Avoids spurious wakeups from TCP urgent data on select()-based buildsReduces CPU-waste / small-scale denial-of-service surface from malicious or misbehaving peersAdds explicit ErrorEvent opt-in to Sock::Wait() API
63a3c032by merge-script+52−84 files
Vendor flagged security relevance
Moderate 53 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#34193: wallet: make migration more robust against failures

This Bitcoin Core update hardens the wallet migration tool so that if something goes wrong while converting an old wallet to the new SQLite format, the original wallet is preserved or restored automatically instead of being left in a broke…

Original migration code deleted the legacy BDB file before the new SQLite database was fully created, risking data loss on failureNew migration builds SQLite database in a temporary path and atomically moves it only after successful record writeLeftover SQLite journal at destination is now rejected to prevent rollback corruption of the migrated database
0e8f70a8by Ava Chow+335−1117 files
Vendor flagged security relevance
Informational 16 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36958: test: drop `jinja2` dependency from `combine_logs.py`

This commit removes an optional HTML output feature from a Bitcoin Core test helper script called combine_logs.py. The change drops the third-party jinja2 library and the associated --html command-line option. There is no security fix here…

b19f0dafby merge-script+3−632 files
No security note in commit
Informational 15 AI analysisMessage 96 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36950: test, bench: construct inputs/outputs declaratively in descriptor, bip352, group_outputs and ephemeral spends

This commit only refactors how test and benchmark code builds Bitcoin transactions. It replaces imperative 'resize then fill' patterns with declarative lists of inputs and outputs. The pull request explicitly states there is no change in b…

4cf0f7c8by merge-script+18−113 files
No security note in commit
Informational 15 AI analysisMessage 96 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36966: bench: fix `InputType` ODR violation

This change fixes a C++ programming rule violation where two unrelated pieces of benchmark code happened to use the same name, 'InputType', for slightly different lists of Bitcoin address types. With whole-program optimization enabled, thi…

ODR violation in benchmark-only codeNo runtime security boundary crossedNo input parsing, network, wallet, or consensus code modified
47187d81by Hennadii Stepanov+7−13 files
No security note in commit
Informational 15 AI analysisMessage 100 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36830: test: make `tx_mempool_block_doublespend` cases independent

This commit only changes a test file. It reorganizes an existing test into four separate, independent test cases and makes the two test transactions slightly different so the test correctly checks that a mempool transaction is rejected as …

edcac283by merge-script+54−501 file
No security note in commit
Moderate 62 AI analysisMessage 96 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36293: contrib: exclude inactive keys from the binary quorum by default

This change fixes a flaw in Bitcoin Core's release-binary verification helper script. Previously, signatures made with expired or revoked developer keys were counted as valid toward the required number of 'good' signatures. That meant an a…

Logic flaw in trust threshold countingExpired/revoked signatures previously treated as good signaturesResponsible disclosure by external Red Team
c4112b4eby Ava Chow+125−153 files
Vendor flagged security relevance
Informational 18 AI analysisMessage 81 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#34909: wallet, refactor: modularise wallet by extracting out legacy wallet migration

This commit is a code cleanup: it moves the legacy wallet migration code out of the large wallet/wallet.cpp file into a new dedicated file wallet/migration.cpp, renames the old BerkeleyDB helper file from migrate.h/.cpp to legacybdb.h/.cpp…

No security-relevant change claimed by the author or reviewersCode is described as move-only / refactor and reviewers recommend --color-moved=dimmed-zebraNo functional changes to migration logic, database handling, or wallet settings behavior
01edf546by merge-script+869−83716 files
No security note in commit
Informational 15 AI analysisMessage 81 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36773: doc: fix up some release notes

This commit only updates release-note documentation files and adds a lint check to ensure those files reference their associated pull request number. It does not change any executable code, network behavior, wallet logic, or RPC behavior, …

dbe9eacdby merge-script+82−5824 files
No security note in commit
Moderate 62 AI analysisMessage 100 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36908: mining: avoid checkBlock crash when chain has no tip

This update fixes a crash in Bitcoin Core that could happen right after starting the node with an empty data directory or during a blockchain reindex. If an external program called the mining interface's checkBlock function in a brief wind…

Denial-of-service vector: external IPC client can crash the node during startupAssertion failure in TestBlockValidity due to null chain tipRace condition between chainstate load and genesis block connection
9fa6aa50by Ryan Ofsky+13−53 files
Vendor flagged security relevance
Informational 15 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36863: test: fix wallet tests that check the wrong wallet

This commit fixes two mistakes in Bitcoin Core's automated test scripts. In one test, the code was accidentally checking the wrong digital wallet (w7 instead of w8), so it never verified that a new 'avoid reuse' wallet worked correctly. In…

08ca210aby merge-script+16−142 files
No security note in commit
Informational 19 AI analysisMessage 81 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#35474: node: move index ownership to NodeContext

This is a code-cleanup change in Bitcoin Core that moves ownership of several optional indexes (used to look up transactions, block filters, and coin statistics) from global variables into the NodeContext object. The pull request descripti…

Removal of global mutable state for indexesIntroduction of custom IndexDeleter to manage index lifetimes within NodeContextPeerManager now uses an injected callback for block filter index lookup instead of a global function
9c73fc80by merge-script+207−20130 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-prioritymempool: log if we detect a non-optimal mempoolby Greg Sanders · a3fb3dd5 · Feb 20, 2026 · 1 fileMessage 68 · AdequateInformational 18Details
Commit message · Greg Sanders

mempool: log if we detect a non-optimal mempool

We expect this to be rare in practice, and to not be the
usual state of the mempool. If we we detect non-optimal
ordering after a DoWork() invocation, allow this to be
observed in MEMPOOL logs.

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

This commit only adds extra logging messages. It does not change how the mempool behaves or fix any bug. It lets developers see, via debug logs, when the mempool's internal transaction ordering is not in the best possible state after routine events such as adding transactions, handling blockchain reorganizations, or processing a new block. The change is observability-only and not a security patch.

AI review queuedleveldb: remove unused filesby fanquake · 3feabb20 · Feb 20, 2026 · 1 fileMessage 35 · OpaqueInformational 15Details
Commit message · fanquake

leveldb: remove unused files

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Informational 15/100

This commit removes three source files from the LevelDB build list in Bitcoin Core's CMake configuration. The files (c.cc, dumpfile.cc, histogram.cc) are reportedly unused. This is a routine build cleanup with no apparent security relevance.

AI review queuedguix: use a temporary file over spongeby fanquake · c86bce59 · Feb 20, 2026 · 3 filesMessage 25 · OpaqueInformational 17Details
Commit message · fanquake

guix: use a temporary file over sponge

Remove sponge (moreutils).

25/100 · OpaqueMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body! Contains work-in-progress language
Why it was queued
signing or wallet pathsecond-pass: opaque commit messagesecond-pass: security-sensitive path
AI analysis · Informational 17/100

This commit changes the Bitcoin Core Guix build scripts to stop using the 'sponge' tool from the 'moreutils' package. Instead of writing a checksum file directly through a pipeline, the scripts now write to a temporary file and then move it into place. This removes a third-party dependency from the trusted build environment, which is a hardening improvement rather than a fix for a known active vulnerability.

Lower-priorityqt: Update src/qt/locale/bitcoin_en.xlf after string freezeby Hennadii Stepanov · ef987683 · Feb 20, 2026 · 3 filesMessage 81 · StrongInformational 15Details
Commit message · Hennadii Stepanov

qt: Update src/qt/locale/bitcoin_en.xlf after string freeze

New plurals have been adjusted manually according to the translation
process documentation:
https://github.com/bitcoin/bitcoin/blob/master/doc/translation_process.md#handling-plurals-in-source-files

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

This commit is a routine update of the English translation files for the Bitcoin Core graphical user interface. It adds, removes, and reorders user-facing text strings so that translators can work with the latest version of the software. There is no code that changes how the program behaves, and nothing in the commit fixes or introduces a security problem.

Security candidateRevert "ci: Treat SHA1 LLVM signing key as warning"by will · 3574905c · Feb 20, 2026 · 1 fileMessage 65 · AdequateInformational 18Details
Commit message · will

Revert "ci: Treat SHA1 LLVM signing key as warning"

This reverts commit 3c8f5e48f710313de78bcbfafd09fed71890d754.

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
signing boundary
AI analysis · Informational 18/100

This commit removes a temporary workaround in Bitcoin Core's automated testing setup that relaxed a security policy for checking the cryptographic signature on LLVM's software repository. The workaround was added because LLVM's signing key still used the older SHA1 hash algorithm, which newer Linux systems began rejecting. Now that LLVM has fixed its key, the workaround is no longer needed and is being removed. This is a cleanup change that restores normal, stricter security checks in the continuous integration (CI) environment. It does not change the Bitcoin Core software that users run.

Lower-prioritytest: Fixup assert_debug_log timeouts in feature_config_args.pyby MarcoFalke · fa4424fd · Feb 20, 2026 · 1 fileMessage 100 · StrongInformational 15Details
Commit message · MarcoFalke

test: Fixup assert_debug_log timeouts in feature_config_args.py

* The bitcoin.conf related checks do not need any timeout, because the
logging happens in the main thread, before the node is fully started.
* The net thread related checks do need a timeout, because the threads
may be late to start after the node is fully started.

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

This is a minor test-only change in Bitcoin Core's own test suite. It adjusts how long the tests wait for certain log messages to appear, removing unnecessary waits for some checks and adding short waits for others. It does not change the Bitcoin software that users run and has no security impact.

Lower-prioritytest: Add missing syncwithvalidationinterfacequeueby MarcoFalke · faed837f · Feb 20, 2026 · 1 fileMessage 85 · StrongInformational 13Details
Commit message · MarcoFalke

test: Add missing syncwithvalidationinterfacequeue

This is required to actually erase the orphan transaction when the
BlockConnected event is handled in the background validation interface
queue thread.

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 13/100

This commit fixes a timing issue in a Bitcoin Core functional test. The test checks that orphan transactions are removed when a block connects, but the check was running before a background queue had finished processing the block. Adding a synchronization call makes the test wait for that background work, so the test reliably sees the expected log message. It does not change production node behavior or fix a security bug in the Bitcoin protocol.

Lower-priorityMinimize mempool lock, sync txo spender index only when and if neededby sstone · 0b96b9c6 · Feb 19, 2026 · 2 filesMessage 73 · AdequateLow 25Details
Commit message · sstone

Minimize mempool lock, sync txo spender index only when and if needed

We sync txospenderindex after we've checked the mempool for spending transaction, and only if search is not limited to the mempool and no
spending transactions have been found for some of the provided outpoints.
This should minimize the chance of having a block containing a spending transaction that is no longer in the mempool but has not been indexed yet.

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

This commit tightens the timing of when Bitcoin Core's RPC call 'gettxspendingprevout' consults the optional on-disk 'txo spender index'. Previously, the code would wait for that index to finish syncing before even looking at the mempool. Now it searches the mempool first, releases the mempool lock, and only then waits for the index if it actually needs to. The goal is to reduce a small window where a block has just arrived, the spending transaction left the mempool, but the index hasn't recorded it yet, so the RPC could incorrectly report no spender. It is a robustness improvement, not a fix for a clear exploit.

Lower-prioritytest: addrman: successive failures in the last week for IsTerribleby brunoerg · 6202acd2 · Feb 19, 2026 · 1 fileMessage 72 · AdequateInformational 12Details
Commit message · brunoerg

test: addrman: successive failures in the last week for IsTerrible

72/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 12/100

This commit only adds a new unit test for Bitcoin Core's address manager. It checks that an address with many recent connection failures is correctly marked as 'terrible' and filtered out when peers are returned, while still remaining in the unfiltered list. There is no change to production code.

Lower-priorityrpc: add coinbase_tx field to getblockby Sjors Provoost · e0463b4e · Feb 19, 2026 · 3 filesMessage 68 · AdequateInformational 18Details
Commit message · Sjors Provoost

rpc: add coinbase_tx field to getblock

This adds a "coinbase_tx" field to the getblock RPC result, starting
at verbosity level 1. It contains only fields guaranteed to be small,
i.e. not the outputs.

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

This change adds a new convenience field called coinbase_tx to the getblock RPC response in Bitcoin Core. It exposes only small, already-public metadata about the first transaction in a block (the coinbase transaction), such as version, locktime, sequence, coinbase script, and witness data. It does not expose transaction outputs or any new sensitive data. This is a feature addition, not a security fix or vulnerability.

Lower-prioritydoc: add release notes for Tor PoW defensesby Vasil Dimov · c68e3d2c · Feb 19, 2026 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · Vasil Dimov

doc: add release notes for Tor PoW defenses

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

This commit only adds a release note describing a previously implemented feature: automatic Tor hidden services created by Bitcoin Core will use Tor's proof-of-work (PoW) defenses when supported by the Tor daemon. The commit itself changes only documentation and contains no code.

Lower-prioritydoc: add a hint to enable PoW defenses to manual hidden servicesby Vasil Dimov · 4bae84c9 · Feb 19, 2026 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Vasil Dimov

doc: add a hint to enable PoW defenses to manual hidden services

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

This commit only updates documentation. It adds a note in the Tor setup guide suggesting users enable a Tor hidden-service proof-of-work defense if their Tor version supports it. No code behavior changes.

Lower-prioritytor: enable PoW defenses for automatically created hidden servicesby Vasil Dimov · 4c6798a3 · Feb 19, 2026 · 3 filesMessage 86 · StrongInformational 23Details
Commit message · Vasil Dimov

tor: enable PoW defenses for automatically created hidden services

Enable PoW defenses [1] for hidden services that we create via
Tor Control using the `ADD_ONION` command [2].

The ability to do that has been added in tor-0.4.9.2-alpha [3]. Previous
versions return a syntax error to the `ADD_ONION` command with
`PoWDefensesEnabled=1`, so the approach here is to try with PoW and if
we get syntax error, then retry without PoW.

[1] https://tpo.pages.torproject.net/onion-services/ecosystem/technology/security/pow/
[2] https://spec.torproject.org/control-spec/commands.html#add_onion
[3] https://gitlab.torproject.org/tpo/core/tor/-/commit/02c18044464bfe45f168b55297a785244094cfd5

86/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly
AI analysis · Informational 23/100

This change makes Bitcoin Core nodes that advertise themselves as hidden services on the Tor network ask Tor to enable a built-in anti-spam feature called 'Proof-of-Work defenses' when creating those hidden services. If the installed Tor version is too old to understand that option, the code falls back to creating the hidden service without it. It is a hardening improvement, not a fix for an active vulnerability in Bitcoin Core itself.

Lower-prioritytor, fuzz: reuse constants instead of duplicatingby Vasil Dimov · fb993f76 · Feb 19, 2026 · 3 filesMessage 90 · StrongInformational 15Details
Commit message · Vasil Dimov

tor, fuzz: reuse constants instead of duplicating

`src/torcontrol.cpp` used to define some constants that are used
explicitly in `src/torcontrol.cpp` and implicitly in
`src/test/fuzz/torcontrol.cpp` by duplicating their values.

Move the constants to `src/torcontrol.h` and reuse them in
`src/test/fuzz/torcontrol.cpp` to avoid duplication and magic
numbers.

90/100 · StrongMessage clarity
✓ 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
fuzzing or regression evidence
AI analysis · Informational 15/100

This is a minor code cleanup change. It moves two Tor status code numbers (250 for OK, 510 for unrecognized command) from one file to a shared header so both the main program and a test fuzzer use the same named constants instead of hard-coding the numbers twice. There is no security fix here and no behavior change.

Lower-priorityAdd a "tx output spender" indexby sstone · 3d82ec5b · Feb 19, 2026 · 18 filesMessage 68 · AdequateInformational 23Details
Commit message · sstone

Add a "tx output spender" index

Adds an outpoint -> txid index, which can be used to find which transactions spent a given output.
We use a composite key with 2 parts (suggested by @romanz): hash(spent outpoint) and tx position, with an empty value.
To find the spending tx for a given outpoint, we do a prefix search (prefix being the hash of the provided outpoint), and for all keys that match this prefix
we load the tx at the position specified in the key and return it, along with the block hash, if does spend the provided outpoint.
To handle reorgs we just erase the keys computed from the removed block.

This index is extremely useful for Lightning and more generally for layer-2 protocols that rely on chains of unpublished transactions.
If enabled, this index will be used by `gettxspendingprevout` when it does not find a spending transaction in the mempool.

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

This commit adds a new optional Bitcoin Core index called the transaction output spender index. When enabled with -txospenderindex=1, it records which transaction spent a given output, allowing the gettxspendingprevout RPC to find confirmed spending transactions, not just mempool ones. It is a feature addition, not a security fix, and does not by itself create a vulnerability. The main security-relevant consideration is that it increases disk and memory use, requires disabling pruning, and exposes more historical chain data through RPC.

Lower-priorityqa: Avoid duplicating output in case the diff is the sameby Hodlinator · 111864ac · Feb 19, 2026 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Hodlinator

qa: Avoid duplicating output in case the diff is the same

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

This is a tiny quality-of-life improvement to Bitcoin Core's internal Python test framework. It stops an error message from printing the same dictionary twice when a test assertion fails. It does not change any production Bitcoin code, network behavior, or security logic.

Lower-priorityci: Enable `wallet_multiwallet.py` in "Windows, test cross-built" jobby Hodlinator · c2e28d45 · Feb 19, 2026 · 1 fileMessage 87 · StrongInformational 15Details
Commit message · Hodlinator

ci: Enable `wallet_multiwallet.py` in "Windows, test cross-built" job

Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>

87/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit simply re-enables an automated test (wallet_multiwallet.py) in the Windows cross-build continuous integration job. It removes the temporary exclusion that was put in place while a bug was being fixed. There is no change to Bitcoin Core's actual wallet code, network code, or consensus logic, so it does not affect users' funds, node security, or network behavior.

AI review queuedqa: Disable parts of the test when running under Windows or rootby Hodlinator · 850a80c1 · Feb 19, 2026 · 1 fileMessage 91 · StrongInformational 15Details
Commit message · Hodlinator

qa: Disable parts of the test when running under Windows or root

test_scanning_sub_dir():
- Remove try/finally - we don't need to clean up after a failed test (done in this commit to maintain indentation).

Regarding symlinks: https://github.com/bitcoin/bitcoin/pull/31410#issuecomment-3554721014

Kept some symlink creation which didn't disrupt Windows cross builds to make for a smaller diff and less cumbersome code. There is some hope of eventually getting better symlink support via #34603.

Co-authored-by: Ava Chow <github@achow101.com>

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit only changes a Bitcoin Core test script. It disables certain file-permission and symlink checks when the test runs on Windows or as the root/admin user, because those checks rely on Unix-style behavior that doesn't apply in those environments. There is no change to the actual Bitcoin Core wallet software that users run, and no security vulnerability is being fixed or introduced.

AI review queuedqa: Check for platform-independent part of error messageby Hodlinator · ed43ce57 · Feb 19, 2026 · 1 fileMessage 65 · AdequateInformational 15Details
Commit message · Hodlinator

qa: Check for platform-independent part of error message

On Windows one gets different exception messages depending on whether running a native build or cross build.

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 is a minor test-only change. It updates a single automated test in Bitcoin Core so that it checks for a stable, platform-independent error message ('Wallet file verification failed.') instead of a Windows-specific filesystem error string. There is no change to the actual Bitcoin Core wallet code that users run, and no security issue is present.

AI review queuedqa: Test scanning errors individuallyby Hodlinator · fb803e3c · Feb 19, 2026 · 1 fileMessage 78 · AdequateInformational 12Details
Commit message · Hodlinator

qa: Test scanning errors individually

This change ensures that each condition potentially triggering the
"Error while scanning" log message is tested independently, avoiding
false positives.

Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.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
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 12/100

This commit only changes a test file. It reorganizes existing wallet-scanning tests so each error condition is checked separately, rather than lumping them together. There is no change to the actual Bitcoin Core wallet code, so it does not fix or introduce a security issue in the software users run.

AI review queuedrefactor(qa): Break apart ginormous run_test()by Hodlinator · 64a098a9 · Feb 19, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Hodlinator

refactor(qa): Break apart ginormous run_test()

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

This commit is a simple cleanup of a test file. It takes one very long test function and splits it into smaller, named helper functions without changing what the test actually does. There is no change to Bitcoin Core's production code or to how wallets behave.

AI review queuedrefactor(qa): Lift out functions to outer scopesby Hodlinator · d1a4ddb5 · Feb 19, 2026 · 1 fileMessage 92 · StrongInformational 15Details
Commit message · Hodlinator

refactor(qa): Lift out functions to outer scopes

This prepares for later breaking apart of run_test().

Note that the "wallet" lambda was renamed to "get_wallet" since otherwise the Python interpreter emitted:
"UnboundLocalError: cannot access local variable 'wallet' where it is not associated with a value"

92/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This is a harmless code cleanup in a test file. It moves some helper functions from inside a test method to the top of the file and renames one variable to avoid a Python language quirk. There is no change to Bitcoin Core's actual wallet behavior or security.

AI review queuedmove-only(qa): Move wallet creation check down to othersby Hodlinator · bb1aff7e · Feb 19, 2026 · 1 fileMessage 65 · AdequateInformational 15Details
Commit message · Hodlinator

move-only(qa): Move wallet creation check down to others

Makes the functions broken out from run_test() in the next commit more cohesive.

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 is a test-only change that moves a single error-checking test case from one place to another within the same functional test file. It does not change any production code, wallet behavior, or security logic. The commit message explicitly calls it 'move-only'.

AI review queuedrefactor(qa): Remove unused optionby Hodlinator · 73cf8589 · Feb 19, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · Hodlinator

refactor(qa): Remove unused option

Last use was removed in 0d32d661481f099af572e7a08a50e17bcc165c44.

72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit simply removes an unused command-line option from a single test script. It is a cleanup change with no effect on Bitcoin Core's runtime behavior, network security, or user funds.

AI review queuedscripted-diff: self.nodes[0] => nodeby Hodlinator · c811e473 · Feb 19, 2026 · 1 fileMessage 78 · AdequateInformational 15Details
Commit message · Hodlinator

scripted-diff: self.nodes[0] => node

-BEGIN VERIFY SCRIPT-
sed --in-place 's/self\.nodes\[0\]/node/g; s/node \= node/node \= self\.nodes\[0\]/' ./test/functional/wallet_multiwallet.py
-END VERIFY SCRIPT-

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This is a purely cosmetic code cleanup in a Bitcoin Core test file. It replaces repeated references to `self.nodes[0]` with a local variable named `node`. No production code, no behavior changes, and no security implications.