BC
← All projectsBitcoin Core

Bitcoin Core

The Bitcoin network's reference node and wallet implementation.

BitcoinSupply chainNormal
Repository coverage

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

419security candidates740second-pass queue3179AI analyses
172commits · 30 days
326commits · 60 days
1138commits · 180 days
2720commits · 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
1493Strong · 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-script446122213589
Antoine Poinsot25422169
Ava Chow22175205071
Hennadii Stepanov25624225067
MarcoFalke41923411074
fanquake24521230058
Lőrinc18221177081
Sjors Provoost90990074
rkrux57957074
Sebastian Falbesoner34734073
David Gumberg55655072
Pieter Wuille95595066
Analysis record

Published AI watches

Last scanned 41 minutes ago

Informational 19 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36838: guix: backport oscrypto PBKDF2 timing fix

This change fixes a build-time bug in Bitcoin Core's release-signing toolchain. A helper library called oscrypto could crash with a 'division by zero' error when measuring how fast a password-stretching routine (PBKDF2) runs on very fast m…

Fixes a divide-by-zero / ZeroDivisionError in a dependency build scriptBackports an upstream timing-measurement fix for PBKDF2 benchmarkApplies only to Guix codesigning manifest and patched oscrypto package
5c4e8374by merge-script+42−12 files
No security note in commit
Informational 15 AI analysisMessage 81 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36961: ci: enable `readability-redundant-access-specifiers`

This commit only changes code style. It turns on a clang-tidy lint rule that flags repeated 'public:' or 'private:' labels that don't change access, then either removes those redundant labels or adds NOLINT comments to ignore them in Qt co…

376c0a02by Hennadii Stepanov+39−4735 files
No security note in commit
Informational 15 AI analysisMessage 81 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#37007: refactor: Add missing explicit instantiations of function templates

This is a build-fix change, not a security fix. It adds explicit template instantiations for two internal functions used when computing Bitcoin transaction signatures. Without these, newer Clang compilers could fail to link the program bec…

8e09dc7bby merge-script+8−01 file
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#37011: test: fix input check of bumped tx in wallet_spend_unconfirmed.py

This is a one-line fix in a Bitcoin Core functional test file. The test was accidentally checking the wrong transaction after a fee-bump operation—it re-checked the original transaction instead of the new bumped transaction. This does not …

No production code changedTest-only assertion correctionNo cryptographic, consensus, P2P, or wallet runtime logic modified
0790f68dby merge-script+1−11 file
No security note in commit
Informational 15 AI analysisMessage 95 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

test: fix input check of bumped tx in wallet_spend_unconfirmed.py

This is a one-line fix in a Bitcoin Core functional test. The test was accidentally checking the original transaction twice instead of checking the newly created bumped (fee-increased) transaction. It does not change any production wallet …

5b43f22fby Sebastian Falbesoner+1−11 file
No security note in commit
Informational 15 AI analysisMessage 93 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

refactor: Add missing explicit instantiations of function templates

This is a build-fixing code cleanup, not a security patch. It adds explicit template instantiations for two internal signature-calculation functions so that the project links correctly with newer Clang compilers. There is no change to beha…

7ec6081eby Hennadii Stepanov+8−01 file
No security note in commit
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
Repository ledger

Explore captured commits

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

Lower-priorityfuzz: Fix variable in `clusterlin_postlinearize_tree` checkby marcofleon · ce29d7d6 · Dec 12, 2025 · 1 fileMessage 83 · StrongInformational 15Details
Commit message · marcofleon

fuzz: Fix variable in `clusterlin_postlinearize_tree` check

The test intends to verify that running `PostLinearize` a
second time on a tree-structured graph doesn't change the
result. But `PostLinearize` was being called on the original
variable, not the copy. So the check was comparing the
unmodified copy against itself, which is useless.

Fix by post-linearizing the correct variable.

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 15/100

This is a one-line bug fix in a fuzz test (automated randomized test) for Bitcoin Core's transaction clustering logic. The test meant to check that running an optimization twice on a copy of a tree-shaped dependency graph produces the same result, but it accidentally ran the optimization on the original variable instead of the copy. That made the comparison trivial and useless. The fix corrects the variable name so the test actually exercises the intended behavior. It does not affect live Bitcoin node code, wallets, consensus, or network behavior.

