Skip to content

new lib crate: Sv2 ↔ Bitcoin Core IPC #1885

@plebhash

Description

@plebhash

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress 🏗️

Relationships

None yet

Development

No branches or pull requests

Issue actions