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

Lower-priorityvalidation: log initial script verification stateby Lőrinc · 9bc29855 · Oct 2, 2025 · 2 filesMessage 90 · StrongInformational 13Details
Commit message · Lőrinc

validation: log initial script verification state

Replaced `atomic<bool>` with `std::optional<bool>` (logged once on first observation). Safe because `ConnectBlock` holds `cs_main`.\
After this change, the state is logged before the very first `UpdateTip` line.

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

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
defensive validation
AI analysis · Informational 13/100

This change only affects logging: it records whether Bitcoin Core is performing full script verification the first time that state is observed, and it moves the log line to appear before the first 'UpdateTip' message. There is no security vulnerability here.

Lower-prioritylog: separate script verification reasonsby Lőrinc · 6c13a38a · Oct 2, 2025 · 3 filesMessage 78 · AdequateInformational 15Details
Commit message · Lőrinc

log: separate script verification reasons

Replace `fScriptChecks` with `script_check_reason` and log the precise reason when checks are enabled; log a plain "Disabling" when they are skipped.
Adjust the functional test to assert the new reason strings.

Co-authored-by: w0xlt <woltx@protonmail.com>
Co-authored-by: Eunovo <eunovo9@gmail.com>
Co-authored-by: Hodlinator <172445034+hodlinator@users.noreply.github.com>
Co-authored-by: TheCharlatan <seb.kung@gmail.com>
Co-authored-by: Andrew Toth <andrewstoth@gmail.com>

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
defensive validation
AI analysis · Informational 15/100

This change only improves logging messages. It replaces a simple on/off flag with a descriptive reason for why Bitcoin Core enables or skips script verification when connecting blocks. No security behavior is changed; the same decisions are made, but the log output now explains them.

Lower-prioritytest: add assumevalid scenarios scaffoldby Lőrinc · 4fad4e99 · Oct 2, 2025 · 1 fileMessage 90 · StrongInformational 14Details
Commit message · Lőrinc

test: add assumevalid scenarios scaffold

Increase the test to 6 nodes and add flows for baseline, deep anchor, and too-recent cases, plus scaffolding for off-best-header, not-in-assumevalid,
and reindex gates.
Assertions are minimal here; follow-ups add reason checks.

Co-authored-by: Hodlinator <172445034+hodlinator@users.noreply.github.com>

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

This commit only adds new test cases to a Bitcoin Core functional test file. It expands the existing assumevalid test from 3 to 6 nodes and adds scaffolding for additional scenarios, but it does not change any production code. The assertions are intentionally minimal and described as follow-up work. There is no security fix or vulnerability being introduced here.

Lower-priorityinit: Signal m_tip_block_cv on Ctrl-Cby Ryan Ofsky · c25a5e67 · Oct 1, 2025 · 3 filesMessage 88 · StrongLow 28Details
Commit message · Ryan Ofsky

init: Signal m_tip_block_cv on Ctrl-C

Signal m_tip_block_cv when Ctrl-C is pressed or SIGTERM is received, the same
way it is currently signalled when the `stop` RPC is called. This lets RPC
calls like `waitforblockheight` and IPC calls like `waitTipChanged` be
interrupted, instead of waiting for their original timeouts and delaying
shutdown.

Historical notes:

- The behavior where `stop` RPC signals `m_tip_block_cv`, but CTRL-C does not,
has been around since the condition variable was introduced in #30409
(7eccdaf16081d6f624c4dc21df75b0474e049d2b).
- The signaling was later moved without changing behavior in #30967
(5ca28ef28bcca1775ff49921fc2528d9439b71ab). This commit moves it again to
the Interrupt() function, which is probably the place it should have been
added initially, so it works for Ctrl-C shutdowns as well as `stop`
shutdowns.
- A Qt shutdown bug calling wait methods was fixed previously in #18452
(da73f1513a637a9f347b64de66564d6cdb2541f8), and this change updates that
fix to avoid the hang happening again in Qt.

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

