We dig dig dig dig dig dig dig in our mine The whole day through To dig dig dig dig dig dig dig is what we really like to do It ain't no trick to get rich quick If you dig dig dig with a shovel or a pick In a mine! In a mine! In a mine! In a mine! Where a million sats shine!
Heigh-ho, Heigh-ho Heigh-ho, Heigh-ho
After months of coding in our dusty mines, we’re ready to ship a new Stratum V2 reference implementation (SRI) update!
The new update allows miners to select transactions via a new sub-protocol and their node. This is a major milestone in democratizing transaction selections in pooled mining and decentralizing bitcoin!
We’re inviting miners, pools, firmware makers, and the community to check out our getting started guide (opens new window) and pilot test the software locally, with CPU or actual mining devices. Your feedback will have a high impact on the development direction.
Please submit your feedback after testing via this form (opens new window).
SRI’s flexible stack offers various components when setting up a configuration that suits your needs. As an early adopter, we recommend testing the mining device with Stratum V1 firmware, connecting to an SV2 pool via Translation Proxy. Miners will run their own template provider (bitcoind) with the max fee policy. Within the translation proxy sits a Job Negotiator that runs a sub-protocol responsible for distributing miner’s templates to the pool.
While there are various configurations to explore, testing the configuration, which includes Translation Proxy and Job Negotiator will provide valuable feedback to the development team.
With the current mining protocol - Stratum V1, the pools use their template providers to dispatch work to the miners. As a result, mining pools are the central point of failure and potential weak spot when it comes to censoring certain transactions by excluding them from the template.
A Job Negotiator, in combination with a template provider, gives the responsibility back to miners or an independent third party to provide a new template (select transactions), thereby making bitcoin pool infrastructure more decentralized.
Below is a high-level overview of how a Job Negotiator (JN) works.
We call it the JN dance. 💃 Let’s dance!
This is our engineer's way of dancing, a bunch of bullet points. Below is an actual dance with some music. Volume up.
To get started, follow the instructions on this page (opens new window). You can set up everything locally, use a CPU or an ASIC miner, connect to ours, or deploy a pool on your own.
So far, our community has tested on the following devices/firmware. If you’ve tested the SRI stack on a different device or a firmware version, please fill this form out (opens new window), and we will update the table.
Mining Device | Firmware version | Tested by |
---|---|---|
S9 | Bitmain stock 5/25/2022 | Foundry, Galaxy Mining, 21 Hub Belgrade, Fi3 |
S9 | BraiinsOS | Foundry |
S19 Pro - A | Bitmain stock 5/25/2022 | Galaxy Mining, |
WhatsMiner M30S | VE10 | Foundry |
With the next update, we will add a fallback functionality that would allow miners to fall back to a different pool or solo mine in case the pool chooses not to accept their suggestion. Miners would, in that case, disconnect and fall back.
In addition, we will add ways for pools to spot-check the validity of blocks and a few other improvements, like enhancing the encryption and ensuring we're following the latest changes in the spec. Most importantly, we hope to open a pull request for template provider in Bitcoin Core.
We'd like to thank Stratum V2 supporters, implementers, and all contributors, without whom SRI wouldn't be possible. Please donate to our crowdfunding page (opens new window) hosted by OpenSats Foundation and Swan to support our development efforts.
If you’re a company willing to directly support the work of developers by providing a direct grant and being featured on our website, please get in touch. We will connect you with our contributors in need of funding.
Join our Discord (opens new window) to engage with the Stratum V2 community.
We’re excited to hear your feedback (opens new window).
Heigh-ho, Heigh-ho!