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 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…
This is a build-fix change, not a security fix. It adds explicit template instantiations for two internal functions used when computing Bitcoin transaction signatures. Without these, newer Clang compilers could fail to link the program bec…
This is a one-line fix in a Bitcoin Core functional test file. The test was accidentally checking the wrong transaction after a fee-bump operation—it re-checked the original transaction instead of the new bumped transaction. This does not …
No production code changedTest-only assertion correctionNo cryptographic, consensus, P2P, or wallet runtime logic modified
This is a one-line fix in a Bitcoin Core functional test. The test was accidentally checking the original transaction twice instead of checking the newly created bumped (fee-increased) transaction. It does not change any production wallet …
This is a build-fixing code cleanup, not a security patch. It adds explicit template instantiations for two internal signature-calculation functions so that the project links correctly with newer Clang compilers. There is no change to beha…
This is a documentation-only change that updates a single URL in a README file. The old URL redirects to the new location, so the change has no functional or security effect.
This is a documentation-only change that updates a single URL in a README file. The old URL still works, but it now points to the current GitHub organization that hosts the asmap-data repository. There is no code change and no security ris…
This change removes an outdated web address list (21.ninja) from the instructions Bitcoin developers use when building the list of network seed nodes that ship with new Bitcoin Core releases. The old list had not been updated in about six …
Removal of stale external seed source from release-build documentationSupply-chain risk if compromised domain injects malicious peer addressesNo executable code change; documentation/instructions only
This commit fixes a flaky-test problem on FreeBSD and OpenBSD, not a security vulnerability in the Bitcoin Core software users run. The test framework sometimes randomly picked a network source port that collided with a port used by the te…
Fixes self-connect scenario in test HTTP clients on BSDPrevents source-port collision between test client and test listener portsOnly affects test framework, not production node networking
This commit fixes a test-only bug in a Bitcoin Core functional test. The test was supposed to verify that calling prioritisetransaction causes getblocktemplate to rebuild its block template, but it was actually passing for the wrong reason…
This change is a defensive memory-optimization refactor for how Bitcoin Core stores transaction witness data. It replaces a structure that used many small memory allocations with a single compact serialized buffer. The primary security ben…
Memory-usage reduction for attacker-controlled transaction witnessesMitigation of resource-exhaustion DoS via large witness stacksImmutable witness representation prevents in-place modification bugs
This commit is a housekeeping change for Bitcoin Core. It adds a new automated linter that checks whether source files have the correct copyright header, and it updates or adds those headers across 27 files. There is no change to how Bitco…
This change fixes a networking quirk in Bitcoin Core where the program could be woken up repeatedly by a rare TCP 'urgent data' signal, even though there was no real data to read. The fix makes the program only watch for that signal while …
Avoids spurious wakeups from TCP urgent data on select()-based buildsReduces CPU-waste / small-scale denial-of-service surface from malicious or misbehaving peersAdds explicit ErrorEvent opt-in to Sock::Wait() API
This Bitcoin Core update hardens the wallet migration tool so that if something goes wrong while converting an old wallet to the new SQLite format, the original wallet is preserved or restored automatically instead of being left in a broke…
Original migration code deleted the legacy BDB file before the new SQLite database was fully created, risking data loss on failureNew migration builds SQLite database in a temporary path and atomically moves it only after successful record writeLeftover SQLite journal at destination is now rejected to prevent rollback corruption of the migrated database
This commit removes an optional HTML output feature from a Bitcoin Core test helper script called combine_logs.py. The change drops the third-party jinja2 library and the associated --html command-line option. There is no security fix here…
This commit only refactors how test and benchmark code builds Bitcoin transactions. It replaces imperative 'resize then fill' patterns with declarative lists of inputs and outputs. The pull request explicitly states there is no change in b…
This change fixes a C++ programming rule violation where two unrelated pieces of benchmark code happened to use the same name, 'InputType', for slightly different lists of Bitcoin address types. With whole-program optimization enabled, thi…
ODR violation in benchmark-only codeNo runtime security boundary crossedNo input parsing, network, wallet, or consensus code modified
This commit only changes a test file. It reorganizes an existing test into four separate, independent test cases and makes the two test transactions slightly different so the test correctly checks that a mempool transaction is rejected as …
This change fixes a flaw in Bitcoin Core's release-binary verification helper script. Previously, signatures made with expired or revoked developer keys were counted as valid toward the required number of 'good' signatures. That meant an a…
Logic flaw in trust threshold countingExpired/revoked signatures previously treated as good signaturesResponsible disclosure by external Red Team
This commit only fixes comments and documentation. It renames references in comments to match the actual function/variable names in the code. No code behavior changes. No security impact.
Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.
Lower-priorityutil: Drop *BSD headers in `batchpriority.cpp`by Hennadii Stepanov · 07af50f7 · Jan 30, 2026 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Hennadii Stepanov
util: Drop *BSD headers in `batchpriority.cpp`
Currently, there are issues with headers in `batchpriority.cpp`: 1. `SCHED_BATCH` is not defined on all supported *BSD platforms. 2. `pthread.h` is necessary on other platforms.
This addresses both issues and fixes other includes.
68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100
This is a straightforward portability fix for how Bitcoin Core sets thread scheduling priority on non-Windows systems. It rearranges and trims header files so the code compiles correctly on Linux and various BSD variants. There is no security vulnerability here.
Lower-prioritytest: Add DERSIG tests to script_testsby billymcbip · 4dfb6eef · Jan 30, 2026 · 1 fileMessage 82 · StrongInformational 15Details
Commit message · billymcbip
test: Add DERSIG tests to script_tests
Copy existing STRICTENC tests and change the flag to DERSIG.
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 only adds new test cases to a Bitcoin Core test data file. It copies existing signature-encoding tests and reruns them with the DERSIG flag instead of STRICTENC. No production code is changed, so this cannot introduce a vulnerability or fix one in the live Bitcoin network.
Security candidatetest: Fix a STRICTENC test in script_testsby billymcbip · 884978f3 · Jan 30, 2026 · 1 fileMessage 95 · StrongInformational 15Details
Commit message · billymcbip
test: Fix a STRICTENC test in script_tests
Fix a test that isn't implemented as intended. The idea is to test execution order by providing a signature that would cause script failure when parsed. An empty signature does not cause script failure in CHECKMULTISIG. Use OP_1 for the second signature instead of OP_0.
95/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✓ Names security-relevant behavior explicitly
Why it was queued
signing boundary
AI analysis · Informational 15/100
This is a one-line fix to a Bitcoin Core unit test file. The test was not exercising what its author intended because an empty signature does not trigger the expected script failure in a CHECKMULTISIG operation. The change replaces an empty second signature with a non-empty one so the test actually checks the intended execution-order behavior. It does not change any production code, consensus rules, or network behavior.
Lower-prioritytest: Remove outdated comment in script_testsby billymcbip · 527e8ca7 · Jan 30, 2026 · 1 fileMessage 67 · AdequateInformational 15Details
Commit message · billymcbip
test: Remove outdated comment in script_tests
script_invalid.json no longer exists.
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 commit removes a single outdated comment from a test data file. The comment referred to a file called script_invalid.json that no longer exists. There is no code change, no functional change, and no security relevance.
AI review queuedwallet: Rename `RecordType::DELETE` to `RecordType::DELETE_FLAG`by Hennadii Stepanov · 516be10b · Jan 30, 2026 · 1 fileMessage 73 · AdequateInformational 15Details
Commit message · Hennadii Stepanov
wallet: Rename `RecordType::DELETE` to `RecordType::DELETE_FLAG`
On Windows, the `winnt.h` header defines `DELETE` as a macro for a "Standard Access Right" bitmask (0x00010000L).
This introduces a fragile dependency on header inclusion order: if Windows headers happen to be included before this enum definition, the preprocessor expands `DELETE` into a numeric literal, causing syntax errors.
Rename the enumerator to `DELETE_FLAG` to remove this fragility and avoid the collision entirely.
73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
signing or wallet pathsecond-pass: broader security terminologysecond-pass: security-sensitive path
AI analysis · Informational 15/100
This is a straightforward code cleanup change that renames an internal label from DELETE to DELETE_FLAG. It fixes a build problem on Windows where a system header also uses the word DELETE, which could cause compilation errors depending on the order headers were included. There is no security vulnerability or runtime behavior change.
ci: Print verbose build error message in test-each-commit
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
documentation-only discount
AI analysis · Informational 15/100
This is a small change to a CI (continuous integration) helper script. It makes build failures easier to diagnose by automatically re-running the build with verbose output if the first build fails. There is no security issue here.
Lower-priorityci: [refactor] Allow overwriting check option in run helperby MarcoFalke · 2222dada · Jan 30, 2026 · 2 filesMessage 85 · StrongInformational 15Details
Commit message · MarcoFalke
ci: [refactor] Allow overwriting check option in run helper
Also, use str(e) consistently in all run helpers.
This refactor does not change any behavior.
This can be reviewed by checking that all instances are exactly identical code now: $ git grep --function-context 'def run(cmd'
85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
AI analysis · Informational 15/100
This is a tiny internal cleanup in Bitcoin Core's continuous integration (CI) scripts. It makes two helper functions behave identically and lets callers override a default option. It does not touch wallet, networking, consensus, or any user-facing code, and the commit message explicitly says it changes no behavior.
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100
This commit adds a comment and a reference link to a developer tooling file that maps C library symbols to their correct header files. It does not change any executable code, network behavior, or wallet logic. There is no security relevance.
Security candidateiwyu: Add temporary mapping to work around upstream bugby Hennadii Stepanov · 91824646 · Jan 30, 2026 · 3 filesMessage 30 · OpaqueInformational 15Details
Commit message · Hennadii Stepanov
iwyu: Add temporary mapping to work around upstream bug
30/100 · OpaqueMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body! Contains work-in-progress language! Opaque security-relevant change
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100
This commit is a minor housekeeping change. It removes two unused '#include <iterator>' lines from source files and adds a temporary mapping for a third-party code-tidying tool (IWYU) to work around a known upstream bug. There is no change to Bitcoin's actual logic, networking, cryptography, or consensus behavior, and no security relevance.
Lower-priorityiwyu: Drop backported mappingby Hennadii Stepanov · 37de7d19 · Jan 30, 2026 · 1 fileMessage 58 · ThinInformational 15Details
Commit message · Hennadii Stepanov
iwyu: Drop backported mapping
See https://github.com/include-what-you-use/include-what-you-use/pull/1706.
58/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100
This commit removes a small, outdated workaround from a developer-only tool configuration file. It has no effect on the Bitcoin Core software that users run, on network behavior, or on funds. It is purely a cleanup for the include-what-you-use (IWYU) static-analysis helper used during development.
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 15/100
This is a minor continuous integration (CI) script change. It removes a condition so that a notice about low ccache (compiler cache) hit rates is printed both in CI and in local test runs, and updates the ccache command from 'ccache -s' to 'ccache --show-stats'. There is no security relevance.
Lower-priorityfix: uptime RPC returns 0 on first callby Lőrinc · e67a676d · Jan 29, 2026 · 2 filesMessage 100 · StrongInformational 18Details
Commit message · Lőrinc
fix: uptime RPC returns 0 on first call
The monotonic uptime fix (#34328) used a function-local static for `g_startup_time`, which was initialized on first `GetUptime()` call instead of app startup time. This caused the first `uptime()` call to always return 0.
Move `g_startup_time` to namespace scope so it initializes at program start, ensuring the first call returns actual elapsed time. Note that we don't need to make it `static` anymore because it is just used in this single translation unit.
Test was updated to simulate some work before the first call.
Co-authored-by: Carlo Antinarella <carloantinarella@users.noreply.github.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✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 18/100
This commit fixes a minor bug in the `uptime` RPC command. Previously, the very first call to `uptime` would always report 0 seconds because the program's start time was accidentally recorded at the moment of that first call, not at actual startup. The fix moves the startup timestamp to a global variable that is set when the program begins. This is a correctness fix with no security impact.
Lower-prioritycontrib: update macOS SDK to Xcode-26.1.1-17B100by fanquake · a89e1618 · Jan 29, 2026 · 5 filesMessage 45 · ThinInformational 15Details
Commit message · fanquake
contrib: update macOS SDK to Xcode-26.1.1-17B100
45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100
This commit simply updates the version numbers and download hashes used to fetch Apple's macOS development toolkit (the SDK) when building Bitcoin Core for Mac computers. It does not change any Bitcoin protocol code, wallet logic, or network behavior. There is no indication in the commit that this fixes or introduces a security problem.
Lower-prioritydepends: use -Xclang -fno-cxx-modules in macOS cross buildby fanquake · 57a778ed · Jan 29, 2026 · 1 fileMessage 93 · StrongInformational 19Details
Commit message · fanquake
depends: use -Xclang -fno-cxx-modules in macOS cross build
Newer versions of the macOS SDK, have introduced code like: ```cpp if defined(__has_feature) && __has_feature(modules) define USE_CLANG_TYPES 1 else define USE_CLANG_TYPES 0 endif
if USE_CLANG_TYPES include <sys/_types/_ptrdiff_t.h> include <sys/_types/_size_t.h> include <sys/_types/_va_list.h> include <sys/_types/_wchar_t.h> endif ```
which is currently causing compile failures due to undeclared types, which manifest when C++ modules are enabled. Note that the usage of "modules" in LLVM is can be a bit ambiguous, see: https://github.com/llvm/llvm-project/issues/55891.
For now, explcitly disable cxx modules using `-fno-cxx-modules`. This resolves the include/compilation issues.
Related discussion: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 https://github.com/llvm/llvm-project/pull/150349 https://github.com/llvm/llvm-project/issues/57432
93/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 19/100
This is a build-system fix for compiling Bitcoin Core for macOS using newer Apple SDKs. It adds a compiler flag that turns off a Clang C++ feature called 'modules,' which was causing compile failures because the SDK uses that feature to decide whether to include some standard type definitions. There is no indication this is a security vulnerability or that it could be exploited by an attacker.
Lower-priorityvalidation: reuse same CCoinsViewCache for every ConnectBlock callby Andrew Toth · 44b4ee19 · Jan 29, 2026 · 2 filesMessage 85 · StrongInformational 15Details
Commit message · Andrew Toth
validation: reuse same CCoinsViewCache for every ConnectBlock call
Add m_connect_block_view to ChainState's CoinsViews. Call CreateResetGuard inside ConnectTip to ensure the view is Reset after each block, avoiding repeated memory allocations.
Co-authored-by: l0rinc <pap.lorinc@gmail.com>
85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Informational 15/100
This is a performance optimization for Bitcoin Core's block validation. It reuses a single temporary cache instead of creating and destroying a new one for every block. There is no security issue visible in the change; it is purely about reducing memory allocation overhead.
Lower-priorityrefactor: rename will_reuse_cache to reallocate_cacheby Andrew Toth · 3e0fd0e4 · Jan 29, 2026 · 5 filesMessage 85 · StrongInformational 15Details
Commit message · Andrew Toth
refactor: rename will_reuse_cache to reallocate_cache
More accurately reflects the purpose of the parameter, since we will keep reusing the cache but don't want to reallocate it.
85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
AI analysis · Informational 15/100
This commit is a simple rename of a function parameter from 'will_reuse_cache' to 'reallocate_cache' across five files. The actual behavior of the code does not change at all; only the name and related comments are updated to be clearer. There is no security impact.
Lower-prioritycoins: use hashBlock setter internally for CCoinsViewCache methodsby Andrew Toth · 041758f5 · Jan 29, 2026 · 1 fileMessage 65 · AdequateInformational 16Details
Commit message · Andrew Toth
coins: use hashBlock setter internally for CCoinsViewCache methods
Co-authored-by: l0rinc <pap.lorinc@gmail.com>
65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 16/100
This is a small internal cleanup in Bitcoin Core's coin-cache code. It replaces two direct assignments to an internal 'hashBlock' field with calls to an existing setter method named SetBestBlock. By itself, this change does not fix a known bug or add a security boundary; it is a code-quality refactor that makes future maintenance easier and slightly reduces the chance of someone later bypassing the setter if it ever needs to enforce invariants.
Lower-prioritycoins: introduce CCoinsViewCache::ResetGuardby Andrew Toth · 8fb60432 · Jan 29, 2026 · 4 filesMessage 58 · ThinInformational 19Details
Commit message · Andrew Toth
coins: introduce CCoinsViewCache::ResetGuard
CCoinsViewCache::CreateResetGuard returns a guard that calls Reset on the cache when the guard goes out of scope. This RAII pattern ensures the cache is always properly reset when it leaves current scope.
This commit adds a new helper class called ResetGuard to Bitcoin Core's coin cache. It is a safety tool that automatically resets a cache when a piece of code finishes, helping prevent accidental reuse of stale cache data. The change only touches internal code and tests; it does not fix a known bug or introduce a new feature users interact with. There is no indication this is a security patch.
Lower-prioritycoins: add Reset on CCoinsViewCacheby Andrew Toth · 8dd9200f · Jan 29, 2026 · 2 filesMessage 68 · AdequateInformational 12Details
Commit message · Andrew Toth
coins: add Reset on CCoinsViewCache
Add a Reset() method to CCoinsViewCache that clears cacheCoins, cachedCoinsUsage, and hashBlock without flushing to the base view.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 12/100
This commit adds a new Reset() method to an internal Bitcoin Core cache class. It simply clears in-memory data without saving anything to disk. There is no indication in the commit that this fixes a security bug or is being used to address an active vulnerability. It appears to be a routine code-cleanup or performance helper.
Lower-priorityci, iwyu: Fix warnings in `src/zmq` and treat them as errorsby Hennadii Stepanov · efcbf794 · Jan 29, 2026 · 8 filesMessage 50 · ThinInformational 15Details
Commit message · Hennadii Stepanov
ci, iwyu: Fix warnings in `src/zmq` and treat them as errors
50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100
This is a routine code cleanup that adjusts which C++ header files are included in the ZeroMQ (ZMQ) notification module. It also tells the project's automated style checker to treat missing or unnecessary includes in these files as errors going forward. There is no change to program logic, no bug fix, and no security-relevant behavior.
Lower-priorityfuzz: Use `__AFL_SHM_ID` for naming test directoriesby marcofleon · d3e681bc · Jan 29, 2026 · 1 fileMessage 83 · StrongInformational 19Details
Commit message · marcofleon
fuzz: Use `__AFL_SHM_ID` for naming test directories
Use the AFL++ shared memory ID environment variable to create a deterministic datadir path. This prevents accumulation of stale directories after a fuzz iteration crashes or times out. During long fuzz campaigns, this accumulation has occasionally resulted in running out of disk space.
83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 19/100
This change only affects how Bitcoin Core's internal fuzz tests create temporary working folders. When running under the AFL++ fuzzer, it now reuses a folder named after the fuzzer's shared-memory ID and deletes any leftover contents first, instead of creating a new random folder every time. This prevents old test folders from piling up and filling the disk during long fuzzing runs. It is a test-infrastructure cleanup, not a fix for a vulnerability in Bitcoin's network or wallet code.
Lower-priorityvalidation: follow-up nits for lock-free `IsInitialBlockDownload()`by Lőrinc · eeb4d281 · Jan 29, 2026 · 2 filesMessage 81 · StrongInformational 15Details
Commit message · Lőrinc
validation: follow-up nits for lock-free `IsInitialBlockDownload()`
Add `AssertLockHeld(cs_main)` to `ChainstateManager::UpdateIBDStatus()` given `EXCLUSIVE_LOCKS_REQUIRED(cs_main)`. Fix outdated comment about constness of `ChainstateManager::IsInitialBlockDownload()` (build passes without it). And since we're touching it, we might as well mark `ChainstateManager::IsInitialBlockDownload()` as `noexcept` now.
Follow-up to #34253.
Co-authored-by: Martin Zumsande <mzumsande@gmail.com>
81/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100
This is a minor code cleanup following a previous change. It adds a safety check confirming a lock is already held, fixes an outdated comment, and marks a function as not throwing exceptions. There is no security issue here.
Lower-prioritytest: Turn ElapseSteady into SteadyClockContextby MarcoFalke · facb2aab · Jan 29, 2026 · 2 filesMessage 67 · AdequateInformational 15Details
Commit message · MarcoFalke
test: Turn ElapseSteady into SteadyClockContext
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 internal cleanup of Bitcoin Core's test-only code. It renames a helper struct used in fuzz tests and adds a destructor that resets the mock clock after each test. There is no change to the live Bitcoin network code, no bug fix for user funds or consensus, and no security relevance.
Lower-prioritytests: log node JSON-RPC errors during test setupby furszy · 6354b4fd · Jan 29, 2026 · 1 fileMessage 78 · AdequateInformational 15Details
Commit message · furszy
tests: log node JSON-RPC errors during test setup
Currently, if the node replies to any command with an error during the test framework's setup(), we log the generic and not really useful "Unexpected exception" from the BaseException catch, with no further information. This isn't helpful for diagnosing the issue. Fix it by explicitly handling JSONRPCException and logging the response error message and http status code.
78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100
This commit only improves error messages in Bitcoin Core's internal test framework. When a test setup step fails because the node returns a JSON-RPC error, the test runner now logs the actual error details and HTTP status code instead of a generic 'Unexpected exception' message. There is no change to production Bitcoin node code, no security fix, and no vulnerability.
AI review queuedhttp-server: guard against crashes from unhandled exceptionsby furszy · 45930a79 · Jan 29, 2026 · 1 fileMessage 95 · StrongModerate 62Details
Commit message · furszy
http-server: guard against crashes from unhandled exceptions
Currently, if an exception is thrown at the top-level HTTP request handler (prior to invoking the command), the program crashes.
Ideally, each handler should catch all exceptions internally and be responsible for sanitizing them and crafting the client response. This is because only the handler knows the correct response format, which differs per server type. However, because this cannot always be guaranteed, it is safer to also catch exceptions in the top-level server code, log the unexpected error, and disconnect the socket.
This both guards against crashes caused by uncaught exceptions and prevents the client from hanging indefinitely while waiting for a response that will never arrive.
The following diff can be used to trigger the crash in master (just run single node functional tests like feature_shutdown.py): ``` diff --git a/src/httprpc.cpp b/src/httprpc.cpp --- a/src/httprpc.cpp +++ b/src/httprpc.cpp @@ -103,6 +103,9 @@
static bool HTTPReq_JSONRPC(const std::any& context, HTTPRequest* req) { + static int i = 0; // skip initial requests as they are used in the RPC warmup phase. + if (i++ > 3) throw std::runtime_error("error from json rpc handler"); + // JSONRPC handles only POST if (req->GetRequestMethod() != HTTPRequest::POST) { req->WriteReply(HTTP_BAD_METHOD, "JSONRPC server handles only POST requests");
```
Note: This leaves a TODO in the code because error responses should eventually be specialized per server type. REST clients expect plain text responses, while JSON-RPC clients expect a JSON error object. The TODO is there because this is not consistently enforced everywhere in the current codebase, and we should tackle them all at once.
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
This change fixes a bug in Bitcoin Core's built-in web server where an unexpected error inside an HTTP request handler could crash the entire program. The patch wraps each request in a safety net: if something throws an error, it is logged, the client connection is closed, and the program keeps running instead of crashing. The commit message also includes a test snippet showing the crash can be triggered intentionally.