Skip to content

Improve bitcoind multithreading#632

Merged
tcharding merged 1 commit into
rust-bitcoin:masterfrom
jamillambert:0617-bitcoind-multithread
Jun 18, 2026
Merged

Improve bitcoind multithreading#632
tcharding merged 1 commit into
rust-bitcoin:masterfrom
jamillambert:0617-bitcoind-multithread

Conversation

@jamillambert

Copy link
Copy Markdown
Collaborator

I got timeouts and errors reading tmp files when running the tests with 16 threads. After this fix it runs fine.

Use kill + wait cleanup on all retry/error paths.

Fix base-client creation path so it no longer bails without cleanup and instead retries cleanly.

Fix final wallet-load failure path to always terminate/reap before returning.

Create consts for the retry and timeout values and increase them.

Assisted-by: GitHub Copilot

I got timeouts and errors reading tmp files when running the tests with
16 threads.

Use kill + wait cleanup on all retry/error paths.

Fix base-client creation path so it no longer bails without cleanup and
instead retries cleanly.

Fix final wallet-load failure path to always terminate/reap before
returning.

Create consts for the retry and timeout values and increase them.

Assisted-by: GitHub Copilot (GPT-5.3-Codex)

@tcharding tcharding left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK bc2ba6e

@tcharding

Copy link
Copy Markdown
Member

FTR this would have been better as a bunch of patches.

@tcharding tcharding merged commit c877f44 into rust-bitcoin:master Jun 18, 2026
67 of 68 checks passed
@jamillambert

Copy link
Copy Markdown
Collaborator Author

FTR this would have been better as a bunch of patches.

Sorry my bad. I should have spent more time tidying up after the LLM. Feels like that's half my job now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants