Skip to content

Standalone Stratum v2 Template Provider #102

Closed
Sjors wants to merge 29 commits intosv2-ipcfrom
sv2-sidecar
Closed

Standalone Stratum v2 Template Provider #102
Sjors wants to merge 29 commits intosv2-ipcfrom
sv2-sidecar

Conversation

@Sjors
Copy link
Owner

@Sjors Sjors commented Aug 25, 2025

This takes the Template Provider implemented in #48 and strips out everything from Bitcoin Core that it doesn't need. What's left will become a separate repo.

This approach has the benefit of giving the new Template Provider project some out of the box goodness from Bitcoin Core like deterministic builds and extensive CI.

At the same time the removal of lots of stuff will make it easier for others to understand the remaining code and contribute.

This can be used in conjunction with bitcoin-node which is included in Bitcoin Core v30+ (I plan to make a preview release).

The linter also requires removing references to files in documentation,
as well as to avoid unused code.
@Sjors Sjors force-pushed the sv2-sidecar branch 2 times, most recently from 2a2bde1 to fec9345 Compare August 25, 2025 17:04
Sjors added 2 commits August 26, 2025 09:59
Only leave the stratum v2 fuzzer.
Sjors added 6 commits August 26, 2025 15:14
Additionally:
- use a different guix.sigs and detached-sigs repo (env variable)
- drop bitcoin.conf and rpcauth from the archive
Sjors added a commit to stratum-mining/sv2-tp that referenced this pull request Aug 27, 2025
This code is based on a stripped down and mofified version of
Bitcoin Core, with Template Provider functionality added.

It is identical to commit 8d9e276711b04b85aac2ae3f030bf5ac44c5194d
from: Sjors/bitcoin#102

Although signficant portions of Bitcion Core node code are still
included (mainly for the sv2_template_provider test), a full
node can't be compiled and instead the user needs to connect to one.

The only binaries produced are sv2_tp and sv2_tp_test.
@Sjors
Copy link
Owner Author

Sjors commented Aug 27, 2025

I copied the code as per the last commit 8d9e276 to a fresh repo: https://github.com/Sjors/sv2-tp

@Sjors Sjors closed this Aug 27, 2025
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.

1 participant