Skip to content

Conversation

@Sjors
Copy link
Collaborator

@Sjors Sjors commented Oct 31, 2025

bitcoin/bitcoin#33676 adds interruptWait() to the Mining interface. Call this method for quicker shutdown.

This change is backward compatible with the currently released version Bitcoin Core v30. If the new IPC method doesn't exist, it falls back to the previous behavior of just waiting for waitNext() to return after -sv2interval.

To reproduce you need to connect to a Bitcoin Core node and also have the SRI pool (or JDC) role connect to you. See e.g. the first couple of steps in this tutorial: https://github.com/Sjors/sv2-workshop

Sjors and others added 2 commits October 31, 2025 16:00
Co-authored-by: ismaelsadeeq <abubakarsadiqismail@proton.me>
bitcoin/bitcoin#33676 adds interruptWait() to the Mining interface. Call this method for quicker shutdown.

This change is backward compatible with the currently released version Bitcoin Core v30. If the new IPC method doesn't exist, it falls back to the previous behavior of just waiting for waitNext() to return after -sv2interval.
@Sjors Sjors force-pushed the 2025/10/interrupt-wait branch from b4c7d97 to 8c2c9f6 Compare October 31, 2025 15:00
@Sjors
Copy link
Collaborator Author

Sjors commented Oct 31, 2025

Waiting for the upstream PR to be merged before merging this.

@Sjors Sjors marked this pull request as ready for review November 10, 2025 10:00
@Sjors
Copy link
Collaborator Author

Sjors commented Nov 10, 2025

bitcoin/bitcoin#33676 was just merged

@Sjors Sjors merged commit 3f699b9 into master Nov 10, 2025
24 checks passed
@Sjors Sjors deleted the 2025/10/interrupt-wait branch November 10, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants