48201 Commits

Author SHA1 Message Date
Ava Chow
f0e2cbc5e5 Merge bitcoin/bitcoin#34800: [31.x] Backports
b241f3c82d doc: update example bitcoin conf for 31.0rc2 (fanquake)
718c31cfb7 doc: update manual pages for v31.0rc2 (fanquake)
a30e50538b build: bump version to v31.0rc2 (fanquake)
ac13aca72b test: scale IPC mining wait timeouts by timeout_factor (Enoch Azariah)
39c87621d5 test: verify IPC error handling for invalid coinbase (Enoch Azariah)
660947352c test: move make_mining_ctx to ipc_util.py (Enoch Azariah)
acd7e3d061 test: verify createNewBlock wakes promptly when tip advances (Enoch Azariah)
e3d571691a test: Remove confusing assert_debug_log in wallet_reindex.py (MarcoFalke)
87d1691f3e wallet: feebumper, fix crash when combined bump fee is unavailable (furszy)
11b69922b3 wallet: fix amount computed as boolean in coin selection (furszy)
d171afa9e8 ci: Temporarily use clang in valgrind tasks (MarcoFalke)
198bc4da87 ci: Clarify why valgrind task has gui disabled (MarcoFalke)
6993aa1915 test: Scale feature_dbcrash.py timeout with factor (MarcoFalke)
051afe9e1a depends: Remove no longer necessary `dsymutil` (Hennadii Stepanov)
3b79852984 depends: Fix cross-compiling on macOS for Windows (Hennadii Stepanov)
e53c20d750 gui: Fix TransactionsView on setCurrentWallet (pablomartin4btc)
7118559f8c tests: applied PYTHON_GIL to the env for every test (kevkevinpal)
d9a57912c6 ci: Avoid intermittent Windows generate download failures (MarcoFalke)
335a098afa kernel: acquire coinstats cursor and block info atomically (w0xlt)
e930c6d60f rpc: fix race condition in gettxoutsetinfo (w0xlt)
ca781e49e5 cmake: Migrate away from deprecated SQLite3 target (Daniel Pfeifer)
068951211c test: [refactor] Use verbosity=0 named arg (MarcoFalke)
8379f005da test: Fix intermittent issue in feature_assumeutxo.py (MarcoFalke)
72d6c88165 test: Move event loop creation to network thread (MarcoFalke)
c7127f21df test: Use asyncio.SelectorEventLoop() over deprecated asyncio.WindowsSelectorEventLoopPolicy() (MarcoFalke)
a69f8c329e ci: Use arch-appropriate binaries in lint install (will)
e3383ac932 ci: check macos bundle structure and codesigning (fanquake)
ab37d3d7cd macdeploy: use plugins dir to find plugins (fanquake)
bb9fcffd4c macdeploy: subprocess out to zip rather than shutil.make_archive (fanquake)
d20ba02caa build: Set AUTHOR_WARNING on warnings (MarcoFalke)
2724c39208 guix: Make guix-clean less destructive (Hodlinator)
a28d78c44a test: use static methods and clarify comment in addr_relay (stratospher)
5642a2b0fe test: protect outbound connection from eviction in getaddr_test (stratospher)
a3c1eda8f2 test: fix addr relay test silent pass and wrong peerinfo index (stratospher)
207087b1c4 ci: bump cirruslabs actions versions (will)
a74dfe3ae2 lint: Temporarily revert to vulture==2.14 (MarcoFalke)
f7f7e682b5 ci: Bump GHA actions versions (MarcoFalke)
a3ffff0201 depends: delete Boost extra files (fanquake)
9852bbd218 depends: disable Qt sbom generation (fanquake)

Pull request description:

  Backports:
  * #33144
  * #34451
  * #34589
  * #34727
  * #34750
  * #34755
  * #34776
  * #34787
  * #34802
  * #34814
  * #34815
  * #34820
  * #34852
  * #34832
  * #34848
  * #34850
  * #34857
  * #34859
  * #34869
  * #34870
  * #34878
  * #34888

  Gui:
  * https://github.com/bitcoin-core/gui/pull/815

ACKs for top commit:
  Sjors:
    ACK b241f3c82d
  achow101:
    ACK b241f3c82d

Tree-SHA512: bb68f5b6e569781805c741d63a6ad6f955c1964d9186defa892936160e8444900f1e4175a1ef4fff268b655d664ddf0b914795ef554ea60cb23a054b080b4805
v31.0rc2
2026-03-25 14:43:31 -07:00
fanquake
b241f3c82d doc: update example bitcoin conf for 31.0rc2 2026-03-25 08:58:45 +08:00
fanquake
718c31cfb7 doc: update manual pages for v31.0rc2 2026-03-25 08:57:03 +08:00
fanquake
a30e50538b build: bump version to v31.0rc2 2026-03-25 08:52:02 +08:00
Enoch Azariah
ac13aca72b test: scale IPC mining wait timeouts by timeout_factor
The IPC mining tests (interface_ipc_mining.py) currently use
hardcoded timeouts (e.g., 1000ms, 60000ms) for operations like
waitTipChanged and waiting for block templates. In heavily
loaded CI environments, such as those running sanitizers with
high parallelism, these hardcoded timeouts can be too short,
leading to spurious test failures and brittleness.

This commit multiplies these timeout variables by the test
suite's global `self.options.timeout_factor`. This ensures that
the IPC wait conditions scale appropriately when the test suite
is run with a higher timeout factor, making the tests robust
against slow execution environments.

Addresses CI brittleness observed in bitcoin-core/libmultiprocess#253.

Github-Pull: #34727
Rebased-From: ad75b147b5
2026-03-25 08:48:41 +08:00
Enoch Azariah
39c87621d5 test: verify IPC error handling for invalid coinbase
Add a test case to interface_ipc_mining.py to verify that the IPC
server correctly handles and reports serialization errors rather than
crashing the node.

This covers the scenario where submitSolution is called with data
that cannot be deserialized, as discussed in #33341

Also introduces the assert_capnp_failed helper in ipc_util.py to
cleanly handle macOS-specific Cap'n Proto exception strings, and
refactors an existing block weight test to use it.

Github-Pull: #34727
Rebased-From: e7a918b69a
2026-03-25 08:48:19 +08:00
Enoch Azariah
660947352c test: move make_mining_ctx to ipc_util.py
The async routines in both interface_ipc.py and interface_ipc_mining.py
contain redundant code to initialize the mining proxy object.

Move the make_mining_ctx helper into test_framework/ipc_util.py and
update both test files to use it. This removes the boilerplate and
prevents code duplication across the IPC test suite.

Github-Pull: #34727
Rebased-From: 63684d6922
2026-03-25 08:47:58 +08:00
Enoch Azariah
acd7e3d061 test: verify createNewBlock wakes promptly when tip advances
This adds a complementary test to interface_ipc_mining.py to ensure
that createNewBlock() wakes up immediately once submitblock advances
the tip, rather than needlessly waiting for the cooldown timer to
expire on its own.

Github-Pull: #34727
Rebased-From: 4ada575d6c
2026-03-25 08:47:28 +08:00
MarcoFalke
e3d571691a test: Remove confusing assert_debug_log in wallet_reindex.py
Github-Pull: #34857
Rebased-From: fa30951af5
2026-03-24 12:07:42 +08:00
furszy
87d1691f3e wallet: feebumper, fix crash when combined bump fee is unavailable
When a large cluster of unconfirmed transactions exceeds the limit,
calculateCombinedBumpFee() returns std::nullopt.

Previously, we continued executing and the optional value was
accessed unconditionally, leading to a std::bad_optional_access
exception.

Fix this by returning early when the returned bumped fee is null.

Note:
This is a crash for the GUI, and an uncaught exception for the RPC
bumpfee and psbtbumpfee.

Github-Pull: #34870
Rebased-From: 6072a2a6a1
2026-03-24 10:26:04 +08:00
furszy
11b69922b3 wallet: fix amount computed as boolean in coin selection
The comparison is evaluated before the assignment, so total_amount
ends up holding a boolean instead of the actual amount:
total_amount = (a - b < c)
which is not what we want here. This has been working by accident.

