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

AI review queuedwallet, interfaces, gui: Expose load_after_restore parameterby Ava Chow · 4ec2d18a · Dec 11, 2025 · 3 filesMessage 65 · AdequateInformational 18Details
Commit message · Ava Chow

wallet, interfaces, gui: Expose load_after_restore parameter

RestoreWallet has a load_after_restore parameter, expose this to callers
using it through the wallet interface as well.

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

This commit is a small, non-security code cleanup. It exposes an existing internal option called load_after_restore through the wallet interface so that callers can choose whether a restored wallet should be loaded automatically. The GUI code is updated to pass true, preserving the previous behavior. There is no indication this fixes a vulnerability or introduces a security risk.

AI review queuedgui: Move actual migration part of migrate() to its own functionby Ava Chow · 16ab6dfc · Dec 11, 2025 · 2 filesMessage 65 · AdequateInformational 15Details
Commit message · Ava Chow

gui: Move actual migration part of migrate() to its own function

We will need to use the same migration code in a later commit, so first
move it to a separate function.

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 is a simple code cleanup in the Bitcoin Core graphical wallet. It takes the actual wallet-migration steps out of the user-facing 'migrate' function and puts them into a new internal helper function called 'do_migrate'. The user confirmation dialog and the migration logic itself are unchanged; the code is just reorganized so the same migration steps can be reused later. There is no security issue visible here.

Security candidateMerge bitcoin/bitcoin#32414: validation: periodically flush dbcache during reindex-chainstateby Ava Chow · d155fc12 · Dec 11, 2025 · 2876 filesMessage 91 · StrongInformational 23Details
Commit message · Ava Chow

Merge bitcoin/bitcoin#32414: validation: periodically flush dbcache during reindex-chainstate

c1e554d3e5834a140f2a53854018499a3bfe6822 refactor: consolidate 3 separate locks into one block (Andrew Toth)
41479ed1d23ea752d0ce14c2cf5627f43bceb722 test: add test for periodic flush inside ActivateBestChain (Andrew Toth)
84820561dcb2d156d1a1151a480fc1be6649cae4 validation: periodically flush dbcache during reindex-chainstate (Andrew Toth)

Pull request description:

After #30611 we periodically do a non-erasing flush of the dbcache to disk roughly every hour during IBD.
The intention was to also do this periodic flush during reindex-chainstate, so we would not risk losing progress during a system failure when reindexing with a high dbcache value.

It was discovered that reindex-chainstate does not perform a PERIODIC flush until it has already reached the tip. Since reindexing to tip usually happens within 24 hours, this behaviour was unnoticed with the previous periodic flush interval. Note that reindex-chainstate still does IF_NEEDED flushes during `ConnectBlock`, so this also would not be noticed when running with a lower dbcache value.

This patch moves the PERIODIC flush from after the outer loop in `ActivateBestChain` to inside the outer loop after we release `cs_main`. This will periodically flush during IBD, reindex-chainstate, and steady state.

ACKs for top commit:
l0rinc:
ACK c1e554d3e5834a140f2a53854018499a3bfe6822
achow101:
ACK c1e554d3e5834a140f2a53854018499a3bfe6822
sipa:
utACK c1e554d3e5834a140f2a53854018499a3bfe6822

Tree-SHA512: c447ad03e16c9978b8ed2c285b38e1b4c56e7778ab93b6f64435116f47b8931017f5f56ab53eb61656693146aaced776f666af573a41ab28e8f2b6d8657fa756

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
cryptography-sensitive pathseed or entropy pathsigning or wallet pathboot or update pathauthentication pathparser or protocol pathmerge-commit duplicate discount
AI analysis · Informational 23/100

This commit fixes a Bitcoin Core bug where the database cache (dbcache) was not being periodically saved to disk during the 'reindex-chainstate' operation. The intended behavior was to flush the cache roughly every hour to avoid losing progress if the system crashed. Because the flush only happened after reaching the tip, users running reindex-chainstate with a large dbcache could lose many hours of work on a crash. The patch moves the periodic flush inside the main loop so it actually occurs during reindexing, initial block download, and normal operation. It is a reliability/durability fix, not a remote-exploitable security vulnerability.

Lower-priorityrest: allow reading partial block data from storageby Roman Zeyde · 07135290 · Dec 11, 2025 · 4 filesMessage 81 · StrongLow 27Details
Commit message · Roman Zeyde