This commit fixes a shutdown bug in Bitcoin Core. When a user pressed Ctrl-C or the process received SIGTERM, threads waiting for the blockchain tip to change (such as those handling 'waitforblockheight' RPC calls or Qt wallet wait methods) would not be woken up. This delayed shutdown until those calls hit their timeouts. The fix moves the wake-up signal so it fires during any shutdown path, not just the 'stop' RPC path. It is a reliability/usability fix, not a security vulnerability that can be exploited by an attacker.

Lower-prioritydoc: clarify peer address in getpeerinfo and addnode RPC helpby Vasil Dimov · 87e7f379 · Oct 1, 2025 · 1 fileMessage 73 · AdequateInformational 15Details
Commit message · Vasil Dimov

doc: clarify peer address in getpeerinfo and addnode RPC help

The returned value in `getpeerinfo/addr` could be a hostname as well as
an IP address and the `:port` part could be missing. It is displayed
from `CNode::m_addr_name` which could have been set from RPC `addnode`
where the argument is allowed to be a hostname and an optional port.

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

This commit only updates the user-facing help text for two Bitcoin Core RPC commands, getpeerinfo and addnode. It clarifies that the displayed peer address can be a hostname (not just an IP address) and that the port number is optional. There is no code behavior change, no bug fix, and no security relevance.

Lower-prioritynet: change FindNode() to not return a node and rename itby Vasil Dimov · 2a4450cc · Oct 1, 2025 · 2 filesMessage 73 · AdequateModerate 51Details
Commit message · Vasil Dimov

net: change FindNode() to not return a node and rename it

All callers of `CConnman::FindNode()` use its return value `CNode*` only
as a boolean null/notnull. So change that method to return `bool`.

This removes the dangerous pattern of handling a `CNode` object (the
return value of `FindNode()`) without holding `CConnman::m_nodes_mutex`
and without having that object's reference count incremented for the
duration of the usage.

Also rename the method to better describe what it does.

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

This commit is a preventive safety change in Bitcoin Core's networking code. It renames and rewrites an internal lookup function so it only answers 'yes/no' about whether a connection already exists, instead of handing back a live peer object that callers might accidentally use without proper locking or reference counting. The commit itself does not claim to fix an active bug or vulnerability, but it removes a risky pattern that could lead to crashes or memory-safety issues in the future.

Lower-prioritynet: avoid recursive m_nodes_mutex lock in DisconnectNode()by Vasil Dimov · 4268abae · Oct 1, 2025 · 1 fileMessage 73 · AdequateInformational 23Details
Commit message · Vasil Dimov

net: avoid recursive m_nodes_mutex lock in DisconnectNode()

Have `CConnman::DisconnectNode()` iterate `m_nodes` itself instead of
using `FindNode()`. This avoids recursive mutex lock and drops the only
caller of `FindNode()` which used the return value for something else
than a boolean found/notfound.

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

This commit changes how Bitcoin Core finds a network peer when disconnecting it by address. Previously it called an internal helper (FindNode) that would lock the same peer-list mutex again while already holding it, creating a recursive lock. The patch makes the function search the peer list directly, avoiding that double-lock. Recursive mutex locks can hide deadlocks or, in some lock implementations, cause failures if the mutex is later changed to non-recursive. The change is defensive cleanup rather than a fix for a known remotely exploitable bug.

Lower-priorityfuzz: Drop unused workaround after Apple-Clang bumpby MarcoFalke · 1aaaaa07 · Oct 1, 2025 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · MarcoFalke

fuzz: Drop unused workaround after Apple-Clang bump

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

This is a tiny cleanup change in Bitcoin Core's internal fuzz-testing code. It removes a workaround comment and simplifies how fuzz test targets are registered. There is no security issue here.

