Stratum v2: After 10 Years, The Most Used Bitcoin Mining Software Gets Facelift

Mark the Stratum v2 release as a victory for the open-source bitcoin community. For a decade, it has been the software of choice for miners to interact with pools and with the bitcoin protocol per se. While still necessary, bitcoin mining pools have a centralizing effect. With Stratum v2, miners will get to construct their own blocks. And that’s just one of the innovations, although the most talked-about one.

The Stratum v2 official website defines itself as “the next generation protocol for pooled mining. It increases security, makes data transfers more efficient, and reduces mining infrastructure requirements. It also introduces three new sub-protocols that let miners select transaction sets and improve decentralization by negotiating with pools.” Not only that, the software is an “independent, community-run, and fully open-source implementation of the SV2 protocol” and it’s “available for pilot testing immediately.”

Stratum v2 And The Road To Job Negotiation

In this first implementation, users don’t get to construct their own blocks just yet. According to Stratum v2, “This release will be followed by a more robust version in November, allowing miners to select their own work and negotiate with pools through the Job Negotiation protocol. Our SRI Pool code will also be ready by then, letting pools help us test things.”

What is Job Negotiation exactly, though? On March 3rd, 2021, mining company Braiins defined it as “a sub-protocol that enables miners to construct their own blocks, a task currently only being done by pools.” They also clarified why the first iteration of the Stratum v2 protocol doesn’t have Job Negotiation enabled just yet. “The reason is that there are changes necessary in Bitcoin Core in order to make Job Negotiation possible. So there can’t be a full implementation of Stratum V2 until those changes are made.”

Other Superpowers That It Brings To The Table

All of these promises come from the protocol’s website:

  • “By-default encryption and NOISE protocol authentication, hardening the protocol against man-in-the-middle attacks.”
  • Stratum v2 “optimizes data transfer size and frequency between miners, proxies, and pool operators.”
  • Stratum v2 “improves logic and framework by letting miners and mining pools running V1 make incremental and modular improvements.” 
  • Stratum v2 further decentralizes bitcoin by “letting end-miners build and select transaction sets and block templates.”
  • It ensures “cross-compatibility between and pools and end-mining devices.”

Plus, there’s what Spiral lead Steve Lee told CNBC:

“All told, much less data needs to be transmitted between miners and pools, and this could help miners in remote regions of the world with poor internet.”

BTCUSD price chart for 10/11/2022 - TradingView

BTC price chart for 10/11/2022 on Coinbase | Source: BTC/USD on TradingView.com

𝗦𝘁𝗿𝗮𝘁𝘂𝗺 v𝟮, Development & Adoption

The preliminary release wasn’t today’s only story regarding Stratum v2. Mining company Braiins paired it with their announcement of “a working group established with Spiral to accelerate adoption of Stratum v2, along with the release of the first open-source SV2 reference implementation.” So, big names are pushing the completely open-source software. Because it’s important.

The Braiins + Spiral collaboration will be a working group that “helps coordinate adoption across all mining companies and other compatible implementations both closed- and open-source to ensure that all Stratum V2 projects can interact with each other based on the protocol standards.”

Let’s close this with the words of Braiins’ co-founder Jan Capek, who told CNBC:

“Universal standards for running and building Stratum v2 and the efforts of this working group to push the industry forward will provide the momentum bitcoin needs to finally upgrade from a version of its mining protocol that was built a decade ago.”

This is going to be an important story moving forward. Let’s keep an eye on Stratum v2.

Featured Image: SV2 diagram from this tweet| Charts by TradingView

Bitcoin Design, the Guide's cover art

Source: https://bitcoinist.com/stratum-v2-bitcoin-mining-software-gets-facelift/