rest: allow reading partial block data from storage

It will allow fetching specific transactions using an external index,
following https://github.com/bitcoin/bitcoin/pull/32541#issuecomment-3267485313.

Co-authored-by: Hodlinator <172445034+hodlinator@users.noreply.github.com>
Co-authored-by: Lőrinc <pap.lorinc@gmail.com>

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 · Low 27/100

This commit adds a new read-only REST API endpoint that lets users fetch a specific slice of bytes from a stored Bitcoin block, similar to reading a portion of a file. It does not change how blocks are written or validated, and it does not expose any private wallet data. The main security consideration is that it adds another network-facing path that reads raw block files, so any bug in parsing the request or reading the file could affect node availability or leak block data. The code appears to validate the offset and size parameters and returns errors for invalid or out-of-range requests.

Lower-priorityblockstorage: allow reading partial block data from storageby Roman Zeyde · 4e2af1c0 · Dec 11, 2025 · 4 filesMessage 93 · StrongLow 29Details
Commit message · Roman Zeyde

blockstorage: allow reading partial block data from storage

It will allow fetching specific transactions using an external index,
following https://github.com/bitcoin/bitcoin/pull/32541#issuecomment-3267485313.

No logging takes place in case of an invalid offset/size (to avoid spamming the log),
by using a new `ReadRawError::BadPartRange` error variant.

Co-authored-by: Hodlinator <172445034+hodlinator@users.noreply.github.com>
Co-authored-by: Lőrinc <pap.lorinc@gmail.com>

93/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference
AI analysis · Low 29/100

This commit adds a new feature to Bitcoin Core that lets the node read only a slice of a stored block (a specific byte range) instead of the whole block. It is meant to support future REST API improvements for fetching specific transactions. The commit includes careful range checks and avoids logging invalid requests to prevent log spam. There is no direct evidence in the commit that this fixes an active security bug, but it does touch untrusted REST input handling, so defensive care is warranted.

Lower-priorityblockstorage: return an error code from `ReadRawBlock()`by Roman Zeyde · f2fd1aa2 · Dec 11, 2025 · 7 filesMessage 85 · StrongInformational 19Details
Commit message · Roman Zeyde

blockstorage: return an error code from `ReadRawBlock()`

It will enable different error handling flows for different error types.

Also, `ReadRawBlockBench` performance has decreased due to no longer reusing a vector
with an unchanging capacity - mirroring our production code behavior.

Co-authored-by: Hodlinator <172445034+hodlinator@users.noreply.github.com>
Co-authored-by: Lőrinc <pap.lorinc@gmail.com>

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

This commit refactors how Bitcoin Core reads raw block files from disk. Previously, the ReadRawBlock() function returned true/false and filled a caller-provided buffer. Now it returns a structured result that distinguishes I/O errors from success. The main observable security-relevant change is in the REST API: when a block cannot be read from disk due to an I/O problem, it now returns HTTP 500 (Internal Server Error) instead of HTTP 404 (Not Found). This is a correctness improvement that reduces the chance an attacker can trick the node into revealing whether a pruned block existed, but it is not a fix for an active vulnerability.

Lower-prioritytest: adjust `ComputeMerkleRoot` testsby Lőrinc · f0a21831 · Dec 11, 2025 · 2 filesMessage 92 · StrongInformational 15Details
Commit message · Lőrinc

test: adjust `ComputeMerkleRoot` tests

Update the integer fuzz test to move the vector into `ComputeMerkleRoot`, matching production usage patterns and avoiding unnecessary copies.

Update `merkle_test_BlockWitness` to use an odd number of transactions to ensure the test covers the scenario where leaf duplication occurs. Also switch to `GetWitnessHash` to match `BlockWitnessMerkleRoot` semantics.
The manual vector setup retains the exact-size `resize` to explicitly verify the behavior against the calculated root.

92/100 · StrongMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ 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 commit only changes test code. It updates two unit tests for the merkle-root calculation helper: one fuzz test now moves its input vector instead of copying it, and another test now uses an odd number of transactions and witness hashes to better match real production behavior. There are no changes to the actual Bitcoin Core consensus or networking code, so this cannot directly affect live node security.