Lower-priorityDrop support for EOL macOS 13by MarcoFalke · fadad7a4 · Oct 1, 2025 · 5 filesMessage 45 · ThinInformational 20Details
Commit message · MarcoFalke

Drop support for EOL macOS 13

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

This commit simply stops supporting macOS 13, an operating system version that has reached end-of-life. It updates build and release documentation to require macOS 14 or newer. There is no security vulnerability being fixed here.

Lower-priorityci: Remove bash -c from cmake invocation using evalby Brandon Odiwuor · 50194029 · Oct 1, 2025 · 1 fileMessage 62 · AdequateInformational 19Details
Commit message · Brandon Odiwuor

ci: Remove bash -c from cmake invocation using eval

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

This commit changes how a Bitcoin Core CI script passes build options to the CMake build tool. Previously, all options were concatenated into a single string and run through 'bash -c', which could mishandle special characters in option values. Now the options are parsed into a proper array using 'eval' and passed directly to CMake. This is a code-quality and robustness improvement in internal CI tooling, not a fix for an active exploit in the Bitcoin software itself.

Security candidateMerge bitcoin/bitcoin#28584: Fuzz: extend CConnman testsby Ava Chow · f41f9724 · Sep 30, 2025 · 2840 filesMessage 91 · StrongInformational 15Details
Commit message · Ava Chow

Merge bitcoin/bitcoin#28584: Fuzz: extend CConnman tests

0802398e749c5e16fa7085cd87c91a31bbe043bd fuzz: make it possible to mock (fuzz) CThreadInterrupt (Vasil Dimov)
6d9e5d130d2e1d052044e9a72d44cfffb5d3c771 fuzz: add CConnman::SocketHandler() to the tests (Vasil Dimov)
3265df63a48db187e0d240ce801ee573787fed80 fuzz: add CConnman::InitBinds() to the tests (Vasil Dimov)
91cbf4dbd864b65ba6b107957f087d1d305914b2 fuzz: add CConnman::CreateNodeFromAcceptedSocket() to the tests (Vasil Dimov)
50da7432ec1e5431b243aa30f8a9339f8e8ed97d fuzz: add CConnman::OpenNetworkConnection() to the tests (Vasil Dimov)
e6a917c8f8e0f1a0fa71dc9bbb6e1074f81edea3 fuzz: add Fuzzed NetEventsInterface and use it in connman tests (Vasil Dimov)
e883b37768812d96feec207a37202c7d1b603c1f fuzz: set the output argument of FuzzedSock::Accept() (Vasil Dimov)

Pull request description:

Extend `CConnman` fuzz tests to also exercise the methods `OpenNetworkConnection()`, `CreateNodeFromAcceptedSocket()`, `InitBinds()` and `SocketHandler()`.

Previously fuzzing those methods would have resulted in real socket functions being called in the operating system which is undesirable during fuzzing. Now that https://github.com/bitcoin/bitcoin/pull/21878 is complete all those are mocked to a fuzzed socket and a fuzzed DNS resolver (see how `CreateSock` and `g_dns_lookup` are replaced in the first commit).

ACKs for top commit:
achow101:
ACK 0802398e749c5e16fa7085cd87c91a31bbe043bd
jonatack:
Review re-ACK 0802398e749c5e16fa7085cd87c91a31bbe043bd
dergoegge:
Code review ACK 0802398e749c5e16fa7085cd87c91a31bbe043bd

Tree-SHA512: a717d4e79f42bacf2b029c821fdc265e10e4e5c41af77cd4cb452cc5720ec83c62789d5b3dfafd39a22cc8c0500b18169aa7864d497dded729a32ab863dd6c4d

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

This commit is a merge of a Bitcoin Core pull request that adds and extends fuzz tests for the CConnman networking component. Fuzz tests are automated test harnesses that feed random or mutated inputs to functions to find bugs. The changes only affect test code and test utilities; they do not change the behavior of the live Bitcoin node software. There is no indication this commit fixes a security vulnerability or introduces one.

