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.
Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.
This update fixes two bugs in bitcoin-cli, the command-line tool used to talk to a Bitcoin node. First, when a server replied with an empty body but said it was intentionally empty (Content-Length: 0), the client would keep waiting instead…
Client-side hang on empty HTTP body (denial-of-service against bitcoin-cli user)Timeout regression could abort legitimate slow RPC responsesFix distinguishes Content-Length: 0 from absent Content-Length
This commit is a documentation and code-style cleanup for Bitcoin Core's continuous integration (CI) scripts. It changes how build configuration strings are formatted in shell scripts so comments can sit next to the options they describe, …
This update fixes a way that people with limited access to a Bitcoin node could make fake log entries appear real. Normally, the node cleans up special characters in log messages but was leaving newlines alone. A clever user could slip a n…
Log injection / log forgery via embedded newlines in untrusted inputInput from restricted RPC users reaching log output without newline escapingControl-character escaping bypass due to explicit newline exception
This commit fixes a one-word typo in a comment inside a test file. The comment incorrectly referred to 'walletcreatepsbt' when the surrounding test code actually calls 'walletcreatefundedpsbt'. No code behavior changes, and there is no sec…
This commit fixes a typo in a comment within a test file. The comment incorrectly referred to 'walletcreatepsbt' when the surrounding test code actually exercises 'walletcreatefundedpsbt'. No code behavior changes, and there is no security…
This commit is a documentation-only update. It adds a single line to Bitcoin Core's list of implemented BIPs, noting that BIP 461 (a technique for making ECDSA signatures smaller and deterministic) has been implemented since version 0.17.0…
This patch fixes a bug in Bitcoin Core's `sendall` wallet command. If a user typed a bech32 address in uppercase letters, the command would fail with a confusing 'below dust threshold' error instead of sending the funds. The fix compares d…
Functional bug in RPC command causing unexpected transaction failureCase-sensitivity mismatch between user input and canonical address encodingNo memory safety, cryptographic, or authorization issue evident
This commit fixes a flaky automated test in Bitcoin Core. The test was checking the maximum transaction fee rate by creating a transaction at the exact boundary, which sometimes failed because the real transaction size could be slightly sm…
No production code changedTest-only changeNo memory safety, cryptography, consensus, or authorization changes
This is a build-system maintenance update for Bitcoin Core's reproducible build environment (Guix). It updates the Guix time-machine commit and several dependency versions, and temporarily disables some test suites that fail when building …
No direct security-relevant code change in Bitcoin Core consensus, wallet, or P2P layers.Dependency version bumps (git-minimal, linux-headers, python-lief, python-minimal) are routine build-environment updates.Disabling third-party package test suites reduces build-time test coverage but does not alter Bitcoin Core's own test or release binaries.
This change makes three Bitcoin command-line tools (bitcoin-tx, bitcoin-util, and bitcoin-wallet) automatically pick the fastest SHA-256 hashing implementation available on the computer, such as hardware-accelerated versions on modern CPUs…
This is a one-line fix in Bitcoin Core's network code. It changes how the size of a list of block headers is converted to a signed integer inside a loop. Previously, if the list was empty, the conversion could trigger undefined-behavior wa…
UndefinedBehaviorSanitizer integer sanitizer warning addressedImplicit signed/unsigned conversion in loop counterUnsigned integer wraparound on empty vector size
This change fixes a Bitcoin Core wallet bug where the `importprunedfunds` RPC command could only re-import transactions that sent money to the wallet, not transactions that spent money from it. After this fix, both incoming and outgoing tr…
Logic bug in wallet transaction import scopeIncorrect balance possible after removing and re-importing spending transactionFix routes import through existing involvement check (IsMine + IsFromMe)
This commit adds a new Bitcoin Core wallet startup option called -maxfeerate. It lets users set a maximum fee rate (fee per unit of transaction size) that the wallet will allow when creating or broadcasting transactions. Previously, the wa…
New wallet startup option -maxfeerate to cap transaction fee rateNew transaction error type MAX_FEE_RATE_EXCEEDEDBroadcastTransaction now checks both max absolute fee and max fee rate
This Bitcoin Core update fixes a wallet-signing quirk. When a user chose the SIGHASH_SINGLE signature mode, an input that had no matching output index would sign essentially nothing meaningful. That signature could then stay valid even if …
Funds-redirection footgun from SIGHASH_SINGLE signatures with no committed outputInconsistent guard between SignTransaction and SignPSBTInput pathsFix centralizes the guard in the low-level signature creator to cover future signing paths
This change updates Bitcoin Core's I2P (Invisible Internet Project) privacy network settings to use newer, stronger encryption for the published 'leaseset' that describes how other peers can contact a node. The old setting included ElGamal…
Cryptographic algorithm update (ElGamal to MLKEM-768)Use of I2P 'legacy' encryption type removedConfiguration-only change in network privacy layer
This change fixes a labeling bug in Bitcoin Core's first-run disk-space warning. The estimate was stored in GiB (binary gigabytes, 1024-based) but displayed as GB (decimal gigabytes, 1000-based), and for pruned nodes it showed the full-cha…
This is a wallet bug, not a theft or remote-code bug. When a Bitcoin Core user turns on the optional 'avoidpartialspends' or 'avoid_reuse' setting, an output group rejected during coin selection could be counted twice as 'discarded.' That …
Logic error causing double-counting of discarded UTXO groupsCan trigger false 'insufficient funds' failure in coin selectionAffects avoidpartialspends / avoid_reuse wallets only
This is a documentation-only fix in a tutorial file. It changes two shell examples from using '>>' (append to file) to '>' (overwrite file). If a user followed the old instructions and ran the same command twice, the file would contain two…
No security signal: change is limited to documentationNo code changes to Bitcoin Core binaries, RPC, wallet, or consensus logicNo cryptographic, network, or privilege-boundary implications
This is a large internal code reorganization (refactor) in Bitcoin Core. It creates a new BlockTemplateManager class that takes over block-template creation, block submission, and tip-waiting helpers that were previously spread across seve…
Large refactor touching mining, RPC, interfaces, and test shutdown pathsNew object lifetime dependency: BlockTemplateManager holds references to mempool, chainman, and notifications; explicit reset ordering added in Shutdown/InitAndLoadChainstate/test setupsRemoval of early-init node.mining interface; BlockTemplateManager is now created after chainstate load, with a comment that it must exist before setChainstateLoaded(true) unblocks IPC waiters
This commit adds the first implementation of BIP352 (Silent Payments) to Bitcoin Core. Silent Payments are a new type of privacy-preserving Bitcoin address that lets someone receive payments without publicly revealing a fixed address. The …
New cryptographic feature implementation (BIP352 Silent Payments)Extensive use of secp256k1 silentpayments moduleInput public key extraction from P2PKH, P2WPKH, P2SH-P2WPKH, and P2TR inputs
Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.
Lower-prioritytest: valgrind --trace-children=yes for bitcoin wrapperby MarcoFalke · fa5d4788 · Feb 24, 2026 · 2 filesMessage 72 · AdequateInformational 15Details
Commit message · MarcoFalke
test: valgrind --trace-children=yes for bitcoin wrapper
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 changes the Bitcoin Core test framework so that when tests are run with the optional --valgrind flag, Valgrind now follows child processes spawned by the main 'bitcoin' wrapper executable. Previously, Valgrind only watched the wrapper itself and could miss memory errors in the actual node processes it launched. This is a testing/quality improvement, not a fix for a user-facing security bug.
test: Remove redundant warning about missing binaries
The error was added in commit 1ea7e45a1f445d32a2b690d52befb2e63418653b, because there was an additional confusing `AssertionError: [node 0] Error: no RPC connection` instead of just a single `FileNotFoundError: [Errno 2] No such file or directory`.
This is no longer needed on current master.
Also, the test is incomplete, because it was just checking bitcoind and bitcoin-cli, not any other missing binaries.
Also, after the previous commit, it would not work in combination with --valgrind.
Instead of trying to make it complete, and work in all combinations, just remove it, because the already existing error will be clear in any case.
This can be tested via:
```sh ./test/get_previous_releases.py
mv releases releases_backup # Confirm the test is skipped due to missing releases ./bld-cmake/test/functional/wallet_migration.py # Confirm the test fails due to missing releases ./bld-cmake/test/functional/wallet_migration.py --previous-releases mv releases_backup releases
mv ./releases/v28.2 ./releases/v28.2_backup # Confirm the test fails with a single FileNotFoundError ./bld-cmake/test/functional/wallet_migration.py mv ./releases/v28.2_backup ./releases/v28.2 # Confirm the test runs and passes ./bld-cmake/test/functional/wallet_migration.py
rm ./bld-cmake/bin/bitcoind # Confirm the test fails with a single "No such file or directory", # testing with and without --valgrind ./bld-cmake/test/functional/wallet_migration.py ./bld-cmake/test/functional/wallet_migration.py --valgrind ```
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 commit removes a redundant warning in Bitcoin Core's test framework. It does not change production code, network behavior, or wallet security. The change only affects how functional tests report missing test binaries, and the commit message explicitly says the removed check is no longer needed because the underlying error message is now clear enough on its own.
test: Fix broken --valgrind handling after bitcoin wrapper
Prior to this commit, tool_bitcoin.py was failing:
```sh $ ./bld-cmake/test/functional/tool_bitcoin.py --valgrind TestFramework (ERROR): Unexpected exception Traceback (most recent call last): File "./test/functional/test_framework/test_framework.py", line 138, in main self.setup() ~~~~~~~~~~^^ File "./test/functional/test_framework/test_framework.py", line 269, in setup self.setup_network() ~~~~~~~~~~~~~~~~~~^^ File "./test/functional/tool_bitcoin.py", line 38, in setup_network assert all(node.args[:len(node_argv)] == node_argv for node in self.nodes) ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError ```
This commit fixes this issue by running `bitcoin` under valgrind. Also, it comes with other improvements:
* Drop the outdated valgrind 3.14 requirement, because there is no distro that ships a version that old anymore. * Drop the VALGRIND_SUPPRESSIONS_FILE env var handling, because it was presumably never used since it was introduced. Also, the use-case seems limited.
Review note:
The set_cmd_args was ignoring the --valgrind test option.
In theory, this could be fixed by refactoring Binaries::node_argv() to be used here. However, for now, just re-implement the node_argv logic in set_cmd_args to prepend the valgrind cmd.
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 test-only bug fix. The --valgrind option used in Bitcoin Core's functional tests had stopped working after a previous change introduced a 'bitcoin' wrapper executable. The patch moves valgrind handling into the test framework's binary helper so the wrapper is launched under valgrind, and it removes an outdated minimum valgrind version and an unused environment variable. There is no change to production Bitcoin node code, no user-facing behavior change, and no security vulnerability in the network software itself.
Lower-priorityci: use LLVM 22 in sanitizer tasksby fanquake · a28eedb8 · Feb 24, 2026 · 6 filesMessage 57 · ThinInformational 15Details
Commit message · fanquake
ci: use LLVM 22 in sanitizer tasks
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
defensive validation
AI analysis · Informational 15/100
This commit is a routine update to Bitcoin Core's continuous integration (CI) configuration. It changes the version of the LLVM compiler toolchain used in automated testing jobs that run sanitizers (tools that detect bugs during testing) from version 21 to version 22. There is no change to the Bitcoin Core software that users run, no fix for a security flaw, and no known security relevance.
fuzz: prevent invalid `FRESH` entries and surface `BatchWrite` errors
Modify fuzzer logic to avoid setting `FRESH` for an outpoint that already exists unspent in the parent view, and ensure `FRESH` implies `DIRTY`. This keeps cursor invariants realistic and lets `BatchWrite` failures expose real bugs without resetting state.
95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 17/100
This change only touches a fuzz test file, not the main Bitcoin Core wallet or consensus code. It removes a workaround that previously swallowed a specific logic error during fuzz testing and instead makes the fuzzer avoid creating the invalid condition in the first place. There is no indication this fixes a real-world vulnerability in production software.
The coins view fuzzer can call `AddCoin` with `possible_overwrite=false` for an outpoint that already exists unspent in the view, which violates the `AddCoin` caller contract. Derive `possible_overwrite` from `PeekCoin` so `possible_overwrite=false` is only used when the outpoint is absent. This matches the approach used by the `coinscache_sim` fuzzer, which derives the overwrite flag from simulated state.
78/100 · AdequateMessage clarity
✓ 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 16/100
This commit fixes a fuzz test (an automated random-input testing harness) so it no longer violates an internal rule of the coin cache. It does not change production Bitcoin node code, so it cannot directly affect real users or the network. The change makes the test harness follow the same contract as real callers of AddCoin.
Lower-priorityfuzz: make `AddCoins` query view for overwritesby Lőrinc · d7e0d510 · Feb 23, 2026 · 1 fileMessage 90 · StrongInformational 17Details
Commit message · Lőrinc
fuzz: make `AddCoins` query view for overwrites
In validation, `AddCoins(check_for_overwrite=false)` is only used after BIP30 has already ensured the transaction does not overwrite any unspent outputs in the UTXO view. The coins view fuzz target can call `AddCoins` with arbitrary txids, so using the `check_for_overwrite=false` fast path on non-coinbase transactions may violate the `AddCoin` caller contract and trigger logic errors. Only use `check_for_overwrite=false` when we have first confirmed that none of the outputs are currently unspent. Otherwise, fall back to `check_for_overwrite=true` so `AddCoins` determines overwrites via the view.
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 17/100
This is a fix inside a Bitcoin Core fuzz test, not in the live network code. The fuzz test randomly feeds data into coin-handling functions to find crashes. Previously, the test could call AddCoins in a way that breaks an internal rule (overwriting an unspent coin while telling the function not to check for overwrites), causing assertion failures or logic errors. The patch makes the fuzz test check the coin view first, so it only uses the fast 'no overwrite check' path when it is actually safe. It does not change how real Bitcoin nodes validate transactions.
util: introduce `TrySub` to prevent unsigned underflow
Introduce `TrySub(T&, U)` which subtracts an unsigned integral `U` from an unsigned integral `T`, returning `false` on underflow. Use with `Assume(TrySub(...))` at coins cache accounting decrement sites so invariant violations fail immediately rather than silently wrapping.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Low 44/100
This change adds a safety check to subtraction operations in Bitcoin Core's coin-cache accounting. Previously, certain internal counters could silently wrap around to huge values if a bug caused them to be decremented more than they were incremented. Now the program will detect that impossible condition and abort, turning a silent accounting corruption into a visible failure. The patch is defensive hardening; it does not by itself prove an attacker can trigger the underflow.
Grouped changes to improve the overall readability and maintainability of the test. A lot more can be done, but this is a good first step.
1) Use for-loops instead of duplicating lines to perform the same checks for each node.
2) The {'txid': x, 'vout': y} dict is repeated everywhere in the test, both as input to gettxspendingprevout and as part of its result when an output has no known spender, making the test tedious to read and maintain.
This introduces a prevout(txid, vout) query helper and an unspent_out(txid, vout) result helper to reduce the repetition. These two helpers are intentionally kept separate to make it immediately clear whether a dict is an input to gettxspendingprevout or an assertion on its result.
3) The same repetition problem mentioned above applies to other gettxspendingprevout possible results: Spent outputs returns {'txid': x, 'vout': y, 'spendingtxid': z} and Spent outputs when requesting spending tx returns {'txid': x, 'vout': y, 'spendingtxid': z, 'blockhash': w, 'spendingtx': v}
To fix it, this introduces: - spent_out(txid, vout, spending_tx_id): for outputs with a known spender - spent_out_in_block(txid, vout, spending_tx_id, blockhash, spending_tx): for outputs spent in a confirmed block, when full tx data is requested
4) Rename overloaded confirmed_utxo variable (used in three different tests) to more descriptive names: root_utxo, reorg_replace_utxo, reorg_cancel_utxo to clarify their roles in each of the tests.
90/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100
This commit is a pure test-code cleanup. It rewrites a single functional test file to use helper functions and for-loops instead of repeating dictionary literals. There is no change to Bitcoin Core's production code, consensus rules, network protocol, wallet logic, or RPC behavior. It cannot affect live nodes, funds, or security.
Lower-prioritytest: use port 0 for I2P addresses in p2p_private_broadcast.pyby Vasil Dimov · da7f70a5 · Feb 23, 2026 · 1 fileMessage 100 · StrongInformational 15Details
Commit message · Vasil Dimov
test: use port 0 for I2P addresses in p2p_private_broadcast.py
I2P addresses must use port=0, otherwise `bitcoind` refuses to connect.
The test `p2p_private_broadcast.py` cannot simulate connections to I2P peers, so the I2P proxy is set to a dummy `127.0.0.1:1`. Still it is good to pick I2P addresses and attempt connections to increase coverage.
However the test uses port=8333 for I2P addresses and thus the connection attempts fail for the "wrong" reason:
``` Error connecting to ...i2p:8333, connection refused due to arbitrary port 8333 ```
Using the proper port=0 makes the failures:
``` Error connecting to ...i2p:0: Cannot connect to 127.0.0.1:1 ```
which will make possible simulated I2P connections once we have a test I2P proxy.
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 fix to a Bitcoin Core test script. It changes the network port number used for I2P test addresses from 8333 to 0, because Bitcoin Core requires I2P addresses to use port 0. The change only affects an automated functional test and does not change production code, so it has no direct security impact on real Bitcoin nodes or users.
Lower-prioritytest: let connections happen in any order in p2p_private_broadcast.pyby Vasil Dimov · a8ebcfd3 · Feb 23, 2026 · 1 fileMessage 100 · StrongInformational 15Details
Commit message · Vasil Dimov
test: let connections happen in any order in p2p_private_broadcast.py
If the following two events happen:
* (likely) the automatic 10 initial connections are not made to all networks * (unlikely) the network-specific logic kicks in almost immediately. It is using exponential distribution with a mean of 5 minutes (`rng.rand_exp_duration(EXTRA_NETWORK_PEER_INTERVAL)`).
So if both happen, then the 11th connection may not be the expected private broadcast, but a network-specific connection.
Fix this by retrieving the connection type from `destinations_factory()`. This is more flexible because it allows connections to happen in any order and does not break if e.g. the 11th connection is not the expected first private broadcast.
This also makes the test run faster: before: 19-44 sec now: 10-25 sec because for example there is no need to wait for the initial 10 automatic outbound connections to be made in order to proceed.
✓ 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✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100
This commit fixes a flaky automated test in Bitcoin Core. It does not change any production code, network protocol, or wallet behavior. The test previously assumed the 11th outbound connection would always be a private broadcast, which could fail under rare timing conditions. The fix reads the actual connection type from the node's debug log and routes test mock peers accordingly. It also makes the test faster by removing a hard wait for 10 initial connections.
When `git range-diff` cannot match a commit between two versions of a branch, it shows the old commit as removed (`<`) and the new commit as added (`>`), and it does not show the patch contents. This output is easy to misread as "no code changes" because the diff for that commit is effectively empty. It really means the commits were considered unrelated and the new commit should be reviewed from scratch. This is analogous to rename detection in `git diff`: if similarity is too low, a rename shows up as delete+add.
Example (exact SHAs from PR #34320): B=ff338fdb53a66ab40a36e1277e7371941fc89840; A=dd76338a57b9b1169ac27f7b783d6d0d4c6e38ab; git fetch upstream $B $A git range-diff 0ca4295f2e5f4443a1f8b3bae7cba0f6c054276f..$B 139aa4b27e4839291c83a04dcd1649c5595814ca..$A
This produced output like: 1: 4b32181dbb < -: ---------- test: add `HaveInputs` call-path unit tests -: ---------- > 1: 277c57f0c5 test: add `HaveInputs` call-path unit tests
Even though the subject matches, the first commit had no matching diff shown. That should be treated as "unmatched" rather than "unchanged".
If you expected a match, try increasing the creation factor so `git range-diff` searches harder: git range-diff --creation-factor=95 <old_range> <new_range>
98/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
documentation-only discount
AI analysis · Informational 15/100
This commit only updates developer documentation (doc/productivity.md) to explain how to correctly read `git range-diff` output. It contains no code changes, no configuration changes, and no security-relevant behavior. It is purely a documentation clarification about a Git tool used during code review.
Lower-prioritynet processing: Check if we are in ibd before processing block for txdownloadmanby sedited · e5f06135 · Feb 22, 2026 · 2 filesMessage 83 · StrongInformational 21Details
Commit message · sedited
net processing: Check if we are in ibd before processing block for txdownloadman
This avoids wasting work on calculating bloom filters that aren't consumed during ibd and continuously re-calculated as now blocks get validated.
Also update the functional test to document that transactions would now be requested again once out of IBD.
Co-authored-by: Lőrinc <pap.lorinc@gmail.com>
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
defensive validation
AI analysis · Informational 21/100
This commit is a performance optimization, not a security fix. It stops Bitcoin nodes from building unnecessary 'bloom filters' (a data structure used to track recently confirmed transactions) while they are still downloading the historical blockchain (IBD). Previously, the node wasted CPU recalculating these filters for old blocks even though it wasn't accepting new transactions from peers yet. The functional test was updated to reflect that transactions confirmed during IBD will now be requested again once the node is fully synced, because those filters were not built during IBD.
Add functional test exercising tx downloadman recently confirmed filter
This documents existing behaviour before the change in the following commit: The bloom filter maintained by the txdownload manager tracks recently confirmed transasctions even during ibd. If a peer sends an INV once IBD is over it does not re-request them.
Co-authored-by: sedited <seb.kung@gmail.com>
83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 12/100
This commit only adds a new automated test to Bitcoin Core. It does not change any production code. The test documents that transactions confirmed during initial block download (IBD) are remembered and not re-requested from peers once IBD finishes. There is no security fix or vulnerability here.
In `p2p_private_broadcast.py` in the function `check_broadcasts()` we should assert that the broadcast was done to `broadcasts_to_expect` peers, not to `NUM_PRIVATE_BROADCAST_PER_TX`. This is because in the "Basic" test we check the first broadcast manually because it is done to `nodes[1]` and then check the other two by `check_broadcasts(..., NUM_PRIVATE_BROADCAST_PER_TX - 1, ...)`. The first broadcast might not have fully concluded by the time we call `check_broadcasts()` to check the remaining 2.
Demanding always `NUM_PRIVATE_BROADCAST_PER_TX` can lead to:
``` Traceback (most recent call last): File "/home/vd/gh/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 142, in main self.run_test() ~~~~~~~~~~~~~^^ File "/tmp/build/clang22/test/functional/p2p_private_broadcast.py", line 347, in run_test self.check_broadcasts("Basic", txs[0], NUM_PRIVATE_BROADCAST_PER_TX - 1, NUM_INITIAL_CONNECTIONS + 1) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/build/clang22/test/functional/p2p_private_broadcast.py", line 313, in check_broadcasts assert_greater_than_or_equal(sum(1 for p in peers if "received" in p), NUM_PRIVATE_BROADCAST_PER_TX) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/vd/gh/bitcoin/bitcoin/test/functional/test_framework/util.py", line 94, in assert_greater_than_or_equal raise AssertionError("%s < %s" % (str(thing1), str(thing2))) AssertionError: 2 < 3 ```
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 one-line fix in a Bitcoin Core test script. It changes a test assertion to check the correct expected number of peer broadcasts, preventing a flaky test failure. It does not change any production code or network behavior, so it has no security impact on users.
Lower-prioritytest: move abortprivatebroadcast test at the endby Vasil Dimov · 37105663 · Feb 21, 2026 · 1 fileMessage 90 · StrongInformational 15Details
Commit message · Vasil Dimov
test: move abortprivatebroadcast test at the end
The piece of `p2p_private_broadcast.py` which tests the correctness of `abortprivatebroadcast` issues a new `sendrawtransaction` call. That call schedules up to 3 new connections: peer=13, peer=14 and possibly peer=15 before it gets aborted.
These up to 3 in-the-process-of-opening private broadcast connections have `CNode::m_connected` set early - when the `CNode` object is created. Later in the test the mock time is advanced by 20 minutes and those "old" connections pick a transaction for rebroadcast but that triggers `PRIVATE_BROADCAST_MAX_CONNECTION_LIFETIME` immediately:
``` 2026-02-21T13:28:14.209766Z [privbcast] [net.cpp:4006] [CNode] [net] Added connection peer=20 2026-02-21T13:28:14.309792Z (mocktime: 2026-02-21T13:48:14Z) [msghand] [net.cpp:4074] [PushMessage] [net] sending inv (37 bytes) peer=20 2026-02-21T13:28:14.309801Z (mocktime: 2026-02-21T13:48:14Z) [msghand] [net_processing.cpp:5745] [SendMessages] [privatebroadcast] Disconnecting: did not complete the transaction send within 180 seconds, peer=20 ```
This prematurely stops the private broadcast connection and results in a failure like:
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100
This commit only moves two test blocks to the end of a single functional test file. It fixes a flaky test failure caused by mock time advancing and prematurely disconnecting private broadcast connections. There is no change to production code, no security fix, and no vulnerability.
Lower-prioritycmake: Provide `install_name_tool` stub instead of disabling itby Hennadii Stepanov · 38a7a671 · Feb 21, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · Hennadii Stepanov
cmake: Provide `install_name_tool` stub instead of disabling it
When running `enable_language()`, CMake checks the platform-specific toolchain components, which includes `install_name_tool` for macOS. We disable this check when cross-compiling on Linux because `install_name_tool` is not used and our toolchain file does not provide it.
However, the current workaround has been breaking CMake's assumptions since commit eb8facd39606e9472f9ff6de40d7caf76767d0da (CMake 4.1.0, backported to 4.0.5), which causes an error during configuration using the Ninja generator.
This change fixes this behaviour by providing a stub executable instead of `install_name_tool`, as we currently do in the depends build subsystem.
85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
documentation-only discount
AI analysis · Informational 15/100
This is a build-system fix for Bitcoin Core's CMake configuration when cross-compiling macOS binaries from Linux. It replaces a workaround that disabled a CMake tool check with a harmless stub command, restoring compatibility with newer CMake versions. There is no security issue in the change itself.
Lower-prioritydoc: release note for IPC cooldown and interruptby Sjors Provoost · fcaec254 · Feb 20, 2026 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · Sjors Provoost
doc: release note for IPC cooldown and interrupt
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 release-note documentation describing two new behaviors in the mining inter-process communication (IPC) interface: a startup cooldown for createNewBlock and a new interrupt() method. It contains no code changes and no security fix or vulnerability.
Both waitTipChanged() and createNewBlock() can take a long time to return. Add a way for clients to interrupt them.
The new m_interrupt_mining is safely accessed with a lock on m_tip_block_mutex, but it has no guard annotation. A more thorough solution is discussed here: https://github.com/bitcoin/bitcoin/pull/34184#discussion_r2743566474
59/100 · ThinMessage clarity
✓ Subject identifies a change✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 19/100
This commit adds a new 'interrupt()' button to Bitcoin Core's mining interface so outside callers can stop two long-running mining operations (waiting for a new chain tip and creating a new block) instead of waiting for them to finish on their own. It is a feature/refactoring change, not a fix for an active security bug. The only security-relevant note is that the new interrupt flag is accessed under a lock but is not formally marked as guarded by that lock, which the commit message itself flags as a known imperfection.
At startup, if the needs to catch up, connected mining clients will receive a flood of new templates as new blocks are connected.
Fix this by adding a cooldown argument to createNewBlock(). When set to true, block template creation is briefly paused while the best header chain is ahead of the tip.
This wait only happens when the best header extends the current tip, to ignore competing branches.
Additionally, cooldown waits for isInitialBlockDownload() to latch to false, which happens when there is less than a day of blocks left to sync.
When cooldown is false createNewBlock() returns immediately. The argument is optional, because many tests are negatively impacted by this mechanism, and single miner signets could end up stuck if no block was mined for a day.
The getblocktemplate RPC also opts out, because it would add a delay to each call.
Fixes #33994
98/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
AI analysis · Low 27/100
This change adds a short waiting period (cooldown) when Bitcoin Core creates a new block template while the node is still catching up to the network. The goal is to stop mining software from receiving a flood of rapidly changing templates during initial sync. It is a performance and robustness improvement, not a fix for a direct money-stealing or remote-code-execution bug. The patch itself is careful to avoid a known risk: if a malicious miner announced a far-ahead header but withheld the actual block, waiting forever could stall honest miners. The new code caps the wait and only waits while the best header extends the current tip, not a competing branch.
Lower-priorityrpc: add optimal result to getmempoolinfoby Greg Sanders · a9e59f7d · Feb 20, 2026 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · Greg Sanders
rpc: add optimal result to getmempoolinfo
Expose this value to allow rpc based tooling to track this value for network health diagnostics.
60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 15/100
This commit simply adds a new read-only field called 'optimal' to the getmempoolinfo RPC output. It exposes whether the mempool is currently in a known-optimal transaction ordering. There is no change to transaction processing, consensus rules, or network behavior—only an additional diagnostic value returned by an RPC call.
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.
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.