BC
← All projectsBitcoin Core

Bitcoin Core

The Bitcoin network's reference node and wallet implementation.

BitcoinSupply chainNormal
Repository coverage

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

430security candidates747second-pass queue3197AI analyses
152commits · 30 days
340commits · 60 days
1160commits · 180 days
2736commits · 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
1529Strong · 80–100
1228Adequate · 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-script476129227589
Antoine Poinsot25422169
Ava Chow22175205071
Hennadii Stepanov25624225067
MarcoFalke41923411074
fanquake24521230058
Lőrinc18221177081
Sebastian Falbesoner371037075
Sjors Provoost90990074
rkrux57957074
David Gumberg55655072
Pieter Wuille95595066
Analysis record

Published AI watches

Last scanned 0 minutes ago

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

Merge bitcoin/bitcoin#36820: refactor: remove more dead code

This commit is a large cleanup that removes unused variables, unused function parameters, dead code paths, and commented-out code across Bitcoin Core. None of the changes alter how the software behaves or processes untrusted data; they onl…

No security-relevant signals presentPure refactoring / dead-code removalNo changes to consensus, networking, cryptography, or input validation logic
e8a59362by merge-script+22−13430 files
No security note in commit
Informational 22 AI analysisMessage 93 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#37098: chainparams: Replace achownodes.xyz with achownodes.org

This commit simply updates Bitcoin Core's built-in DNS seed list and seed-fetching documentation to use a new domain name (.org instead of .xyz) for Ava Chow's seeders. The old .xyz domain was suspended by its registry, so the change keeps…

DNS seed domain substitution due to registry suspension of prior domainPotential takeover risk of abandoned/suspended .xyz domain mitigated by removing it from default seedsNo cryptographic, consensus, or P2P protocol change
22230c17by merge-script+10−105 files
No security note in commit
Informational 15 AI analysisMessage 81 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36972: doc: clarify that `backupwallet` requires a filename

This commit only changes the user-facing help text for the backupwallet command. It makes the documentation clearer that you must provide a filename, not just a directory. No code behavior changed, and there is no security issue here.

69ea67ffby merge-script+2−21 file
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#37110: test: fix ineffective checks in rpc_psbt.py

This commit fixes three mistakes in Bitcoin Core's automated test file rpc_psbt.py. The tests were accidentally written in ways that meant they would always pass, even if the feature they were supposed to check was broken. The fixes correc…

test-only changeno production code modifiedfixes ineffective assertions in functional tests
1fda07f3by merge-script+16−91 file
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36832: test: speed up wallet unit test

This commit only changes Bitcoin Core's internal wallet unit tests. It merges a pull request that deduplicates test helper code and speeds up tests by reducing the number of pre-derived keys from the default 1,000 down to 1 during test wal…

No production code modifiedNo cryptographic or consensus code changedNo input validation or authorization logic changed
52562c95by merge-script+26−366 files
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36831: test: split `test_IsStandard` into independent test cases

This commit only reorganizes and splits existing test code. It moves the IsStandardTx tests into a new file, breaks one big test into smaller independent test cases, and replaces shared global test settings with a local policy struct. Ther…

4910c53dby merge-script+299−2773 files
No security note in commit
Informational 15 AI analysisMessage 100 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36740: test: SRD tie-break test

This commit fixes a flawed automated test in Bitcoin Core's wallet code. The test was supposed to verify that the coin-selection algorithm prefers lighter-weight coins when values are equal, but it had two mistakes: it was checking the wro…

No production code modifiedTest-only changeNo input validation, cryptography, networking, or consensus code affected
c9e093f2by merge-script+3−21 file
No security note in commit
Informational 12 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36931: test: cover negative output after positive in CheckTransaction

This commit only adds a new test case to Bitcoin Core's test data. It does not change any production code. The test verifies that a transaction containing a positive output followed by a negative output is correctly rejected as invalid. Th…

Adds regression test for negative transaction output following a positive outputPR description references a hypothetical mutation that could lead to an inflation bug if present in consensus codeNo change to src/consensus/tx_check.cpp or any production code path
e7b916b3by merge-script+4−01 file
Vendor flagged security relevance
Informational 15 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36696: CTransaction: Add constructor taking inputs and outputs