AI review queuedfuzz: Fix incorrect loop bounds in `clusterlin_postlinearize_tree`by marcofleon · 876e2849 · Dec 12, 2025 · 1 fileMessage 83 · StrongInformational 17Details
Commit message · marcofleon

fuzz: Fix incorrect loop bounds in `clusterlin_postlinearize_tree`

The dependency graphs generated by this test can have holes
(unused indices) in them. This means some of the transactions
were skipped when using `depgraph_gen.TxCount()` as the upper
bound of the loop. Switch to using `depgraph.Positions()` to
correctly handle sparse graphs.

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
fuzzing or regression evidencesecond-pass: broader security terminology
AI analysis · Informational 17/100

This commit fixes a bug in an internal Bitcoin Core fuzz test (a randomized self-test used during development). The test was looping over transaction indices using the total transaction count, but some indices can be unused 'holes' in the generated test data. As a result, the test sometimes skipped valid transactions or accessed unused slots. The fix makes the loop iterate over only the actually-used positions. This appears to be a test-only correctness issue, not a vulnerability in live Bitcoin Core code.

AI review queuedtest: fix race condition in p2p_v2_misbehaving.py peerid assertionby stratospher · 09dfa4d3 · Dec 12, 2025 · 1 fileMessage 100 · StrongInformational 15Details
Commit message · stratospher

test: fix race condition in p2p_v2_misbehaving.py peerid assertion

due to asyncio's non-deterministic task scheduling, peer2's
connection might happen before peer1's, causing peer2 to get
assigned peer_id=1 on bitcoind side and peer1 to get assigned
peer_id=2 on bitcoind side.

since we test that peer2 remains connected, any disconnection
must originate from peer1, making the specific peer id unnecessary
for test correctness. so we can remove the specific peer_id from
the expected debug log.

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
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 15/100

This commit fixes a flaky test, not a security bug. The test checked for specific peer ID numbers in log messages, but because of unpredictable scheduling in the test framework, those IDs could differ between runs. The fix removes the specific ID numbers from the expected log messages so the test passes reliably. No production code or network behavior was changed.

Lower-priorityrefactor: Add Chainstate::StoragePath() methodby Ryan Ofsky · a9b7f561 · Dec 12, 2025 · 8 filesMessage 80 · StrongInformational 15Details
Commit message · Ryan Ofsky

refactor: Add Chainstate::StoragePath() method

Use to simplify code determining the chainstate leveldb paths. New method is
the now the only code that needs to figure out the storage path, so the path
doesn't need to be constructed multiple places and backed out of leveldb.

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit is a straightforward internal code cleanup. It moves the logic that decides where the UTXO database files live from several scattered places into a single new Chainstate::StoragePath() method. There are no user-facing behavior changes, no bug fixes, and no security-related changes.

Lower-priorityrefactor: Add ChainstateManager::CurrentChainstate() methodby Ryan Ofsky · a229cb94 · Dec 12, 2025 · 4 filesMessage 97 · StrongInformational 15Details
Commit message · Ryan Ofsky

refactor: Add ChainstateManager::CurrentChainstate() method

CurrentChainstate() is basically the same as ActiveChainstate() except it
requires cs_main to be locked when it is called, instead of locking cs_main
internally.

The name "current" should also be less confusing than "active" because multiple
chainstates can be active, and CurrentChainstate() returns the chainstate
targeting the current network tip, regardless of what chainstates are being
downloaded or how they are used.

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

This is a routine internal code cleanup in Bitcoin Core. It introduces a new helper method called CurrentChainstate() and replaces a few older helper calls with it. There is no change to network rules, consensus logic, or user-facing behavior, and nothing in the commit suggests a security fix.

Lower-priorityrefactor: Delete ChainstateManager::GetAll() methodby Ryan Ofsky · ae85c495 · Dec 12, 2025 · 8 filesMessage 62 · AdequateInformational 15Details
Commit message · Ryan Ofsky

refactor: Delete ChainstateManager::GetAll() method

Just use m_chainstates array instead.

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

This commit is a straightforward internal code cleanup in Bitcoin Core. It removes a helper method called GetAll() and replaces its uses with direct access to an internal list of chainstates. The change also adds a small safety check to ignore chainstates based on invalid snapshots when considering new block candidates. There is no indication this fixes an active security bug or introduces a vulnerability.