Lower-priorityfuzz: exercise `ComputeMerkleRoot` without mutated parameterby Lőrinc · 7e9de20c · Dec 11, 2025 · 1 fileMessage 75 · AdequateInformational 15Details
Commit message · Lőrinc

fuzz: exercise `ComputeMerkleRoot` without mutated parameter

Co-authored-by: sedited <seb.kung@gmail.com>

75/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 15/100

This is a one-line change to a fuzz test file. It expands test coverage so that the fuzzer sometimes passes a null pointer to a function that computes Merkle roots, exercising a code path that previously wasn't tested. It does not change any production code, consensus rules, or network behavior.

Lower-priorityutil: Add Unexpected::error()by MarcoFalke · fa1de110 · Dec 11, 2025 · 2 filesMessage 50 · ThinInformational 15Details
Commit message · MarcoFalke

util: Add Unexpected::error()

This is not needed, but a bit closer to the std lib.

50/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides an explanatory body
AI analysis · Informational 15/100

This is a small, clean code-quality change that adds a standard-style accessor method to a utility class. It does not fix a bug, close a security hole, or change any behavior that external users can reach. There is no security relevance.

Lower-prioritytest: refactor: Use BOOST_CHECK_EQUAL over BOOST_CHECK ==by MarcoFalke · faa109f8 · Dec 11, 2025 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · MarcoFalke

test: refactor: Use BOOST_CHECK_EQUAL over BOOST_CHECK ==

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

This commit only changes test code to use a different style of comparison check. It does not alter any production code, network behavior, or wallet logic, and has no security relevance.

AI review queuedSet bugprone-unused-return-value.AllowCastToVoidby MarcoFalke · fad4a9fe · Dec 11, 2025 · 5 filesMessage 60 · AdequateInformational 15Details
Commit message · MarcoFalke

Set bugprone-unused-return-value.AllowCastToVoid

It only makes sense to turn this off with C++26, which introduces the _
placeholder.

60/100 · AdequateMessage clarity
✓ 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 is a code-style and static-analysis configuration change. It tells the clang-tidy linter to allow discarding function return values when the call is explicitly cast to void, and updates a few places in benchmark, test, and HTTP server code to use that style instead of a temporary variable marked 'maybe unused'. There is no security-relevant behavior change.

AI review queueddepends: Boost 1.90.0by fanquake · ca4a844e · Dec 10, 2025 · 2 filesMessage 38 · OpaqueInformational 15Details
Commit message · fanquake

depends: Boost 1.90.0

38/100 · OpaqueMessage clarity
✓ Subject identifies a change✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Informational 15/100

This commit updates the Boost dependency used by Bitcoin Core's build system from version 1.88.0 to 1.90.0. It also removes a custom patch that was previously needed to skip compiling certain Boost.Test libraries, because the newer Boost version now includes that functionality directly. There is no indication in the commit that this fixes a security vulnerability.

Lower-prioritytest: Detect truncated download in get_previous_releases.pyby MarcoFalke · fa75480c · Dec 10, 2025 · 1 fileMessage 72 · AdequateInformational 19Details
Commit message · MarcoFalke

test: Detect truncated download in get_previous_releases.py

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

This commit fixes a test-support script that downloads old Bitcoin Core releases. Previously, if a download was cut short (for example by a network error), the script would silently keep the incomplete file. Now it checks whether the downloaded bytes match the expected size and throws an error if they don't. This is a reliability fix in a developer/test tool, not a direct security fix in the Bitcoin software users run.

AI review queuedrefactor: replace manual promise with SyncWithValidationInterfaceQueueby ANtutov · e71c4df1 · Dec 10, 2025 · 1 fileMessage 62 · AdequateInformational 18Details
Commit message · ANtutov

refactor: replace manual promise with SyncWithValidationInterfaceQueue

62/100 · AdequateMessage clarity
✓ Specific, 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 18/100

This is a small internal cleanup in Bitcoin Core's transaction-broadcasting code. It replaces a hand-rolled 'promise/future' wait mechanism with an existing helper function that does the same job. There is no security bug being fixed here; the change just makes the code simpler and easier to maintain.

AI review queuednet: Cache -capturemessages settingby Anthony Towns · 5f5c1ea0 · Dec 9, 2025 · 4 filesMessage 35 · OpaqueInformational 15Details
Commit message · Anthony Towns

