up until now, we had two options for deploying a Sv2 Template Provider:
with bitcoin/bitcoin#31802 merged, Bitcoin Core v30.0 is about to add bitcoin-node to the official releases, meaning that essentially any software can leverage capnproto over IPC and benefit from Bitcoin Core mining interface.
some early work has already been done for this, namely:
this issue is meant to track the work where, inspired by the references above, we build a crate that can be used as a library to be integrated into Rust apps.
this library shall act as a "translation" layer between Bitcoin Core's capnproto Mining Interface over IPC and Sv2 Template Distribution Protocol.
SRI apps using this library (e.g.: JDC, Pool) shall be able to connect to bitcoin-node (from official v30+ Bitcoin Core releases) over a UNIX socket and leverage APIs providing Sv2 Template Distribution Protocol messages over an async runtime.
up until now, we had two options for deploying a Sv2 Template Provider:
bitcoindfromsv2branch of @Sjors fork that listens on a dedicated Sv2 portbitcoin-minesidecar fromsv2-ipcbranch of @Sjors fork, which connects viacapnprotoprotocol over IPC tobitcoin-nodethat's built from early development iterations of Bitcoin Corewith bitcoin/bitcoin#31802 merged, Bitcoin Core v30.0 is about to add
bitcoin-nodeto the official releases, meaning that essentially any software can leveragecapnprotoover IPC and benefit from Bitcoin Core mining interface.some early work has already been done for this, namely:
github.com/Sjors/sv2-tpis a dedicated repo for the C++ implementation ofbitcoin-minesidecar mentioned above (now renamed assv2-tp)this issue is meant to track the work where, inspired by the references above, we build a crate that can be used as a library to be integrated into Rust apps.
this library shall act as a "translation" layer between Bitcoin Core's
capnprotoMining Interface over IPC and Sv2 Template Distribution Protocol.SRI apps using this library (e.g.: JDC, Pool) shall be able to connect to
bitcoin-node(from official v30+ Bitcoin Core releases) over a UNIX socket and leverage APIs providing Sv2 Template Distribution Protocol messages over anasyncruntime.