Stratum V2 (SV2) is the second version of the Stratum mining protocol, which lets a mining machine receive work from a mining pool and send back results. A mining machine is hardware that searches for hashes meeting Bitcoin’s target. A mining pool is a service that combines the hashrate of many miners, meaning the people and companies that run mining machines.
What Does the Stratum Protocol Do between a Pool and a Mining Machine?
The Stratum protocol is the set of messages that a mining machine and a mining pool use to exchange work. A protocol is an agreed set of rules for how two programs talk to each other. Stratum V2, also written Stratum v2 or StratumV2, is the second version of this protocol, and Stratum V1 is the earlier one. The public document that describes Stratum V2 is the Stratum V2 specification.
In pool-based Bitcoin mining, the pool sends each mining machine a job, which is a unit of work to do. The machine tries hashes. A hash is the fixed-size number produced by running data through a mathematical function. The machine’s hashrate is the number of hashes it tries per second. When a hash meets the pool’s target, which is easier to meet than the network’s target, the machine sends it back as a share. The pool counts shares to track each member’s work, and the mining pool entry covers shares and payouts.
A block template is the candidate block that a pool (or a miner) puts together, including which transactions it contains. Under Stratum V1, the pool builds the block template and sends jobs to the machines.
How Does Stratum V2 Differ from Stratum V1?
As of October 2026, Stratum V2 is designed to replace JSON text messages with binary ones, to authenticate the server and encrypt the connection, to give miners an optional way to build block templates, and to reduce network traffic. The table below compares Stratum V1 and V2 feature by feature, and its V1 column follows the specification’s own description of V1.
| Feature | Stratum V1 | Stratum V2 |
|---|---|---|
| Message format | JSON text messages | Binary messages with a 6-byte header followed by fixed-type fields, as of October 2026 |
| Connection security | No cryptographic authentication | Designed to authenticate the server and encrypt the connection, using a handshake based on the Noise Protocol Framework; the specification makes it mandatory for remote upstream connections and optional on a local network |
| Who builds block templates | The pool | The pool by default; the miner or its software through job declaration |
| Network traffic | Larger payloads for the information carried | Lower network traffic as a stated design goal, with no percentage given |
Binary means that Stratum V2 messages are built from fixed-type fields behind a short header instead of readable text. JSON, the format Stratum V1 uses, is text that a person can read. A binary protocol with a precise definition is the first design goal the specification lists.
The Noise Protocol Framework is a framework for building handshake protocols. A handshake is the exchange at the start of a connection in which two programs agree on keys. In the Stratum V2 specification, authentication means that the machine checks the pool server’s key against a certificate signed by an authority, and the specification describes authentication of the server only. The authority’s key has to be obtained outside the protocol. In the specification, messages are encrypted after the handshake. Stratum V2 is therefore designed to authenticate the server and encrypt the connection, which is a design goal and not a guarantee.
What Are the Three Stratum V2 Sub-Protocols?
Stratum V2 has three separate sub-protocols, and all three use the same message framing and a client-server model. The Stratum V2 mining protocol is needed in every setup. When a pool or a miner does not support transaction selection, the mining protocol is the only sub-protocol in use, and a pool can run it without a job declaration server.
Mining Protocol: How Machines Get Work and Send Shares
The Stratum V2 mining protocol is the part that runs between mining machines and a pool, and it is the direct successor of Stratum V1. The pool’s server sends jobs, and each machine returns shares. A mining proxy is an optional role that sits between one or more machines and the pool and aggregates their connections.
For example, as of October 2026, a machine reports a share in the Stratum V2 mining protocol with a message called SubmitSharesStandard. The message has six fields of 4 bytes each: a channel ID, a sequence number, a job ID, a nonce, a time, and a version. A nonce is the number a machine changes from hash to hash. Together the six fields make a payload of 24 bytes, and with the 6-byte header the message takes 30 bytes.
Job Declaration Protocol: How Miners Choose Transactions
The Stratum V2 job declaration protocol lets a miner, or the miner’s own software, build a block template and declare it to the pool, instead of using the template the pool provides. The part of the miner’s software that declares jobs is called the job declarator client. A job declarator server on the pool side receives each declared job. The protocol has two modes: in one, the miner never reveals its transactions to the pool, and in the other, the miner sends transaction identifiers.
If a pool rejects a job declared under the Stratum V2 job declaration protocol, the specification makes the miner’s software responsible for switching to another pool, or to solo Bitcoin mining as a last resort, which means mining Bitcoin alone without a pool. Under this protocol, the pool remains responsible for counting shares and distributing rewards.
Template Distribution Protocol: How Software Gets Block Templates from a Node
The Stratum V2 template distribution protocol lets Bitcoin mining software get block templates from a node, which is a computer that runs Bitcoin software and checks blocks and transactions against the network’s rules. The node’s side is called the Template Provider and is usually a full Bitcoin node. It sends updates when a new block arrives or when fees rise materially, and it must attempt to broadcast any block mined from a template it supplied.
As of October 2026, the Stratum V2 template distribution protocol is designed to replace the getblocktemplate interface, the older way for Bitcoin mining software to ask a node for the transactions of a candidate block.
Why Does Job Declaration Matter for Which Transactions Go into a Block?
Job declaration matters because it changes who chooses the transactions in a block. A node keeps the unconfirmed transactions that can go into a block in its memory pool, or mempool, and a block template typically takes the transactions with the highest fee rates first. The mempool entry covers that ordering. In Stratum V1, the pool builds the block template from those transactions, so the pool decides what a block contains.
With the Stratum V2 job declaration protocol, a miner or its software can build the template from a node it uses and declare it to the pool. The transaction set is then chosen by the job declarator client (for example, a miner’s own software) instead of by the pool operator alone, and the pool can still reject a declared job.
What Stratum V2 Does Not Change
Stratum V2 only carries work and results between a mining machine and a pool, so it has no part in the rules that decide whether a block is valid.
Stratum V2 doesn’t change how proof of work is checked. A block is valid only if its block header hash, read as a number, is at or below the network target. The block header is the 80-byte summary of a block that miners hash, and it holds six fields, including nBits (the encoded target) and a 32-bit nonce. A share is still a hash that meets the pool’s easier target.
Stratum V2 doesn’t change the consensus rules, which are the rules that full nodes apply to decide whether a block is valid. Full nodes check a block the same way whichever protocol the miner used to receive work.
Stratum V2 doesn’t change network difficulty. Bitcoin targets one block every 10 minutes, and difficulty is recalculated every 2,016 blocks, which is about two weeks at that pace. The calculation uses only block timestamps, the previous target, and protocol constants, so the connection between a machine and a pool does not enter it.
Support for Stratum V2 Depends on the Pool and the Firmware
As of October 2026, Stratum V2 is described in a public specification, and the Stratum V2 project maintains an open-source reference implementation (SRI), a suite of protocol libraries, applications, language bindings, and documentation. The specification uses the word “proposes” and carries no version number or date. Stratum V2 is therefore a design that exists and has a reference implementation, and that says nothing about how widely it is used.
A mining machine speaks Stratum V2 directly only if its firmware, the software that runs the machine, supports it, and a pool offers Stratum V2 only if the pool supports it. “Supports Stratum V2” is therefore a property of a pool and of a machine, and not of the Bitcoin network. A proxy that translates between Stratum V1 and V2, which is one of the specification’s design goals, is a third path: it lets a machine that speaks only V1 reach a pool that speaks V2.
November 18, 2026