AI review queuedtest: make notfound_on_unannounced more reliableby David Gumberg · 14ae71f3 · Sep 30, 2025 · 1 fileMessage 100 · StrongInformational 15Details
Commit message · David Gumberg

test: make notfound_on_unannounced more reliable

By using mocktime, we will always hit both the notfound
branch and the tx sent branch.
The previous version didn't achieve that due to timing
issues.

Co-authored-by: Martin Zumsande <mzumsande@gmail.com>

100/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 15/100

This commit only changes a single test file. It makes an existing functional test more reliable by using mock time instead of looping up to 100 times and hoping for the right timing. There is no change to the actual Bitcoin Core node software, so it cannot affect real users, wallets, or network behavior.

Lower-prioritytest: fix (w)txid confusion in p2p_leak_tx.pyby Martin Zumsande · 99bc5529 · Sep 30, 2025 · 1 fileMessage 82 · StrongInformational 15Details
Commit message · Martin Zumsande

test: fix (w)txid confusion in p2p_leak_tx.py

Before, we'd send a MSG_TX with a wtxid in it, which
would always result in a notfound answer

82/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit fixes a mistake in a single Bitcoin Core test file. The test was accidentally asking for a transaction using the wrong identifier type (a regular transaction ID instead of a witness transaction ID). This only affects an internal functional test, not the actual Bitcoin network software that users run.

Lower-prioritytest: increase timeout in p2p_leak_tx.pyby Martin Zumsande · 576dd97c · Sep 30, 2025 · 1 fileMessage 90 · StrongInformational 15Details
Commit message · Martin Zumsande

test: increase timeout in p2p_leak_tx.py

With a low but not negligible probability in the order
of 10^-6 the exponential timer NextInvToInBounds can lead
to an interval >60s, making the test fail.
Also uses mocktime to speed up the test and fixes a
non-matching on_inv override.

Co-authored-by: Vasil Dimov <vd@FreeBSD.org>

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 only changes a test script used during Bitcoin Core's automated testing. It makes the test more reliable by increasing a timeout, using mock time to run faster, and fixing a minor method signature mismatch. There is no change to the actual Bitcoin network software that users run, so it has no security impact on real Bitcoin nodes or users.

Lower-prioritytest: Test SIGTERM handling during waitforblockheight callby Ryan Ofsky · 6a29f790 · Sep 30, 2025 · 1 fileMessage 95 · StrongInformational 19Details
Commit message · Ryan Ofsky

test: Test SIGTERM handling during waitforblockheight call

Currently when CTRL-C is pressed and there is an active `waitforblockheight`,
or `waitforblock`, or `waitfornewblock` RPC call, or a mining interface
`waitTipChanged` IPC call with a long timeout, the node will not shut down
right away, and will wait for the timeout to be reached before exiting.

This behavior is not ideal and only happens when the node is stopped with
CTRL-C or SIGTERM. When the node is stopped with `bitcoin-cli stop`, the wait
calls are interrupted and the node does shut down right away.

The next commit improves node behavior. This commit just adds test coverage to
simplify the next commit and clarify the change in behavior there.

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

This commit only adds a new automated test. The test checks that when a user presses Ctrl-C (or sends SIGTERM) while the node is handling a long-running 'waitforblockheight' RPC call, the node currently does not shut down immediately and instead waits for the RPC to time out. The commit itself does not fix the problem; it only creates test coverage so a later commit can prove the fix works.

AI review queuedtest: Test MuSig2 in the walletby Ava Chow · ac599c4a · Sep 30, 2025 · 2 filesMessage 67 · AdequateInformational 15Details
Commit message · Ava Chow

test: Test MuSig2 in the wallet

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
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit only adds a new automated test file for the MuSig2 multi-signature wallet feature. It does not change any production wallet, cryptography, or consensus code. There is no security-relevant change to the software users run.