Github-Pull: #34888
Rebased-From: 0026b330c4
2026-03-24 10:20:01 +08:00
MarcoFalke
d171afa9e8 ci: Temporarily use clang in valgrind tasks
valgrind currently does not work on GCC -O2 compiled executables, which
contain std::optional use, due to an upstream bug. See
https://bugs.kde.org/show_bug.cgi?id=472329

One workaround could be to use -O1. However, that seems brittle, as
variantions of the bug were seen with -O1 as well.

So temporarily use clang in the valgrind CI tasks, because this also
allows to drop a false-positive suppression for:
-DCMAKE_CXX_FLAGS='-Wno-error=array-bounds'

Also, update the comment in contrib/valgrind.supp to mention the
background:

* GCC -O2 wasn't tested with the suppressions file, due to the mentioned
  bug.
* Clang-17 (or later) on aarch64 wasn't tested due to bug
  https://github.com/bitcoin/bitcoin/issues/29635 and the minimum
  supported clang version is clang-17 right now.
* GUI isn't tested, because it requires a debug build, see the prior
  commit.

This means the only tested config right now is the one mentioned in the
suppression file.

Github-Pull: #34589
Rebased-From: fa70b9ebaa
2026-03-23 12:39:30 +08:00
MarcoFalke
198bc4da87 ci: Clarify why valgrind task has gui disabled
A build with system libs (or with a normal depends build) will fail
with:

```sh
$ valgrind --exit-on-first-error=yes --error-exitcode=1 --quiet ./bld-cmake/bin/test_bitcoin-qt
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
********* Start testing of AppTests *********
Config: Using QtTest library 6.10.2, Qt 6.10.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 15.2.0), ubuntu 26.04
PASS   : AppTests::initTestCase()
QINFO  : AppTests::appTests() Backing up GUI settings to "/tmp/test_common bitcoin/60d474ffae390f81657d/regtest/guisettings.ini.bak"
==18007== Conditional jump or move depends on uninitialised value(s)
==18007==    at 0x12655E26: ???
==18007==    by 0xCB28E7F: ???
==18007==
==18007==
==18007== Exit program on first error (--exit-on-first-error=yes)
```

A DEBUG=1 depends build would work, but that seems tedious for
questionable benefit.

Github-Pull: #34589
Rebased-From: faf3ef4ee7
2026-03-23 12:39:07 +08:00
MarcoFalke
6993aa1915 test: Scale feature_dbcrash.py timeout with factor
This allows to run the test under valgrind:

./bld-cmake/test/functional/feature_dbcrash.py --timeout-factor=10 --valgrind

For testing, the same test can be run multiple times in parallel:

./bld-cmake/test/functional/test_runner.py -j 10 $( printf 'feature_dbcrash.py %.0s' {1..10} )  --timeout-factor=10 --valgrind

(Running the test under valgrind may take several hours!)

I found that before this commit, 9 out of the 10 runs failed via:

```
...
TestFramework (INFO): Iteration 36, generating 2500 transactions [11, 5, 6]
TestFramework (ERROR): Unexpected exception
Traceback (most recent call last):
  File "/b-c/test/functional/test_framework/test_framework.py", line 142, in main
    self.run_test()
    ~~~~~~~~~~~~~^^
  File "/b-c/bld-cmake/test/functional/feature_dbcrash.py", line 262, in run_test
    self.sync_node3blocks(block_hashes)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/b-c/bld-cmake/test/functional/feature_dbcrash.py", line 151, in sync_node3blocks
    nodei_utxo_hash = self.restart_node(i, block_hash)
  File "/b-c/bld-cmake/test/functional/feature_dbcrash.py", line 102, in restart_node
    raise AssertionError(f"Unable to successfully restart node {node_index} in allotted time")
AssertionError: Unable to successfully restart node 0 in allotted time
```

With this commit, all 10 runs passed.