This is a routine code cleanup in Bitcoin Core. It adds a new, more convenient way to create transaction objects directly, instead of always going through a mutable intermediate. It also lets transaction inputs carry their witness data in …

847444a5by merge-script+72−643 files
No security note in commit
Informational 21 AI analysisMessage 96 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36734: net: Do not add transaction reported as TX_CONSENSUS to the extrapool

This change stops one specific category of clearly invalid Bitcoin transactions from being kept in a small helper pool used to reconstruct compact blocks. The helper pool (extrapool) stores transactions that did not fit in the normal mempo…

Behavioral change in transaction rejection handlingExplicitly described by author as not a vulnerability or regressionPartial mitigation only: does not prevent all consensus-invalid transactions from entering extrapool
19209e52by merge-script+3−22 files
No security note in commit
Low 34 AI analysisMessage 81 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36978: rpc: require a hex string for OP_RETURN data

This commit fixes a small but real type-checking bug in Bitcoin Core's `createrawtransaction` RPC command. Previously, if a user accidentally passed a JSON number where a hex string was expected for OP_RETURN data, the command could silent…

Type confusion between JSON number and hex string in RPC input parsingSilent acceptance of unintended byte values in OP_RETURN outputsInput validation strengthened to match documented API contract
2c0b8c4eby merge-script+3−22 files
No security note in commit
Informational 20 AI analysisMessage 100 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36998: fuzz: DisableNextWrite in mempool targets

This change only affects Bitcoin Core's internal fuzz testing programs. It makes fuzz test runs more reproducible by preventing hidden leftover state from one test input from influencing the next. It does not change normal node behavior, c…

test-only fuzz harness changedeterminism/reproducibility fix, not a runtime bug fixno change to consensus, networking, wallet, or mempool acceptance logic
8bb33f34by merge-script+13−03 files
No security note in commit
Low 41 AI analysisMessage 100 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36758: rpc: handle malformed jsonrpc 2.0 requests correctly

This update fixes a bug in Bitcoin Core's JSON-RPC server. When a malformed request claimed to use JSON-RPC 2.0, the server could crash in debug builds or return the wrong HTTP status code in release builds. The fix makes the server return…

Debug-build assertion failure (crash) reachable via authenticated RPCProtocol non-compliance: malformed JSON-RPC 2.0 requests returned HTTP 400 instead of HTTP 200 with JSON-RPC error bodyMalformed batch subrequests without id were incorrectly treated as notifications and produced no reply
0bc1e88dby Ryan Ofsky+58−115 files
No security note in commit
Informational 15 AI analysisMessage 82 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

test: fix non_witness_utxo check in rpc_psbt.py

This commit fixes a typo in a single test file. The test was checking for a misspelled key ('not_witness_utxo') that never appears, so the assertion could never fail. The fix changes it to the correct key ('non_witness_utxo'). This is a te…

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

test: fix tap tree absence check in rpc_psbt.py

This commit fixes a test in Bitcoin Core that was checking the wrong thing. The test was meant to verify that a simple Taproot output (one without a script tree) does not include an unnecessary 'tap tree' field in a PSBT. However, the orig…

435407a4by Sebastian Falbesoner+11−61 file
No security note in commit
Informational 15 AI analysisMessage 95 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

test: check all inputs after joinpsbts in rpc_psbt.py

This commit fixes a flaky test in Bitcoin Core's own test suite. The test was checking only one of four joined transaction inputs for a specific property, but because the inputs are randomly shuffled, it only caught the right input about 2…

6e1d96fcby Sebastian Falbesoner+4−21 file
No security note in commit
Informational 15 AI analysisMessage 96 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#37040: test: fix private key check in wallet_listdescriptors.py

This commit fixes a bug in a Bitcoin Core test script. The test was supposed to check that the listdescriptors command does not leak private keys when private=false, but it was checking the wrong thing—so the test would always pass even if…