net: Cache -capturemessages setting

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 is a small internal cleanup: it reads the '-capturemessages' debug/logging setting once at startup and stores it in a class member, instead of looking it up from global command-line arguments every time a message is sent. It also adds a test helper to set the flag directly. There is no security fix here and no behavior change visible to users.

Security candidaterefactor: extract shared `SipHash` state into `SipHashState`by Lőrinc · 6eb5ba56 · Dec 9, 2025 · 2 filesMessage 85 · StrongInformational 15Details
Commit message · Lőrinc

refactor: extract shared `SipHash` state into `SipHashState`

Split the repeated `SipHash` v[0..3] initialization into a small `SipHashState` helper that is used by both `CSipHasher` and `PresaltedSipHasher`.

Added explanatory comments to clarify behavior, documenting the equivalence of `PresaltedSipHasher` `operator()` overloads to `CSipHasher` usage.

Co-authored-by: Ryan Ofsky <ryan@ofsky.org>

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

This commit is a straightforward code cleanup: it pulls the repeated starting-state setup for Bitcoin's SipHash implementation into a shared helper class called SipHashState. The actual math and behavior of the hash functions do not change. There is no security bug being fixed here.

Lower-priorityoptimization: cache `PresaltedSipHasher` in `CBlockHeaderAndShortTxIDs`by Lőrinc · 118d22dd · Dec 9, 2025 · 2 filesMessage 73 · AdequateInformational 15Details
Commit message · Lőrinc

optimization: cache `PresaltedSipHasher` in `CBlockHeaderAndShortTxIDs`

Replaces separate `shorttxidk0`/`shorttxidk1` members with a cached `PresaltedSipHasher`, so `GetShortID()` reuses the precomputed `SipHash` state instead of rebuilding it on every call.

`CBlockHeaderAndShortTxIDs` was never intended to be used before `FillShortTxIDSelector()` runs; doing so already relied on indeterminate salt values.
The new `Assert(m_hasher)` just makes this invariant explicit and fails fast if the object is used in an uninitialized state.

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

This is a small performance cleanup, not a security fix. It replaces two stored hash-key numbers with a pre-initialized SipHash object so the same hashing state can be reused instead of rebuilt each time. The added assertion only makes an existing assumption explicit: the object must be initialized before use. There is no vulnerability being patched.

Security candidateoptimization: migrate `SipHashUint256` to `PresaltedSipHasher`by Lőrinc · 9ca52a4c · Dec 9, 2025 · 8 filesMessage 73 · AdequateInformational 18Details
Commit message · Lőrinc

optimization: migrate `SipHashUint256` to `PresaltedSipHasher`

Replaces standalone `SipHashUint256` with an `operator()` overload in `PresaltedSipHasher`.
Updates all hasher classes (`SaltedUint256Hasher`, `SaltedTxidHasher`, `SaltedWtxidHasher`) to use `PresaltedSipHasher` internally, enabling the same constant-state caching optimization while keeping behavior unchanged.

Benchmark was also adjusted to cache the salting part.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
cryptography-sensitive path
AI analysis · Informational 18/100

This is a code cleanup and performance optimization change in Bitcoin Core. It replaces a standalone function called SipHashUint256 with a class method inside PresaltedSipHasher, and updates several hash helper classes to use the new method. The commit message and code comments explicitly state the goal is to enable caching of the initial hash state for speed while keeping behavior unchanged. There is no indication of a security fix or vulnerability being addressed.

Security candidateoptimization: introduce `PresaltedSipHasher` for repeated hashingby Lőrinc · ec11b9fe · Dec 9, 2025 · 6 filesMessage 73 · AdequateInformational 18Details
Commit message · Lőrinc

optimization: introduce `PresaltedSipHasher` for repeated hashing

Replaces the `SipHashUint256Extra` function with the `PresaltedSipHasher` class that caches the constant-salted state (v[0-3] after XORing with keys).
This avoids redundant XOR operations when hashing multiple values with the same keys, benefiting use cases like `SaltedOutpointHasher`.

This essentially brings the precalculations in the `CSipHasher` constructor to the `uint256`-specialized SipHash implementation.

> cmake -B build -DBUILD_BENCH=ON -DCMAKE_BUILD_TYPE=Release && cmake --build build -j$(nproc) && build/src/bench/bench_bitcoin -filter='SaltedOutpointHasherBench.*' -min-time=10000