Github-Pull: #34589
Rebased-From: fadb77169b
2026-03-23 12:38:38 +08:00
Hennadii Stepanov
051afe9e1a depends: Remove no longer necessary dsymutil
Github-Pull: #34850
Rebased-From: 578525d31d
2026-03-23 12:12:00 +08:00
Hennadii Stepanov
3b79852984 depends: Fix cross-compiling on macOS for Windows
1. Use `build_os` instead of `host_os` for native packages.
2. `XCODE_VERSION` is available only for `darwin` hosts. Therefore,
   simply disable the Xcode version check for `native_qt`.

Github-Pull: #34878
Rebased-From: 7a9304f887
2026-03-23 07:46:19 +08:00
pablomartin4btc
e53c20d750 gui: Fix TransactionsView on setCurrentWallet
Making sure that if the privacy mode is activaded during
the wallet selection, the transaction view is not shown.

Github-Pull: #gui815
Rebased-From: 0dc337f73d
2026-03-23 07:32:14 +08:00
kevkevinpal
7118559f8c tests: applied PYTHON_GIL to the env for every test
Github-Pull: #34869
Rebased-From: b14f2c76a1
2026-03-20 11:20:09 +08:00
MarcoFalke
d9a57912c6 ci: Avoid intermittent Windows generate download failures
Github-Pull: #34859
Rebased-From: fa71c6e84c
2026-03-20 09:20:31 +08:00
w0xlt
335a098afa kernel: acquire coinstats cursor and block info atomically
Acquire the cursor and block index under the same cs_main lock to
eliminate a potential race where a new block could be connected
between capturing the block info and acquiring the cursor, causing
the reported stats to reference a different block than the one
being iterated.