Test-only fixCorrects a vacuously-true assertionNo change to wallet/RPC implementation
cc27c50eby merge-script+2−21 file
No security note in commit
Informational 21 AI analysisMessage 91 · Strong
BC Bitcoin CoreBitcoin Core BitcoinSupply chain

Merge bitcoin/bitcoin#36855: rpc: Deprecate watchonly wallet no-op named options

This change is a routine cleanup, not a security fix. Bitcoin Core is formally starting a deprecation cycle for several old wallet RPC options (includeWatching, include_watching, include_watchonly) that already did nothing ('no-op'). Unles…

No memory safety, cryptographic, or authorization changesBehavior change is a stricter RPC input check, not a relaxationOptions being deprecated are documented as no-op and have no effect on transaction funding logic
1b24b4f3by merge-script+52−69 files
No security note in commit
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
Repository ledger

Explore captured commits

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

Security candidateminer: fix `addPackageTxs` unsigned integer overflowby ismaelsadeeq · b807dfcd · Sep 24, 2025 · 1 fileMessage 55 · ThinLow 33Details
Commit message · ismaelsadeeq

miner: fix `addPackageTxs` unsigned integer overflow

55/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Names security-relevant behavior explicitly! No meaningful explanatory body
Why it was queued
memory safety
AI analysis · Low 33/100

This commit fixes a math bug in the Bitcoin Core block-building code. The original code subtracted a safety margin from the maximum block weight and then compared the current block weight to that lower number. Because the variables are unsigned integers, if the block weight was already larger than expected, the subtraction could underflow and wrap around to a huge number, making the comparison behave incorrectly. The fix rewrites the comparison as an addition on the other side, which cannot underflow. The practical effect is on when the miner decides to stop trying to add more transactions; the bug could make it give up too early or keep going too long in edge cases.

AI review queuedtest: Remove convert_to_json_for_cliby Ava Chow · df67bb6f · Sep 23, 2025 · 6 filesMessage 57 · ThinInformational 15Details
Commit message · Ava Chow

test: Remove convert_to_json_for_cli

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

This commit is a routine cleanup of Bitcoin Core's functional test code. It removes a helper method called convert_to_json_for_cli that was used to wrap arguments when tests were run against the command-line bitcoin-cli tool. The change only affects internal test scripts and has no impact on the live Bitcoin network, wallets, or node security.

Lower-prioritycli: Allow arguments to be both strings and jsonby Ava Chow · 44a493e1 · Sep 23, 2025 · 2 filesMessage 45 · ThinInformational 23Details
Commit message · Ava Chow

cli: Allow arguments to be both strings and json

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

This commit changes how Bitcoin Core's command-line tool (bitcoin-cli) handles certain arguments. Previously, some RPC parameters like 'hash_or_height' and 'rollback' were always treated as JSON, meaning plain strings would be rejected with a JSON parsing error. Now, for a small set of parameters, the tool accepts either a valid JSON value or a plain string. This is a usability fix, not a security patch, and it does not change the Bitcoin node itself—only the client-side argument parser.

Lower-prioritynet: use generic network key for addrcacheby Martin Zumsande · 94db966a · Sep 23, 2025 · 7 filesMessage 80 · StrongLow 31Details
Commit message · Martin Zumsande

net: use generic network key for addrcache

The generic key can also be used in other places
where behavior between different network identities should
be uncorrelated to avoid fingerprinting.
This also changes RANDOMIZER_ID - since it is not
being persisted to disk, there are no compatibility issues.

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Low 31/100

This Bitcoin Core change tweaks how the node picks a secret 'network key' used when replying to peer address requests. Previously the key was computed fresh each time from the peer's network type and the local bind address. Now it is computed once when a connection is created and stored on the CNode object. The stated goal is to make it easier to reuse the same anti-fingerprinting key in other parts of the code later. It is a refactoring/hardening patch, not a fix for an active bug or exploit.

Lower-prioritydepends: static libxcb_cursorby fanquake · eca50854 · Sep 23, 2025 · 3 filesMessage 66 · AdequateInformational 20Details
Commit message · fanquake

depends: static libxcb_cursor

