BTC — updated

Braiins Pool Stratum V2 Config: A Setup Walkthrough

Braiins Pool is the spiritual descendant of the original Slush Pool — the world’s first Bitcoin mining pool, rebranded after the parent company shifted product emphasis toward firmware and protocol work. The headline feature for current deployments is native Stratum V2 support. V2 is a protocol rewrite that fixes several long-standing weaknesses in the V1 stratum spec (no encryption, no proof-of-job-construction, susceptibility to hashrate hijacking via BGP attacks) while adding job-construction-by-miner as an optional capability. This guide walks through a clean braiins pool stratum v2 config on a Bitmain Antminer running BraiinsOS — the firmware path most operators take to get V2 working end-to-end.

What Stratum V2 changes versus V1

Stratum V1 has run unmodified for over a decade. Its known weaknesses are: plaintext transport (any network-path observer can see job and share traffic), trust-the-pool job construction (the pool dictates the block template the miner works on, with no way for the miner to inspect or override it), and bandwidth inefficiency at scale (verbose JSON-RPC messaging that adds up across thousands of workers). Stratum V2 addresses all three through encrypted transport using the Noise protocol framework, optional miner-constructed jobs via the Job Declaration Protocol, and a binary message format that materially reduces per-share bandwidth.

The practical implications for an individual operator depend on which V2 features the deployment uses. Encrypted transport is automatic once V2 is enabled at both endpoints; the miner-job-construction feature is opt-in and requires more setup. The encryption alone is a meaningful security improvement at any scale, particularly for operators routing stratum traffic across untrusted networks.

What a Braiins Pool stratum V2 config looks like on an Antminer

The miner side requires firmware that speaks V2. Stock Bitmain firmware as of recent versions does not natively support Stratum V2; BraiinsOS does. The standard path is to install BraiinsOS on the Antminer, configure the V2-capable stratum endpoint published in Braiins Pool’s documentation, and verify the connection in both the BraiinsOS UI and the pool dashboard.

The pool configuration on BraiinsOS exposes URL slots similar to stock firmware but with explicit V1/V2 protocol selection. Braiins Pool publishes both V1 and V2 endpoints — operators can run V1 as a fallback while testing V2, or run V2 primary with V2 fallback for full-stack V2 deployment. The active hostnames and TCP ports are published in the Braiins documentation at braiins.com and should be sourced from there at deployment time.

Step 1 — register a Braiins Pool account

Sign up through Braiins Pool’s web interface and complete two-factor enrolment. Configure the Bitcoin payout address before connecting any rigs and review the published minimum payout threshold. Braiins Pool has historically been a relatively small share of network hashrate compared to AntPool or Foundry but punches above its weight in protocol and firmware contributions; the size-versus-feature trade-off is part of the choice.

The pool’s account model supports worker-prefix conventions identical to other major pools — segment before the dot is the account (or sub-account, depending on plan), segment after the dot is a free-text worker identifier. Operators should read the Braiins Pool review for context on payout history, fee structure, and the broader product relationship with BraiinsOS.

Step 2 — install BraiinsOS on the Antminer

Braiins publishes installation instructions on its firmware site. The general flow is: download the BraiinsOS image for the specific Antminer model (S19, S21, etc.), flash it via the manufacturer’s recovery method (SD-card install on older models, web-UI flash on newer ones), and reboot into the BraiinsOS interface. The web UI replaces the stock Bitmain interface entirely.

Operators considering BraiinsOS should account for the warranty implications — flashing third-party firmware typically voids Bitmain’s manufacturer warranty, though resale-market hardware often has no warranty to void in the first place. The LuxOS firmware guide covers the broader Bitmain firmware-replacement landscape (BraiinsOS, LuxOS, VNish, stock) and the operational trade-offs between them.

Step 3 — configure the V2 stratum endpoint in BraiinsOS

In the BraiinsOS pool configuration screen, set the protocol selector to Stratum V2 and paste the V2 endpoint from Braiins Pool’s documentation. The endpoint format includes the protocol prefix that signals V2 to the firmware; the worker-name format is the standard account.worker string. Save and apply.

Failover patterns work the same as on V1 — primary, backup, tertiary slots — except all three can be V2 endpoints if Braiins publishes multiple. Operators new to V2 sometimes configure a V1 endpoint as the tertiary slot so a V2-specific issue does not drop the rig to zero hashrate; this is a sensible belt-and-suspenders approach in the V2 early-adoption period.

Step 4 — verify V2 is actually active

Verification has more steps under V2 than V1 because the encryption is silent and the binary protocol is not human-readable in a packet capture the way V1 JSON is. The BraiinsOS UI exposes the active protocol on the pool status page; the Braiins Pool dashboard surfaces protocol per worker connection. Both should show V2 if the configuration is correct.

Accepted-share telemetry should look identical to V1 — a healthy connection accumulates accepted shares with a sub-1% reject rate. The difference is invisible at the share level because V2’s wire-level changes do not change what a “share” means; both V1 and V2 submit shares against block templates and earn the same per-share credit. The benefits — encryption, job verification, bandwidth — sit at the protocol layer.

The Job Declaration Protocol and miner-constructed jobs

Stratum V2’s most consequential optional feature is the Job Declaration Protocol, which lets the miner construct its own block template rather than accepting the pool’s template wholesale. The motivation is censorship resistance: a pool can in principle exclude specific transactions from the templates it issues, which gives the pool a soft form of censorship power over the network. JDP gives that power back to the miner.