Lower-priorityrefactor: Add ChainstateManager::ActivateBestChains() methodby Ryan Ofsky · 6a572dbd · Dec 12, 2025 · 4 filesMessage 85 · StrongInformational 15Details
Commit message · Ryan Ofsky

refactor: Add ChainstateManager::ActivateBestChains() method

Deduplicate code looping over chainstate objects and calling
ActivateBestChain() and avoid need for code outside ChainstateManager to use
the GetAll() method.

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

This is a routine code cleanup (refactor) in Bitcoin Core. It pulls three nearly identical loops that call ActivateBestChain() into a single new helper method called ActivateBestChains(). There is no change to what the program actually does, no new user-facing behavior, and no indication of a security fix.

Lower-priorityrefactor: Delete ChainstateManager::SnapshotBlockhash() methodby Ryan Ofsky · e514fe61 · Dec 12, 2025 · 4 filesMessage 95 · StrongInformational 15Details
Commit message · Ryan Ofsky

refactor: Delete ChainstateManager::SnapshotBlockhash() method

SnapshotBlockhash() is only called two places outside of tests, and is used
redundantly in some tests, checking the same field as other checks. Simplify by
dropping the method and using the m_from_snapshot_blockhash field directly.

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 is a straightforward internal code cleanup in Bitcoin Core. It removes a small helper function called SnapshotBlockhash() and replaces its uses with direct access to an existing internal field. There is no change to user-facing behavior, no bug fix, and no security-relevant change.

Lower-priorityrefactor: Simplify pruning functionsby TheCharlatan · af455dcb · Dec 12, 2025 · 4 filesMessage 62 · AdequateInformational 15Details
Commit message · TheCharlatan

refactor: Simplify pruning functions

Move GetPruneRange from ChainstateManager to Chainstate.

62/100 · AdequateMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit is a straightforward internal code cleanup: it moves a small helper function that decides which block heights can be pruned from one class (ChainstateManager) to another (Chainstate), and removes an unneeded parameter from two related functions. The actual pruning logic and results are unchanged. There is no user-visible behavior change and no security issue.

Lower-priorityrefactor: Add ChainstateManager::m_chainstates memberby Ryan Ofsky · 491d827d · Dec 12, 2025 · 3 filesMessage 97 · StrongInformational 12Details
Commit message · Ryan Ofsky

refactor: Add ChainstateManager::m_chainstates member

Use to replace m_active_chainstate, m_ibd_chainstate, and m_snapshot_chainstate
members. This has several benefits:

- Ensures ChainstateManager treats chainstates instances equally, making
distinctions based on their attributes, not having special cases and making
assumptions based on their identities.

- Normalizes ChainstateManager representation so states that should be
impossible to reach and validation code has no handling for (like
m_snapshot_chainstate being set and m_ibd_chainstate being unset, or both
being set but m_active_chainstate pointing to the m_ibd_chainstate) can no
longer be represented.

- Makes ChainstateManager more extensible so new chainstates can be added for
different purposes, like indexing or generating and validating assumeutxo
snapshots without interrupting regular node operations. With the
m_chainstates member, new chainstates can be added and handled without needing
to make changes all over validation code or to copy/paste/modify the existing
code that's been already been written to handle m_ibd_chainstate and
m_snapshot_chainstate.

- Avoids terms that are confusing and misleading:

- The term "active chainstate" term is confusing because multiple chainstates
will be active and in use at the same time. Before a snapshot is validated,
wallet code will use the snapshot chainstate, while indexes will use the IBD
chainstate, and netorking code will use both chainstates, downloading
snapshot blocks at higher priority, but also IBD blocks simultaneously.

- The term "snapshot chainstate" is ambiguous because it could refer either
to the chainstate originally loaded from a snapshot, or to the chainstate
being used to validate a snapshot that was loaded, or to a chainstate being
used to produce a snapshot, but it is arbitrary used to refer the first
thing. The terms "most-work chainstate" or "assumed-valid chainstate" should
be less ambiguous ways to refer to chainstates loaded from snapshots.

- The term "IBD chainstate" is not just ambiguous but actively confusing
because technically IBD ends and the node is considered synced when the
snapshot chainstate finishes syncing, so in practice the IBD chainstate
will mostly by synced after IBD is complete. The term "fully-validated" is
a better way of describing the characteristics and purpose of this
chainstate.

97/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
Why it was queued
defensive validation
AI analysis · Informational 12/100