AI review queuedwallet: Keep secnonces in DescriptorScriptPubKeyManby Ava Chow · 68ef954c · Sep 30, 2025 · 2 filesMessage 50 · ThinLow 33Details
Commit message · Ava Chow

wallet: Keep secnonces in DescriptorScriptPubKeyMan

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Low 33/100

This commit changes how Bitcoin Core wallets store temporary secret signing data (MuSig2 'secnonces') for multi-signature transactions. Previously, these secrets may have been kept in a more general signing provider; now they are kept inside the wallet's descriptor key manager. The change is defensive: it ensures these one-time secrets stay only in memory and are never written to disk, which prevents a dangerous nonce-reuse bug that could leak private keys. The commit itself is a small code move/addition, not a complete fix, and the commit message does not call it a security vulnerability.

Security candidatesign: Create MuSig2 signatures for known MuSig2 aggregate keysby Ava Chow · 4a273edd · Sep 30, 2025 · 3 filesMessage 78 · AdequateInformational 12Details
Commit message · Ava Chow

sign: Create MuSig2 signatures for known MuSig2 aggregate keys

When creating Taproot signatures, if the key being signed for is known
to be a MuSig2 aggregate key, do the MuSig2 signing algorithms.

First try to create the aggregate signature. This will fail if there are
not enough partial signatures or public nonces. If it does fail, try to
create a partial signature with all participant keys. This will fail for
those keys that we do not have the private keys for, and if there are
not enough public nonces. Lastly, if the partial signatures could not be
created, add our own public nonces for the private keys that we know, if
they do not yet exist.

78/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Names security-relevant behavior explicitly
Why it was queued
secret or key materialsigning boundarysigning or wallet path
AI analysis · Informational 12/100

This commit adds wallet-side support for producing MuSig2 aggregate and partial signatures when signing Taproot transactions. It is a feature implementation, not a fix for a known vulnerability. There is no evidence in the commit or supplied references that this change addresses a security bug, disclosure, or incident.

Lower-prioritymusig: Add MuSig2AggregatePubkeys variant that validates the aggregateby Ava Chow · 82ea67c6 · Sep 30, 2025 · 2 filesMessage 73 · AdequateInformational 15Details
Commit message · Ava Chow

musig: Add MuSig2AggregatePubkeys variant that validates the aggregate

A common pattern that MuSig2 functions will use is to aggregate the
pubkeys to get the keyagg_cache and then validate the aggregated pubkey
against a provided aggregate pubkey. A variant of MuSig2AggregatePubkeys
is added which does that.

The functionality of GetMuSig2KeyAggCache and GetCPubKeyFromMuSig2KeyAggCache
are included in MuSig2AggregatePubkeys (and used internally) so there is
no expectation that callers will need these so they are made static.

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

This commit is a straightforward internal code refactor in Bitcoin Core's MuSig2 cryptographic helper module. It adds a new variant of an existing function that lets callers both compute an aggregate public key and optionally check it against an expected value, while making two previously public helper functions private to the source file. There is no bug fix, no security patch, and no disclosed vulnerability.

AI review queuedsign: Add CreateMuSig2AggregateSigby Ava Chow · 258db938 · Sep 30, 2025 · 4 filesMessage 35 · OpaqueInformational 17Details
Commit message · Ava Chow

sign: Add CreateMuSig2AggregateSig

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: opaque commit messagesecond-pass: security-sensitive path
AI analysis · Informational 17/100

This commit adds a new helper function that combines multiple MuSig2 partial signatures into one final Schnorr signature for Bitcoin transactions. It is a feature addition, not a fix. The code includes verification of each partial signature before aggregation, which is good defensive practice. There is no evidence in the commit or supplied references that this change addresses a security vulnerability.

AI review queuedsign: Add CreateMuSig2PartialSigby Ava Chow · bf69442b · Sep 30, 2025 · 4 filesMessage 35 · OpaqueInformational 11Details
Commit message · Ava Chow