Modern Ubuntu isn't shipping with this library installed by default.
Staticly link it to remove the need for end-users to install it.

Closes #33432.

66/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 20/100

This change makes Bitcoin Core's graphical wallet link a small X11 cursor helper library statically instead of relying on the operating system to provide it. That removes a runtime installation step for users on recent Ubuntu and other Linux distributions. It is a build/packaging convenience change, not a fix for an exploitable security bug.

Lower-priorityci: link against -lstdc++ in native fuzz with msan jobby fanquake · b77137a5 · Sep 23, 2025 · 2 filesMessage 72 · AdequateInformational 15Details
Commit message · fanquake

ci: link against -lstdc++ in native fuzz with msan job

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
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 15/100

This commit changes Bitcoin Core's internal continuous integration (CI) build scripts for a memory-sanitizer fuzz-testing job. It switches from building a custom Clang compiler from source to using pre-packaged Ubuntu LLVM 21 packages, and adds a linker flag (-lstdc++) to work around packaging-related link issues. There is no change to the Bitcoin Core software that users run, no change to consensus or networking code, and no security vulnerability is being fixed.

Lower-prioritytest: validate behaviour of getpeerinfo last_inv_sequence and inv_to_sendby Anthony Towns · 2738b63e · Sep 23, 2025 · 1 fileMessage 87 · StrongInformational 15Details
Commit message · Anthony Towns

test: validate behaviour of getpeerinfo last_inv_sequence and inv_to_send

Co-Authored-By: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>

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

This commit only adds new test code to Bitcoin Core. It extends an existing functional test to check that internal peer state fields (last_inv_sequence and inv_to_send) behave correctly when a transaction is announced. There is no change to production code, no bug fix, and no security-relevant behavior change.

AI review queueddoc: remove unrelated `bitcoin-wallet` binary from `libbitcoin_ipc` descriptionby Sebastian Falbesoner · fbde8d9a · Sep 22, 2025 · 1 fileMessage 81 · StrongInformational 15Details
Commit message · Sebastian Falbesoner

doc: remove unrelated `bitcoin-wallet` binary from `libbitcoin_ipc` description