This is an internal code cleanup (refactor) in Bitcoin Core. It replaces three separate chainstate pointers with a single list of chainstates, making the code simpler and removing some impossible internal states. There is no indication this fixes a security bug or introduces a vulnerability.

Lower-priorityrefactor: Deduplicate Chainstate activation codeby Ryan Ofsky · 1598a15a · Dec 12, 2025 · 3 filesMessage 92 · StrongInformational 15Details
Commit message · Ryan Ofsky

refactor: Deduplicate Chainstate activation code

Move duplicate code from ChainstateManager::ActivateSnapshot and
ChainstateManager::ActivateExistingSnapshot methods to a new
ChainstateManager::AddChainstate method.

The "AddChainstate" method name doesn't mention snapshots even though it is
only used to add snapshot chainstates now, because it becomes more generalized
in a later commit in this PR ("refactor: Add ChainstateManager::m_chainstates
member")

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

This commit is a straightforward internal code cleanup in Bitcoin Core. It merges two nearly identical blocks of code that set up a snapshot-based chainstate into a single helper method called AddChainstate. There is no change to network rules, consensus logic, wallet behavior, or user-facing functionality. It is purely a refactoring to reduce duplication.

Lower-priorityrefactor: Add Chainstate::m_target_blockhash memberby Ryan Ofsky · 6082c847 · Dec 12, 2025 · 6 filesMessage 85 · StrongInformational 18Details
Commit message · Ryan Ofsky

refactor: Add Chainstate::m_target_blockhash member

Make Chainstate objects aware of what block they are targeting. This makes
Chainstate objects more self contained, so it's possible for validation code to
look at one Chainstate object and know what blocks to connect to it without
needing to consider global validation state or look at other Chainstate
objects.

The motivation for this change is to make validation and networking code more
readable, so understanding it just requires knowing about chains and blocks,
not reasoning about assumeutxo download states. This change also enables
simplifications to the ChainstateManager interface in subsequent commits, and
could make it easier to implement new features like creating new Chainstate
objects to generate UTXO snapshots or index UTXO data.

Note that behavior of the MaybeCompleteSnapshotValidation function is not
changing here but some checks that were previously impossible to trigger like
the BASE_BLOCKHASH_MISMATCH case have been turned into asserts.

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
AI analysis · Informational 18/100

This is a code cleanup (refactor) in Bitcoin Core that makes each chainstate object remember which block it is trying to reach, instead of asking the global chain manager. It changes how background validation of UTXO snapshots is tracked, replacing some runtime checks with internal assertions. There is no obvious security bug introduced, but because it touches consensus-adjacent validation logic, any mistake could theoretically affect chain synchronization behavior.

Lower-prioritytest: Fix broken chainstatemanager_snapshot_init checkby Ryan Ofsky · de00e875 · Dec 12, 2025 · 1 fileMessage 100 · StrongInformational 15Details
Commit message · Ryan Ofsky

test: Fix broken chainstatemanager_snapshot_init check

The following test code never checked anything because the if statement was
always false:

if (cs != &chainman_restarted.ActiveChainstate()) {
BOOST_CHECK_EQUAL(cs->m_chain.Height(), 109);
}

Also, the height of the background chainstate it was intending to check is 110,
not 109. Fix both problems by rewriting the check.

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 fix to a broken test in Bitcoin Core's own test suite. The test was supposed to check the heights of two chainstates after a simulated node restart, but an `if` condition was always false, so the check never actually ran. The commit also corrects the expected height value. It does not change any production code that runs on real Bitcoin nodes, so it cannot directly affect live network security.

Lower-prioritydoc: Improve ChainstateManager documentation, use consistent termsby Ryan Ofsky · 82be652e · Dec 12, 2025 · 2 filesMessage 50 · ThinInformational 15Details
Commit message · Ryan Ofsky

doc: Improve ChainstateManager documentation, use consistent terms

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 changes comments and documentation in the Bitcoin Core source code. It renames terminology from 'background chainstate' to 'validated chainstate' in comments and updates the class description for ChainstateManager. No executable code was modified, so it cannot introduce a security vulnerability or fix one.

Lower-priorityrefactor: Add ChainstateManager::ValidatedChainstate() methodby Ryan Ofsky · 352ad27f · Dec 12, 2025 · 4 filesMessage 77 · AdequateInformational 15Details
Commit message · Ryan Ofsky

refactor: Add ChainstateManager::ValidatedChainstate() method

ValidatedChainstate() accessor replaces GetChainstateForIndexing() with no
change in behavior.

77/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
defensive validation
AI analysis · Informational 15/100

This is a simple internal code cleanup in Bitcoin Core. It renames and slightly rewrites a helper function used to pick which copy of the blockchain data indexes should look at. There is no change in behavior and no security issue visible in the commit.

Lower-priorityrefactor: Delete ChainstateManager::IsSnapshotActive() methodby Ryan Ofsky · d9e82299 · Dec 12, 2025 · 7 filesMessage 100 · StrongInformational 14Details
Commit message · Ryan Ofsky

refactor: Delete ChainstateManager::IsSnapshotActive() method

IsSnapshotActive() method is only called one place outside of tests and
asserts, and is confusing because it returns true even after the snapshot is
fully validated.

The documentation which said this "implies that a background validation
chainstate is also in use" is also incorrect, because after the snapshot is
validated, the background chainstate gets disabled and IsUsable() would return
false.

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
Why it was queued
defensive validation
AI analysis · Informational 14/100

This commit is a straightforward internal code cleanup. It removes a helper function called IsSnapshotActive() that was used in only one production spot and several tests, replacing it with a direct check of whether the current chainstate came from a snapshot. The change does not alter what the program does; it only makes the code clearer and fixes an outdated comment. There is no indication this affects user funds, network consensus, or introduces a security bug.

Lower-priorityrefactor: Delete ChainstateManager::IsSnapshotValidated() methodby Ryan Ofsky · ee352506 · Dec 12, 2025 · 4 filesMessage 95 · StrongInformational 15Details
Commit message · Ryan Ofsky

refactor: Delete ChainstateManager::IsSnapshotValidated() method

IsSnapshotValidated() is only called one place outside of tests, and is use
redundantly in some tests, asserting that a snapshot is not validated when a
snapshot chainstate does not even exist. Simplify by dropping the method and
checking Chainstate m_assumeutxo field directly.

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
Why it was queued
defensive validation
AI analysis · Informational 15/100

This commit removes a helper method called IsSnapshotValidated() and replaces its few uses with direct checks of an internal chainstate flag. It is a straightforward code cleanup with no change to security behavior.

AI review queuedrefactor: Convert ChainstateRole enum to structby Ryan Ofsky · 4dfe3839 · Dec 12, 2025 · 26 filesMessage 80 · StrongInformational 18Details
Commit message · Ryan Ofsky

refactor: Convert ChainstateRole enum to struct

Change ChainstateRole parameter passed to wallets and indexes. Wallets and
indexes need to know whether chainstate is historical and whether it is fully
validated. They should not be aware of the assumeutxo snapshot validation
process.

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
defensive validationsigning or wallet pathsecond-pass: near security thresholdsecond-pass: unusually broad changesecond-pass: security-sensitive path
AI analysis · Informational 18/100

This is a code cleanup (refactor) change in Bitcoin Core. It replaces a three-value enum called ChainstateRole with a small struct carrying two yes/no flags: whether a chainstate is fully validated and whether it is historical (used for assumeutxo background validation). The logic that decides how wallets, indexes, and network processing react to block notifications is preserved; only the internal data type and comparisons are changed. There is no security fix or behavior change intended here.

AI review queuedrefactor: Pass chainstate parameters to MaybeCompleteSnapshotValidationby Ryan Ofsky · 840bd2ef · Dec 12, 2025 · 8 filesMessage 85 · StrongInformational 17Details
Commit message · Ryan Ofsky

refactor: Pass chainstate parameters to MaybeCompleteSnapshotValidation

Remove hardcoded references to m_ibd_chainstate and m_snapshot_chainstate so
MaybeCompleteSnapshotValidation function can be simpler and focus on validating
the snapshot without dealing with internal ChainstateManager states.

This is a step towards being able to validate the snapshot outside of
ActivateBestChain loop so cs_main is not locked for minutes when the snapshot
block is connected.

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
defensive validationsigning or wallet pathsecond-pass: near security thresholdsecond-pass: security-sensitive path
AI analysis · Informational 17/100

This commit is a code cleanup (refactor) in Bitcoin Core's assumeutxo snapshot feature. It renames functions and changes how the snapshot validation code receives its inputs, so it no longer relies on hardcoded internal chainstate names. The change does not alter the actual snapshot validation logic or security checks; it is preparation for future work to reduce how long a global lock is held during snapshot validation. There is no direct security vulnerability in this patch.

AI review queuedrefactor: Add Chainstate m_assumeutxo and m_target_utxohash membersby Ryan Ofsky · 9fe927b6 · Dec 12, 2025 · 3 filesMessage 85 · StrongInformational 17Details
Commit message · Ryan Ofsky

refactor: Add Chainstate m_assumeutxo and m_target_utxohash members

Get rid of m_disabled/IsUsable members. Instead of marking chains disabled for
different reasons, store chainstate assumeutxo status explicitly and use that
information to determine how chains should be treated.

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 17/100

This is a code cleanup (refactor) in Bitcoin Core that changes how the program tracks whether a chainstate is based on an unvalidated snapshot (assumeutxo). It replaces a simple disabled flag with explicit state tracking. There is no direct evidence in the commit that this fixes a security vulnerability; it appears to be a maintainability and correctness improvement.

Security candidateguix: doc: Suggest guix-install.sh --uninstallby David Gumberg · ea1be386 · Dec 12, 2025 · 2817 filesMessage 45 · ThinInformational 15Details
Commit message · David Gumberg

guix: doc: Suggest guix-install.sh --uninstall

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
cryptography-sensitive pathseed or entropy pathsigning or wallet pathboot or update pathauthentication pathparser or protocol path
AI analysis · Informational 15/100

This commit is a documentation-only change in the Bitcoin Core repository. It updates the Guix installation guide to suggest using the official uninstall flag when removing Guix. There is no change to any code that runs the Bitcoin network, wallet, or node software, and no security vulnerability is introduced or fixed.

Lower-priorityguix: doc: zdiff3 doesn't workby David Gumberg · e76e8865 · Dec 12, 2025 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · David Gumberg

guix: doc: zdiff3 doesn't work

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 documentation to a Guix installation guide. It explains that a specific Git setting called 'zdiff3' can cause Guix builds to fail, and tells users how to switch to a compatible setting. There is no code change and no security issue.

Lower-prioritylint: Remove confusing, redundant, and brittle lint-spellingby MarcoFalke · fa904fc6 · Dec 12, 2025 · 4 filesMessage 50 · ThinInformational 15Details
Commit message · MarcoFalke

lint: Remove confusing, redundant, and brittle lint-spelling

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

This commit removes a spelling-check tool (codespell) from Bitcoin Core's automated linting setup. It deletes the lint-spelling.py script, its word-ignore list, and the codespell dependency from CI install scripts. There is no change to the actual Bitcoin node software, wallet logic, networking, or consensus code. It is purely a cleanup of developer tooling.

Lower-prioritygui: Add a menu item to restore then migrate a wallet fileby Ava Chow · 14371fd1 · Dec 11, 2025 · 1 fileMessage 85 · StrongInformational 17Details
Commit message · Ava Chow

gui: Add a menu item to restore then migrate a wallet file

Some users will have backups of a legacy wallet which cannot be restored
due to being a legacy wallet, and therefore cannot be migrated from the
GUI. This menu item allows such users to restore and migrate their
wallets in a single action.

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

This commit adds a new menu item in the Bitcoin Core desktop program that lets a user pick an old wallet backup file and restore it, then automatically convert ('migrate') it to the newer wallet format. It is a user-facing feature addition, not a fix for a security bug. There is no indication in the commit that it addresses a vulnerability.

AI review queuedgui: Add restore_and_migrate function to restore then migrate a walletby Ava Chow · f11a7d24 · Dec 11, 2025 · 2 filesMessage 73 · AdequateInformational 19Details
Commit message · Ava Chow

gui: Add restore_and_migrate function to restore then migrate a wallet

restore_and_migrate first restores a wallet file to the wallets
directory in the expected layout, then it performs legacy to descriptor
wallet migration on the restored wallet.

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

This commit adds a new GUI feature that lets a user restore a wallet backup file and then automatically convert it from the older 'legacy' wallet format to the newer 'descriptor' wallet format. It shows confirmation and progress dialogs, copies the backup into the normal wallets folder without changing the original file, and then runs the existing migration logic. There is no obvious security bug in the change itself; it is a user-facing convenience feature built on top of existing wallet restore and migration code.