> C++ compiler .......................... AppleClang 16.0.0.16000026

| ns/op | op/s | err% | total | benchmark
|--------------------:|--------------------:|--------:|----------:|:----------
| 57.27 | 17,462,299.19 | 0.1% | 11.02 | `SaltedOutpointHasherBench_create_set`
| 11.24 | 88,997,888.48 | 0.3% | 11.04 | `SaltedOutpointHasherBench_hash`
| 13.91 | 71,902,014.20 | 0.2% | 11.01 | `SaltedOutpointHasherBench_match`
| 13.29 | 75,230,390.31 | 0.1% | 11.00 | `SaltedOutpointHasherBench_mismatch`

compared to master:
create_set - 17,462,299.19/17,065,922.04 - 2.3% faster
hash - 88,997,888.48/83,576,684.83 - 6.4% faster
match - 71,902,014.20/68,985,850.12 - 4.2% faster
mismatch - 75,230,390.31/71,942,033.47 - 4.5% faster

> C++ compiler .......................... GNU 13.3.0

| ns/op | op/s | err% | ins/op | cyc/op | IPC | bra/op | miss% | total | benchmark
|--------------------:|--------------------:|--------:|----------------:|----------------:|-------:|---------------:|--------:|----------:|:----------
| 135.38 | 7,386,349.49 | 0.0% | 1,078.19 | 486.16 | 2.218 | 119.56 | 1.1% | 11.00 | `SaltedOutpointHasherBench_create_set`
| 23.67 | 42,254,558.08 | 0.0% | 247.01 | 85.01 | 2.906 | 4.00 | 0.0% | 11.00 | `SaltedOutpointHasherBench_hash`
| 58.95 | 16,962,220.14 | 0.1% | 446.55 | 211.74 | 2.109 | 20.86 | 1.4% | 11.01 | `SaltedOutpointHasherBench_match`
| 76.98 | 12,991,047.69 | 0.1% | 548.93 | 276.50 | 1.985 | 20.25 | 2.3% | 10.72 | `SaltedOutpointHasherBench_mismatch`

compared to master:
create_set - 7,386,349.49/7,312,133.16 - 1% faster
hash - 42,254,558.08/41,978,882.62 - 0.6% faster
match - 16,962,220.14/16,549,695.42 - 2.4% faster
mismatch - 12,991,047.69/12,713,595.35 - 2% faster

Co-authored-by: sipa <pieter@wuille.net>

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
cryptography-sensitive path
AI analysis · Informational 18/100

This is a routine performance optimization for Bitcoin Core's hash tables. It replaces a function that re-computed part of its internal state on every call with a small helper class that pre-computes and reuses that state. The change is purely about speed and does not alter the final hash results. There is no indication it fixes a security bug or introduces a vulnerability.

Security candidaterefactor: extract `SipHash` C0-C3 constants to class scopeby Lőrinc · 20330548 · Dec 9, 2025 · 2 filesMessage 85 · StrongInformational 15Details
Commit message · Lőrinc

refactor: extract `SipHash` C0-C3 constants to class scope

Moves the `SipHash` initialization constants (C0-C3) from magic numbers to named static constexpr members of `CSipHasher`.

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

This commit is a simple code cleanup: it replaces four hard-coded magic numbers in Bitcoin Core's SipHash implementation with named constants. The actual numeric values and how they are used remain exactly the same, so there is no security change.

Lower-prioritytest: rename k1/k2 to k0/k1 in `SipHash` consistency testsby Lőrinc · 9f9eb7fb · Dec 9, 2025 · 1 fileMessage 95 · StrongInformational 15Details
Commit message · Lőrinc

test: rename k1/k2 to k0/k1 in `SipHash` consistency tests

Aligns test variable naming with the `k0`/`k1` convention used consistently throughout the codebase for `SipHash` keys.
Also splits the single-param `SipHash` test from the one with extra, for clarity.

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 minor cleanup of a test file. It renames local variables from k1/k2 to k0/k1 to match how the rest of the codebase labels SipHash key halves, and slightly reorders the test code for readability. There is no change to production code or to what the test actually checks.

Lower-prioritylog: don't rate-limit "new peer" with -debug=netby 0xb10c · d4d184ed · Dec 9, 2025 · 1 fileMessage 88 · StrongInformational 20Details
Commit message · 0xb10c