Github-Pull: #34451
Rebased-From: f3bf63ec4f
2026-03-19 16:49:49 +08:00
w0xlt
e930c6d60f rpc: fix race condition in gettxoutsetinfo
Fix an assertion failure in gettxoutsetinfo (issue #34263) caused by
capturing the best block before releasing cs_main, then checking it
against a potentially newer best block in GetUTXOStats().

Remove the early pindex capture since ComputeUTXOStats() independently
fetches the current best block under lock. Use stats.hashBlock and
stats.nHeight (the actual computed values) instead of the potentially
stale pindex when building the response.

Github-Pull: #34451
Rebased-From: 5e77072fa6
2026-03-19 16:49:29 +08:00
Daniel Pfeifer
ca781e49e5 cmake: Migrate away from deprecated SQLite3 target
CMake version 4.3 deprecated the imported target `Sqlite::Sqlite3`.
Use the preferred name `Sqlite3::Sqlite3` instead and provide an
alias for older versions of CMake. Also define the same alias when
using vcpkg.

Github-Pull: #34848
Rebased-From: 498b6eb6b5
2026-03-19 14:33:45 +08:00
MarcoFalke
068951211c test: [refactor] Use verbosity=0 named arg
This is less confusing than the verbose=0 alias.

Github-Pull: #34852
Rebased-From: faf71d6cb4
2026-03-19 14:08:20 +08:00
MarcoFalke
8379f005da test: Fix intermittent issue in feature_assumeutxo.py
Github-Pull: #34852
Rebased-From: 99996f6c06
2026-03-19 14:07:50 +08:00
MarcoFalke
72d6c88165 test: Move event loop creation to network thread
This should fix https://github.com/bitcoin/bitcoin/issues/34367

I am not familiar with Windows sockets thread-safety, but creating the
event loop on the main thread, and running it in the network thread
could lead to a fast abort in Python on Windows (without any stderr):

```
77/276 - wallet_txn_clone.py failed, Duration: 1 s

stdout:
2025-12-10T08:04:27.500134Z TestFramework (INFO): PRNG seed is: 4018092284830106117

stderr:

Combine the logs and print the last 99999999 lines ...
============
Combined log for D:\a\_temp/test_runner_₿_🏃_20251210_075632/wallet_txn_clone_196:
============
 test  2025-12-10T08:04:27.500134Z TestFramework (INFO): PRNG seed is: 4018092284830106117
 test  2025-12-10T08:04:27.500433Z TestFramework (DEBUG): Setting up network thread
```

Also, I couldn't find any docs that require the loop must be created on
the thread that runs them:

* https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.new_event_loop
* https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.run_forever

However, the patch seems trivial to review, harmless, and easy to
revert, so it may be a good try to fix the intermittent Windows Python
crash.

Github-Pull: #34820
Rebased-From: fa050da980
2026-03-19 13:35:46 +08:00
MarcoFalke
c7127f21df test: Use asyncio.SelectorEventLoop() over deprecated asyncio.WindowsSelectorEventLoopPolicy()
Github-Pull: #34820
Rebased-From: fa9168ffcd
2026-03-19 13:35:17 +08:00
will
a69f8c329e ci: Use arch-appropriate binaries in lint install
Replace the hardcoded x86_64 binary name with $(uname --machine) so the
correct binary is downloaded when building the lint container, where at
all possible.

Github-Pull: #34832
Rebased-From: 551875360c
2026-03-17 21:38:10 +08:00
fanquake
e3383ac932 ci: check macos bundle structure and codesigning
Github-Pull: #34787
Rebased-From: d03e3be246
2026-03-13 10:48:36 +00:00
fanquake
ab37d3d7cd macdeploy: use plugins dir to find plugins
Rather than looking for /translations, which might not exist (it doesn't
in a recent brew installed qt on macOS). i.e:
```bash
ls /opt/homebrew/opt/qtbase/share/qt
doc
libexec
metatypes
mkspecs
modules
plugins
sbom
```

Github-Pull: #34787
Rebased-From: 66d80d57b4
2026-03-13 10:48:14 +00:00
fanquake
bb9fcffd4c macdeploy: subprocess out to zip rather than shutil.make_archive
Calling shutil.make_archive(), does not preserve symlinks when using the
zip format, see https://github.com/python/cpython/issues/139679.

Call `zip` using subprocess instead. This code is only run when using a
macos machine, and I think it's safe to assume that zip is available, same
as codesign, and all other tools we call in this script.

Github-Pull: #34787
Rebased-From: ab137cbfe2
2026-03-13 10:47:14 +00:00
MarcoFalke
d20ba02caa build: Set AUTHOR_WARNING on warnings
Github-Pull: #33144
Rebased-From: fa6497ba71
2026-03-12 15:17:27 +00:00
Hodlinator
2724c39208 guix: Make guix-clean less destructive
* Show preview and ask for confirmation before git clean unless used with "--force"
* Error out when trying to pass args such as "guix-clean --help"

Github-Pull: #34776
Rebased-From: be6d24ec22
2026-03-12 15:10:07 +00:00
stratospher
a28d78c44a test: use static methods and clarify comment in addr_relay
we don't need to send GETADDR for initial self announcement
anymore + can construct addr_receivers using
AddrReceiver(send_getaddr=False).

however we would need to send an empty ADDR message to each
of the addr_receivers to initialise addr relay for inbound
connections. so current code is simpler and we can just
clarify the comment.

Github-Pull: #34750
Rebased-From: 57bfa864fe
2026-03-12 15:08:14 +00:00
stratospher
5642a2b0fe test: protect outbound connection from eviction in getaddr_test
since we're bumping mocktime more than CHAIN_SYNC_TIMEOUT = 20 * 60,
it's possible for disconnections like this to happen in the test:

$ test/functional/p2p_addr_relay.py --randomseed=7758649581790797022
...
TestFramework (INFO): Check that we answer getaddr messages only once per connection
TestFramework.p2p (WARNING): Connection lost to 127.0.0.1:58829 due to [Errno 54] Connection reset by peer
...

Github-Pull: #34750
Rebased-From: 7ee8c0abc6
2026-03-12 15:07:48 +00:00
stratospher
a3c1eda8f2 test: fix addr relay test silent pass and wrong peerinfo index
the test silently passes on master because SetupAddressRelay
isn't called by default for inbound connections.

Github-Pull: #34750
Rebased-From: ecb5ce6e76
2026-03-12 15:07:27 +00:00
will
207087b1c4 ci: bump cirruslabs actions versions
Github-Pull: #34815
Rebased-From: 9a968ad35e
2026-03-12 11:20:52 +00:00
MarcoFalke
a74dfe3ae2 lint: Temporarily revert to vulture==2.14
To work around https://github.com/bitcoin/bitcoin/issues/34810

Github-Pull: #34814
Rebased-From: faae981d35
2026-03-12 09:42:11 +00:00
MarcoFalke
f7f7e682b5 ci: Bump GHA actions versions
Github-Pull: #34802
Rebased-From: fadaa7db33
2026-03-12 09:42:02 +00:00
fanquake
a3ffff0201 depends: delete Boost extra files
Github-Pull: #34755
Rebased-From: 0ebc6891e2
2026-03-12 09:42:02 +00:00
fanquake
9852bbd218 depends: disable Qt sbom generation
Github-Pull: #34755
Rebased-From: 168997e9b5
2026-03-12 09:42:02 +00:00
Ava Chow
d3737769ca Merge bitcoin/bitcoin#34795: [31.x] Bump to 31.0rc1
c5ae5f0adf doc: Point release notes to 31.0 wiki draft (Ava Chow)
88e21e57e5 examples: Generate example bitcoin.conf for 31.0rc1 (Ava Chow)
62716a8c93 doc: Generate manpages for 31.0rc1 (Ava Chow)
2a5b96eb54 build: bump to 31.0rc1 (Ava Chow)

Pull request description:

ACKs for top commit:
  hebasto:
    ACK c5ae5f0adf.
  willcl-ark:
    ACK c5ae5f0adf
  w0xlt:
    ACK c5ae5f0adf

Tree-SHA512: 4aa6484be421276d07daa58394569ef667defc19de50e0622f8754acc83ebbc7cfac7a3afcdeacc3a4f72b3787e603b28df154ebaba883d22312ad7d4f377de3
v31.0rc1
2026-03-11 22:55:51 -07:00
Ava Chow
c5ae5f0adf doc: Point release notes to 31.0 wiki draft 2026-03-10 18:58:36 -07:00
Ava Chow
88e21e57e5 examples: Generate example bitcoin.conf for 31.0rc1 2026-03-10 18:58:36 -07:00
Ava Chow
62716a8c93 doc: Generate manpages for 31.0rc1 2026-03-10 18:58:36 -07:00
Ava Chow
2a5b96eb54 build: bump to 31.0rc1 2026-03-10 18:58:36 -07:00
Ava Chow
b97abdcdf1 Merge bitcoin/bitcoin#34766: Pre-31.x branching updates
48b952cbb6 build: bump to 31.99 (Ava Chow)
1b3d58f128 docs Remove 31.0 release notes fragments (Ava Chow)
b7cf2f87d0 docs: Update bips.md (Ava Chow)

Pull request description:

  Completes the final steps immediately prior to branching:

  * Bump version to 31.99
  * Update bips.md
  * Remove release note fragments

ACKs for top commit:
  davidgumberg:
    ACK 48b952cbb6
  ryanofsky:
    Code review ACK 48b952cbb6

Tree-SHA512: b812d93ffc37cbc4ac37467d20459b453530a8d5bf712c8d931031a16f71884cc011faefab741d8939ad283907ed70b51e1def1f922d7c002379dd7e0f36d676
2026-03-10 18:55:44 -07:00
Ava Chow
eed3161893 Merge bitcoin/bitcoin#34792: clusterlin: update SFL comments for deterministic order
d67c8ed788 clusterlin: update SFL comments for deterministic order (Pieter Wuille)

Pull request description:

  This was missed in #34257.

ACKs for top commit:
  marcofleon:
    ACK d67c8ed788
  achow101:
    ACK d67c8ed788

Tree-SHA512: e381da09eb686e69c0fb32cc16dff7ae108f13ecb07bc1466f504a7b4c773d4557599c659f6d2e9ba0037ed89179c2e187f383a917e0242c4c795cf6e1c9cec6
2026-03-10 18:28:32 -07:00
Ava Chow
730308386a Merge bitcoin/bitcoin#34696: Update embedded asmap to 1772726400 for v31
0690a5d0f2 Update embedded asmap to 1772726400 (Fabian Jahr)

Pull request description:

  This updates the currently embedded data ahead of the v31 release.

  It currently uses the map from the 1772726400 run
  - Pull request: https://github.com/bitcoin-core/asmap-data/pull/45
  - Issue: https://github.com/bitcoin-core/asmap-data/issues/44

  The attestation process to accompany these runs is still rather new but sigs are collected here: https://github.com/asmap/asmap.sigs/tree/main/1772726400

ACKs for top commit:
  achow101:
    ACK 0690a5d0f2
  sedited:
    ACK 0690a5d0f2
  hodlinator:
    ACK 0690a5d0f2 FWIW

Tree-SHA512: 61c43ea1bd44425aa07056316220a0e9f3c4ec59cd9447277e114b2004fd7f9e525fb56ac0b3f590447d1a454fa3c636c7ac8c034a673a76126ce51e005cce49
2026-03-10 15:55:36 -07:00
merge-script
951863d022 Merge bitcoin/bitcoin#34769: doc: update http worker thread names
46189fd526 doc: update http worker thread names (rkrux)

Pull request description:

  After using `Threadpool` for HTTP server in PR 33689, the previously
  documented HTTP worker thread names are outdated. This commit makes
  the corresponding changes to document new names for the HTTP worker
  threads. Below is the output from the `thead list` command after
  attaching `lldb` to `bitcoind`.

  ```zsh
  thread #3: tid = 0xfe551, 0x00007ff80e3536f6 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'b-http_pool_0'
  thread #4: tid = 0xfe552, 0x00007ff80e3536f6 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'b-http_pool_1'
  ```

  <!--
  *** Please remove the following help text before submitting: ***

  Pull requests without a rationale and clear improvement may be closed
  immediately.

  GUI-related pull requests should be opened against
  https://github.com/bitcoin-core/gui
  first. See CONTRIBUTING.md
  -->

  <!--
  Please provide clear motivation for your patch and explain how it improves
  Bitcoin Core user experience or Bitcoin Core developer experience
  significantly:

  * Any test improvements or new tests that improve coverage are always welcome.
  * All other changes should have accompanying unit tests (see `src/test/`) or
    functional tests (see `test/`). Contributors should note which tests cover
    modified code. If no tests exist for a region of modified code, new tests
    should accompany the change.
  * Bug fixes are most welcome when they come with steps to reproduce or an
    explanation of the potential issue as well as reasoning for the way the bug
    was fixed.
  * Features are welcome, but might be rejected due to design or scope issues.
    If a feature is based on a lot of dependencies, contributors should first
    consider building the system outside of Bitcoin Core, if possible.
  * Refactoring changes are only accepted if they are required for a feature or
    bug fix or otherwise improve developer experience significantly. For example,
    most "code style" refactoring changes require a thorough explanation why they
    are useful, what downsides they have and why they *significantly* improve
    developer experience or avoid serious programming bugs. Note that code style
    is often a subjective matter. Unless they are explicitly mentioned to be
    preferred in the [developer notes](/doc/developer-notes.md), stylistic code
    changes are usually rejected.
  -->

  <!--
  Bitcoin Core has a thorough review process and even the most trivial change
  needs to pass a lot of eyes and requires non-zero or even substantial time
  effort to review. There is a huge lack of active reviewers on the project, so
  patches often sit for a long time.
  -->

ACKs for top commit:
  l0rinc:
    ACK 46189fd526
  hebasto:
    ACK 46189fd526.
  theStack:
    ACK 46189fd526
  furszy:
    ACK 46189fd526
  sedited:
    ACK 46189fd526

Tree-SHA512: dc17dcd942a562da0e5ec9b6185db12d7e8ab8539fd6a78e944e95a723040c03c069f6806b8fc2f070839cb7012709d434b9e3e3bce08744dd818abbfe72e3ff
2026-03-10 21:29:25 +01:00
Pieter Wuille
d67c8ed788 clusterlin: update SFL comments for deterministic order 2026-03-10 14:09:27 -04:00