`bitcoin-wallet` as-is is merely an offline wallet inspection tool
(introduced more than 9 years ago in PR #13926) that doesn't have any
relation with IPC/multiprocess, so remove it from the list of binaries
that use `libbitcoin_ipc`.

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

This commit is a documentation-only correction. It removes an incorrect mention of the bitcoin-wallet tool from a design document that describes which programs use the inter-process communication (IPC) library. There is no code change and no security impact.

Lower-prioritytest: split out `system_ram_tests` to signal when total ram cannot be determinedby Lőrinc · 56791b58 · Sep 22, 2025 · 3 filesMessage 95 · StrongInformational 15Details
Commit message · Lőrinc

test: split out `system_ram_tests` to signal when total ram cannot be determined

when `GetTotalRAM` returns an `std::nullopt` now we're getting:
```
The following tests did not run:
106 - system_ram_tests (Skipped)
```

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

This commit only reorganizes a test. It moves a memory-size sanity check from one test file into its own separate test file and makes the test skip gracefully when the system cannot determine total RAM. There is no change to Bitcoin Core's actual runtime code, no bug fix, and no security issue.

Lower-prioritysystem: improve handling around GetTotalRAM()by Vasil Dimov · 337a6e73 · Sep 22, 2025 · 1 fileMessage 86 · StrongInformational 19Details
Commit message · Vasil Dimov

system: improve handling around GetTotalRAM()

This patch achieves two things:
1. Fix unused variable warning (https://github.com/bitcoin/bitcoin/pull/33333#discussion_r2362493046)
2. Enable GetTotalRAM() on other platforms where it was tested to work.

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

86/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 19/100

This is a minor code cleanup and portability improvement. It silences a compiler warning about an unused helper function and expands the list of operating systems where Bitcoin Core can query total system RAM. There is no security bug being fixed here.

Lower-priorityrpc/net: report per-peer last_inv_sequenceby Anthony Towns · 77b2ebb8 · Sep 22, 2025 · 4 filesMessage 45 · ThinInformational 18Details
Commit message · Anthony Towns

rpc/net: report per-peer last_inv_sequence

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

This commit adds a new diagnostic field, last_inv_sequence, to the getpeerinfo RPC output and makes a small internal lock change so the value can be read safely. It is essentially an observability/debugging improvement for node operators and does not change network behavior or transaction relay rules. There is no indication it fixes an active security bug.

Lower-priorityrpc: fix getblock(header) returns target for tipby Sjors Provoost · bf7996cb · Sep 20, 2025 · 2 filesMessage 98 · StrongInformational 21Details
Commit message · Sjors Provoost

rpc: fix getblock(header) returns target for tip

A target field was added to the getblock and getblockheader RPC calls in bitcoin#31583, but it mistakingly always used the tip value.

Because regtest does not have difficulty adjustment, a test is added for mainnet instead.

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 · Informational 21/100

This commit fixes a bug in Bitcoin Core's RPC (remote procedure call) responses. When users asked for data about an older block via getblock or getblockheader, the newly added 'target' field was incorrectly showing the current chain tip's target instead of that older block's actual target. The fix simply uses the correct block's data. It is a data accuracy bug, not a security vulnerability that allows theft, denial of service, or code execution.

Lower-prioritytest: add block 2016 to mock mainnetby Sjors Provoost · 4c3c1f42 · Sep 20, 2025 · 4 filesMessage 98 · StrongInformational 15Details
Commit message · Sjors Provoost

test: add block 2016 to mock mainnet

The next commit requires an additional mainnet block which changes the difficulty.

Also fix a few minor mistakes in the test (suite):
- rename the create_coinbase retarger_period argument to halving_period. Before bitcoin#31583 this was hardcoded for regtest where these values are the same.
- drop unused fees argument from mine helper

Finally the CPU miner instructions for generating the alternative mainnet chain are expanded.

98/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✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100

This commit only changes Bitcoin Core's internal test code. It adds one more mock mainnet block to a test fixture, renames a function argument for clarity, removes an unused parameter, and expands documentation for how the test data was generated. There is no change to the actual Bitcoin network code that users run.

Security candidateMerge bitcoin/bitcoin#28592: p2p: Increase tx relay rateby merge-script · 56c6daa6 · Sep 19, 2025 · 2836 filesMessage 81 · StrongInformational 17Details
Commit message · merge-script

Merge bitcoin/bitcoin#28592: p2p: Increase tx relay rate

b81f37031c8f2ccad9346f1b65ee0f8083c44796 p2p: Increase tx relay rate (Anthony Towns)

Pull request description:

In the presence of smaller transactions on the network, blocks can sustain a higher relay rate than 7tx/second. In this event, the per-peer inventory queues can grow too large.

This commit bumps the rate up to 14 tx/s (for inbound peers), increasing the safety margin by a factor of 2.

Outbound peers continue to receive relayed transactions at 2.5x the rate of inbound peers, for a rate of 35tx/second.

ACKs for top commit:
sipa:
ACK b81f37031c8f2ccad9346f1b65ee0f8083c44796
achow101:
ACK b81f37031c8f2ccad9346f1b65ee0f8083c44796
darosior:
utACK b81f37031c8f2ccad9346f1b65ee0f8083c44796.
glozow:
utACK b81f37031c8f2ccad9346f1b65ee0f8083c44796

Tree-SHA512: 854ea0824d5f4c629f1dceb9ee61cc9226c8f0d4d26664737e68db917f65341d4800362ab55ed32673db920b2b59aa116b4cb9ee063367b2e43c94a904b41c08

81/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ 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 17/100

This commit is a routine Bitcoin Core merge that increases the rate at which transactions are relayed to peers (from 7 to 14 per second for inbound peers, and up to 35 for outbound peers). It is described by the project as a safety-margin improvement to keep per-peer inventory queues from growing too large when blocks contain many small transactions. The change is a single constant tweak in the P2P networking code and is not presented as a security fix.

Lower-prioritybuild(windows): Remove lingering registry entries and shortcuts upon installby Hodlinator · 79752b9c · Sep 19, 2025 · 1 fileMessage 85 · StrongInformational 21Details
Commit message · Hodlinator

build(windows): Remove lingering registry entries and shortcuts upon install

Prior releases installed using these paths. Especially annoying was that the lingering registry entry for the uninstaller would show up as "Bitcoin Core (64-bit)" besides the current "Bitcoin Core" entry in the list of installed programs, and whichever was uninstalled last would fail to work as they would default to the same install directory.

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

This change updates the Windows installer so that when a new version of Bitcoin Core is installed, it cleans up leftover registry entries and Start Menu shortcuts from older releases. Previously, old uninstaller entries could remain in Windows' list of installed programs, causing confusion and making whichever entry was uninstalled last fail to remove the software properly. There is no security vulnerability here; it is a cleanup fix for a user-experience issue on Windows.

Lower-priorityrpc: Always return per-wtxid entries in submitpackage tx-resultsby John Moffett · cad9a7fd · Sep 19, 2025 · 2 filesMessage 83 · StrongInformational 19Details
Commit message · John Moffett

rpc: Always return per-wtxid entries in submitpackage tx-results

When submitpackage produced no per-transaction result for a member,
the RPC previously set "error": "unevaluated" but then continued
without inserting the entry into tx-results, making it impossible for
callers to know which wtxids were unevaluated.

Insert the placeholder result before continuing, update help text, and
adjust functional tests to expect entries for all submitted wtxids.

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 19/100

This commit fixes a minor bug in Bitcoin Core's submitpackage RPC. Previously, when a package of transactions failed early, the RPC would label the failure as 'unevaluated' but wouldn't actually include each transaction's result in the response, making it hard for callers to know which transactions were affected. Now it always returns a per-transaction entry with a clearer 'package-not-validated' message. This is a usability/API correctness fix, not a security vulnerability.

Lower-priorityfuzz: Reduce iterations in slow targetsby marcofleon · 6a33970f · Sep 19, 2025 · 3 filesMessage 55 · ThinInformational 15Details
Commit message · marcofleon

fuzz: Reduce iterations in slow targets

55/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 15/100

This commit only changes internal fuzz testing code. It reduces the number of loop iterations in three slow-running fuzz targets so the tests run faster. It does not touch any production Bitcoin Core code, network protocol, wallet, consensus, or mining logic, and it introduces no security-relevant behavior changes.

Lower-prioritytest: forbid copying of DebugLogHelperby Daniel Pfeifer · 24279399 · Sep 19, 2025 · 1 fileMessage 67 · AdequateInformational 15Details
Commit message · Daniel Pfeifer

test: forbid copying of DebugLogHelper

67/100 · AdequateMessage clarity
✓ 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 is a small test-only code cleanup that prevents a helper class used only in tests from being accidentally copied. It does not affect the live Bitcoin network software, wallets, consensus rules, or any user-facing functionality. There is no security issue being fixed here.

Lower-prioritytest: don't throw from the destructor of DebugLogHelperby Vasil Dimov · d6aa266d · Sep 19, 2025 · 2 filesMessage 95 · StrongInformational 16Details
Commit message · Vasil Dimov

test: don't throw from the destructor of DebugLogHelper

Throwing an exception from the destructor of a class is a bad practice,
avoid that and instead print the message to the standard error output
and call `std::abort()`.

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

This is a small cleanup in Bitcoin Core's own test code. It changes a test helper so that, if a test fails to find an expected log message, it prints an error and aborts the program instead of throwing an exception from a destructor. Throwing from destructors is considered bad C++ practice because it can cause crashes or unexpected behavior during stack unwinding, but this only affects internal test infrastructure and is not a security vulnerability in the live Bitcoin network software.

Security candidateBugfix: QA: rpc_bind: Skip nonloopback test if no such address is foundby Luke Dashjr · 79b4c276 · Sep 19, 2025 · 1540 filesMessage 60 · AdequateInformational 15Details
Commit message · Luke Dashjr

Bugfix: QA: rpc_bind: Skip nonloopback test if no such address is found

60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! 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 test-only bugfix for the Bitcoin Core QA suite. It changes the rpc_bind functional test so that it skips the non-loopback network binding test when the machine running the tests has no non-loopback IP address available. It does not change any production code that runs on real Bitcoin nodes, wallets, or miners, and therefore has no direct security impact on users of the software.

Security candidatelog: reword `signature validations` to `script verification` in `assumevalid` logby Lőrinc · 91ac64b0 · Sep 18, 2025 · 2 filesMessage 88 · StrongInformational 15Details
Commit message · Lőrinc

log: reword `signature validations` to `script verification` in `assumevalid` log

Even though not all script verification is turned off currently (e.g. we're still doing the cheaper sigop counts), this naming is more consistent with other usages.

88/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Names security-relevant behavior explicitly
Why it was queued
signing boundarydefensive validation
AI analysis · Informational 15/100

This commit only rewords a log message and updates the matching test. It changes 'signature validations' to 'script verification' in a progress/debug log line and fixes a typo in a comment. There is no functional code change and no security impact.

Lower-priorityrpc: addpeeraddress: throw on invalid IPby John Moffett · 316a0c51 · Sep 18, 2025 · 2 filesMessage 78 · AdequateInformational 20Details
Commit message · John Moffett

rpc: addpeeraddress: throw on invalid IP

Throw RPC_CLIENT_INVALID_IP_OR_SUBNET when LookupHost(addr, false) fails
in addpeeraddress. This aligns with setban/addconnection and avoids the
opaque {"success": false} result for input errors. The JSON {success,
error?} object remains for addrman outcomes only. Update test to match.

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

This change tightens error handling in a Bitcoin Core RPC command called addpeeraddress. Previously, if you gave it a bad IP address it would silently return {"success": false}. Now it immediately throws a clear 'Invalid IP address' error, matching how similar commands already behave. This is a small usability and input-validation improvement, not a fix for an active security vulnerability.

Lower-prioritycoins: warn on oversized -dbcacheby Lőrinc · 168360f4 · Sep 17, 2025 · 5 filesMessage 98 · StrongInformational 21Details
Commit message · Lőrinc

coins: warn on oversized -dbcache

Oversized allocations can cause out-of-memory errors or [heavy swapping](https://github.com/getumbrel/umbrel-os/issues/64#issuecomment-663637321), [grinding the system to a halt](https://x.com/murchandamus/status/1964432335849607224).

`LogOversizedDbCache()` now emits a startup warning if the configured `-dbcache` exceeds a cap derived from system RAM, using the same parsing/clamping as cache sizing via CalculateDbCacheBytes(). This isn't meant as a recommended setting, rather a likely upper limit.

Note that we're not modifying the set value, just issuing a warning.
Also note that the 75% calculation is rounded for the last two numbers since we have to divide first before multiplying, otherwise we wouldn't stay inside size_t on 32-bit systems - and this was simpler than casting back and forth.

We could have chosen the remaining free memory for the warning (e.g. warn if free memory is less than 1 GiB), but this is just a heuristic, we assumed that on systems with a lot of memory, other processes are also running, while memory constrained ones run only Core.

If total RAM < 2 GiB, cap is `DEFAULT_DB_CACHE` (`450 MiB`), otherwise it's 75% of total RAM.
The threshold is chosen to be close to values commonly used in [raspiblitz](https://github.com/raspiblitz/raspiblitz/blob/dev/home.admin/_provision.setup.sh#L98-L115) for common setups:

| Total RAM | `dbcache` (MiB) | raspiblitz % | proposed cap (MiB) |
|----------:|----------------:|-------------:|-------------------:|
| 1 GiB | 512 | 50.0% | 450* |
| 2 GiB | 1536 | 75.0% | 1536 |
| 4 GiB | 2560 | 62.5% | 3072 |
| 8 GiB | 4096 | 50.0% | 6144 |
| 16 GiB | 4096 | 25.0% | 12288 |
| 32 GiB | 4096 | 12.5% | 24576 |

[Umbrel issues](https://github.com/getumbrel/umbrel-os/issues/64#issuecomment-663816367) also mention 75% being the upper limit.

Starting `bitcoind` on an 8 GiB rpi4b with a dbcache of 7 GiB:
> ./build/bin/bitcoind -dbcache=7000

warns now as follows:
```
2025-09-07T17:24:29Z [warning] A 7000 MiB dbcache may be too large for a system memory of only 7800 MiB.
2025-09-07T17:24:29Z Cache configuration:
2025-09-07T17:24:29Z * Using 2.0 MiB for block index database
2025-09-07T17:24:29Z * Using 8.0 MiB for chain state database
2025-09-07T17:24:29Z * Using 6990.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
```

Besides the [godbolt](https://godbolt.org/z/EPsaE3xTj) reproducers for the new total memory method, we also tested the warnings manually on:
- [x] Apple M4 Max, macOS 15.6.1
- [x] Intel Core i9-9900K, Ubuntu 24.04.2 LTS
- [x] Raspberry Pi 4 Model B, Armbian Linux 6.12.22-current-bcm2711
- [x] Intel Xeon x64, Windows 11 Home Version 24H2, OS Build 26100.4351

Co-authored-by: stickies-v <stickies-v@protonmail.com>
Co-authored-by: Hodlinator <172445034+hodlinator@users.noreply.github.com>
Co-authored-by: w0xlt <woltx@protonmail.com>

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 · Informational 21/100

This change adds a startup warning when a user sets the Bitcoin Core database cache (-dbcache) to a value that the software considers too large for the system's total RAM. It does not change the configured value or prevent the node from running; it only prints a warning. The goal is to help users avoid accidentally making their computer slow or unresponsive due to heavy memory use or swapping.

Security candidatesystem: add helper for fetching total system memoryby Lőrinc · 6c720459 · Sep 17, 2025 · 3 filesMessage 96 · StrongInformational 15Details
Commit message · Lőrinc

system: add helper for fetching total system memory

Added a minimal system helper to query total physical RAM on [Linux/macOS/Windows](https://stackoverflow.com/a/2513561) (on other platforms we just return an empty optional).

The added test checks if the value is roughly correct by checking if the CI platforms are returning any value and if the value is at least 1 GiB and not more than 10 TiB.

The max value is only validated on 64 bits, since it's not unreasonable for 32 bits to have max memory, but on 64 bits it's likely an error.

https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/ns-sysinfoapi-memorystatusex
> ullTotalPhys The amount of actual physical memory, in bytes.

https://man7.org/linux/man-pages/man3/sysconf.3.html:
> _SC_PHYS_PAGES The number of pages of physical memory. Note that it is possible for the product of this value and the value of _SC_PAGESIZE to overflow.
> _SC_PAGESIZE Size of a page in bytes. Must not be less than 1.

See https://godbolt.org/z/ec81Tjvrj for further details

96/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✓ Names security-relevant behavior explicitly
Why it was queued
memory safetydefensive validation
AI analysis · Informational 15/100

This commit adds a simple helper function that asks the operating system how much total physical memory (RAM) the computer has. It supports Linux, macOS, and Windows, and returns no value on other platforms. It also adds a test to make sure the reported number looks reasonable. There is no security issue visible in this change.

Lower-prioritytest: Avoid interface_ipc.py Duplicate ID errorsby Ryan Ofsky · e9c52272 · Sep 17, 2025 · 1 fileMessage 98 · StrongInformational 17Details
Commit message · Ryan Ofsky

test: Avoid interface_ipc.py Duplicate ID errors

This change should fix issue https://github.com/bitcoin/bitcoin/issues/33417
reported by zaidmstrr. It's possible to reproduce the `mp/proxy.capnp:0:
failed: Duplicate ID @0xcc316e3f71a040fb` error by installing libmultiprocess
system-wide, or to one of the locations listed in the python test's `imports`
list before the local libmultiprocess subtree, and then running the test.

98/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✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 17/100

This is a test-only fix that changes the order of import directories in a single Python test file. It prevents a false 'duplicate ID' error when the test accidentally loads two copies of the same Cap'n Proto schema file from different libmultiprocess installations. It does not change production Bitcoin Core code and does not create a security vulnerability.