log: don't rate-limit "new peer" with -debug=net

Previously, when `debug=net` is enabled, we log "New [..] peer connected"
for new inbound peers with `LogInfo`. However, `LogInfo` will get
rate-limited since https://github.com/bitcoin/bitcoin/pull/32604.
When we specifically turn on `debug=net`, we don't want these log
messages to be rate-limited.

To fix this, use `LogDebug(BCLog::NET, ...)` for potentially high-
rate inbound connections. Otherwise use `LogInfo`. This means we
don't rate-limit the messages for inbound peers when `debug=net`
is turned on but will rate-limit if we created outbound at a high
rate as these are logged via `LogInfo`.

--

I ran into this message getting rate-limited on one of my monitoring
nodes with `-logsourcelocations=1`: With logsourcelocations, one of
these lines is about 338 chars (or 338 bytes) long. We rate-limit
after more than 1048576 bytes per hour, which results in about
3100 in- and outbound connections per hour. With evicted and
instantly reconnecting connections from an entity like LinkingLion,
this can be reached fairly quickly.

Co-Authored-By: Eugene Siegel <elzeigel@gmail.com>
Co-Authored-By: Anthony Towns <aj@erisian.com.au>

88/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 20/100

This commit fixes a logging issue in Bitcoin Core. Previously, 'new peer connected' log messages for inbound connections were written using the standard LogInfo path, which became rate-limited after a recent change. When a node operator turns on debug=net to monitor network activity, those messages could be suppressed. The fix moves inbound peer messages to LogDebug so they are not rate-limited when debug=net is enabled, while outbound peer messages remain as LogInfo and continue to be rate-limited. This is a usability/monitoring fix, not a security vulnerability fix.

Lower-prioritydoc: add release note for 34031by fanquake · e7ac5a13 · Dec 9, 2025 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · fanquake

doc: add release note for 34031

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 documenting that the 'tor' network option has been removed in favor of 'onion'. It is a documentation-only change with no code modifications and no security implications.

Lower-prioritynetbase: Remove "tor" as a network specificationby Carl Dong · c4c70a25 · Dec 9, 2025 · 4 filesMessage 78 · AdequateInformational 21Details
Commit message · Carl Dong

netbase: Remove "tor" as a network specification

"tor" as a network specification was deprecated in 60dc8e4208 in favor
of "onion" and this commit removes it and updates the relevant test.

Co-authored-by: Mara van der Laan <126646+laanwj@users.noreply.github.com>

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

This commit removes support for the old word 'tor' as a way to specify the Tor/Onion network in Bitcoin Core settings. Users must now use 'onion' instead. It is a cleanup of a previously-announced deprecation, not a fix for an active security flaw. The main risk is that users or scripts still using 'tor' will silently have those proxy settings ignored, which could weaken their privacy by sending traffic over the regular internet instead of through Tor.

Lower-priorityscripted-diff: LogPrintLevel(*,BCLog::Level::*,*) -> LogError()/LogWarning()by MarcoFalke · fa89f60e · Dec 9, 2025 · 9 filesMessage 95 · StrongInformational 15Details
Commit message · MarcoFalke

scripted-diff: LogPrintLevel(*,BCLog::Level::*,*) -> LogError()/LogWarning()

This is a minimal behavior change and changes log output from:

[net:error] Something bad happened
[net:warning] Something problematic happened

to either

[error] Something bad happened
[warning] Something problematic happened

or, when -loglevelalways=1 is enabled:

[all:error] Something bad happened
[all:warning] Something problematic happened

Such a behavior change is desired, because all warning and error logs
are written in the same style in the source code and they are logged in
the same format for log consumers.

-BEGIN VERIFY SCRIPT-

sed --regexp-extended --in-place \
's/LogPrintLevel\((BCLog::[^,]*), BCLog::Level::(Error|Warning), */Log\2(/g' \
$( git grep -l LogPrintLevel ':(exclude)src/test/logging_tests.cpp' )

-END VERIFY SCRIPT-

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

This commit is a purely cosmetic logging refactor. It changes the way some error and warning messages are written in the source code so that the resulting log output drops the source module prefix (like '[net:error]') and instead shows just '[error]' or '[warning]'. There is no change to program behavior, no bug fix, and no security issue.