JDP is not on by default and requires the miner to run a local block-template builder (typically a full Bitcoin node co-located with the rigs). For a single-rig home operator the operational overhead probably outweighs the benefit; for a large industrial farm with policy concerns about pool-level transaction filtering, JDP is structurally important. The Bitcoin mining hub covers the broader network-policy context this slot into.

Reconciling and monitoring a V2 deployment

Three verification surfaces matter:

  • BraiinsOS UI: Active pool URL, protocol (V1 or V2), accepted/rejected share counts, current hashrate, hardware-error counter.
  • Braiins Pool dashboard: Live and rolling hashrate per worker, online/offline state, protocol per connection, payout ledger.
  • On-chain payout: Cross-reference the pool’s payout history against the destination address on a public Bitcoin block explorer.

Where Braiins Pool fits in the broader landscape

Braiins Pool is materially smaller by share of network hashrate than the top-three pools; Hashrate Index’s pool distribution dashboard shows the current standing. The compensating factor for many operators is the protocol-and-firmware story — Braiins is the principal author of the Stratum V2 spec and the primary deployment platform for it, which means routing hashrate through Braiins Pool is the most direct way to participate in V2’s adoption curve. Operators who care about protocol stewardship and decentralisation often run a portion of fleet hashrate at Braiins for that reason even if FPPS economics elsewhere look marginally better.

Troubleshooting a V2 connection that won’t establish

A Stratum V2 connection that fails to come up presents differently from a V1 failure because the encryption layer adds a handshake step that can break on its own. The first thing to confirm is that the firmware is genuinely V2-capable and that the protocol selector in BraiinsOS is set to V2 rather than left on V1 with a V2 endpoint pasted in — that mismatch produces a connection that either falls back to V1 silently or fails outright. The second is that the endpoint really is a V2 endpoint from Braiins Pool’s current documentation; a V1 hostname will not negotiate the V2 handshake.

Because the V2 wire format is binary and encrypted, a packet capture is not human-readable the way V1 JSON is, so the operator cannot eyeball the traffic to see what failed. The diagnostic surface is therefore the firmware’s own status page, which reports the negotiated protocol and the connection state. If BraiinsOS shows the worker connected but the protocol reads V1 when V2 was intended, the configuration silently downgraded — usually a selector or endpoint mismatch. If it shows no connection at all, the failure is the same family as any stratum failure: DNS resolution, outbound TCP to the port being blocked, or a deprecated endpoint. Work that list in order before suspecting anything V2-specific.

The security gain in concrete terms

The encryption V2 adds is not abstract. Under V1, anyone on the network path between the rig and the pool can read the job and share traffic in plaintext, and a sufficiently positioned attacker can rewrite it — the documented hashrate-hijacking attacks rerouted a victim’s shares to an attacker’s account by manipulating unencrypted stratum traffic. For an operator whose rigs sit behind a hosting provider’s shared network, or whose stratum traffic crosses untrusted links, that exposure is real. V2’s Noise-framework encryption closes it by making the session unreadable and unforgeable to a path observer.

This matters most for operators who cannot fully control the network between their rigs and the pool. A home miner on a dedicated line faces less exposure than a customer renting rack space on shared infrastructure, but the encryption costs nothing to enable once the firmware supports it, and it removes an entire category of attack from the threat model. It is the one V2 benefit that requires no extra setup beyond selecting the protocol — the Job Declaration Protocol asks for a local node, but encryption is automatic.

Keep BraiinsOS management interfaces off the public internet

V2 encrypts the pool connection, not the rig’s management plane. The BraiinsOS web UI and SSH service must still be kept off the public internet — the stratum session is outbound, so no inbound port needs exposing for mining to work. A management interface reachable from the internet is exploitable regardless of how secure the pool protocol is, because the attack targets the firmware’s control surface rather than the mining traffic.

The defensible pattern is the same as for any firmware: management interfaces on a non-internet-routable LAN, remote access via VPN, and credentials rotated from defaults on first boot. An operator who adopts V2 for its security properties but leaves the BraiinsOS UI port-forwarded to the internet has hardened the least-exposed surface and left the most-exposed one open. The two measures are complementary, and neither substitutes for the other.

References

Can stock Bitmain firmware connect to Braiins Pool with Stratum V2?
Stock Bitmain firmware historically has not supported Stratum V2 natively; V2 deployment typically requires BraiinsOS or another V2-capable third-party firmware. Stock firmware can still connect to Braiins Pool over V1. Check Bitmain’s release notes for any current V2 support in newer stock firmware.
Does Stratum V2 change the per-share payout math?
No. V2 changes the wire protocol — encryption, message format, optional miner-constructed jobs — but does not change what a share is worth. FPPS payouts are calculated identically whether shares arrive via V1 or V2. The benefit of V2 is security, bandwidth, and policy, not direct revenue.
What is the Job Declaration Protocol and does an operator need it?
JDP is Stratum V2’s optional feature that lets the miner construct its own block template instead of accepting the pool’s. The benefit is censorship resistance — the miner controls which transactions enter blocks they find. The cost is operational complexity (a local block-template builder). For small operators the trade-off rarely justifies enabling it; for large operators with policy concerns it can matter.
Will installing BraiinsOS void the Antminer warranty?
Bitmain’s warranty terms historically treat flashing third-party firmware as a warranty-voiding action. Operators should check the current warranty document for their specific Antminer model and purchase channel. Resale-market hardware often has no warranty to void in the first place.