sign: Add CreateMuSig2PartialSig

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: opaque commit messagesecond-pass: security-sensitive path
AI analysis · Informational 11/100

This commit adds a new function that lets a Bitcoin Core wallet create a partial MuSig2 signature as part of a multi-party signing process. It is a feature addition, not a fix. There is no direct evidence in the commit or supplied references that this change introduces a security vulnerability.

AI review queuedsign: Add CreateMuSig2Nonceby Ava Chow · 512b17fc · Sep 30, 2025 · 7 filesMessage 35 · OpaqueInformational 14Details
Commit message · Ava Chow

sign: Add CreateMuSig2Nonce

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: opaque commit messagesecond-pass: security-sensitive path
AI analysis · Informational 14/100

This commit adds a new helper function for creating MuSig2 cryptographic nonces in Bitcoin Core. MuSig2 is a multi-signature scheme that lets multiple parties jointly sign a transaction. The change is a feature addition: it introduces a nonce generator, a session ID helper, and wiring for signing code. There is no direct evidence in the commit or supplied references that this fixes a known security vulnerability. It is best treated as a normal code addition that may carry implementation risks rather than a disclosed security patch.

Security candidatesigningprovider: Add musig2 secnoncesby Ava Chow · 4d8b4f53 · Sep 30, 2025 · 2 filesMessage 70 · AdequateInformational 11Details
Commit message · Ava Chow

signingprovider: Add musig2 secnonces

Adds GetMuSig2SecNonces which returns secp256k1_musig_secnonce*, and
DeleteMuSig2Session which removes the MuSig2 secnonce from wherever it
was retrieved. FlatSigningProvider stores it as a pointer to a map of
session id to secnonce so that deletion will actually delete from the
object that actually owns the secnonces.

The session id is just a unique identifier for the caller to determine
what secnonces have been created.

70/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
signing boundarysigning or wallet path
AI analysis · Informational 11/100

This commit adds infrastructure for storing and retrieving MuSig2 secret nonces (temporary cryptographic values used in multi-signature setup) inside Bitcoin Core's signing provider classes. It is a code organization change that introduces storage methods and a deletion method, but does not by itself change how transactions are signed or validated. There is no indication in the commit that it fixes a known security bug.

Security candidatepsbt: MuSig2 data in Fill/FromSignatureDataby Ava Chow · d99a0816 · Sep 30, 2025 · 2 filesMessage 45 · ThinLow 28Details
Commit message · Ava Chow

psbt: MuSig2 data in Fill/FromSignatureData

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
signing boundarysigning or wallet path
AI analysis · Low 28/100

This commit adds support for copying MuSig2 multi-signature data between two internal data structures used when handling Partially Signed Bitcoin Transactions (PSBTs). It is a feature-completion change: previously, MuSig2 participant lists, public nonces, and partial signatures were not transferred when converting between PSBT fields and the signing engine's SignatureData object, or when merging two PSBT inputs/outputs. The patch makes those transfers happen consistently. There is no direct evidence in the commit that this fixes an exploitable vulnerability; it appears to be a correctness/functional improvement for an upcoming MuSig2 signing workflow.

AI review queuedsign: Include taproot output key's KeyOriginInfo in sigdataby Ava Chow · 9baff05e · Sep 30, 2025 · 2 filesMessage 50 · ThinLow 27Details
Commit message · Ava Chow

sign: Include taproot output key's KeyOriginInfo in sigdata

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Low 27/100

This Bitcoin Core change makes the wallet's signing code record key-origin metadata for both the internal key and the final output key of a Taproot address, not just the internal key. That metadata helps external signers (like hardware wallets) understand which key path was used to derive the address. On its own this is a small correctness/data-availability fix; it does not directly change how coins are spent or introduce an obvious exploit, but missing key-origin data could previously have caused signing failures or user confusion for Taproot key-path spends.