Independent discussion of crypto, wallets, cards and markets
Forum Home > Crypto Trading & Markets > Bitcoin > Stratum and pool protocols: what happens after your miner ships
Stratum and pool protocols: what happens after your miner ships167 replies · 10,806 views
Thread ToolsShow Printable Version · Subscribe to this Thread · Search Thread
Where to open an account: Open a Trustee account.

Stratum and pool protocols: what happens after your miner ships

What happens between your miner and a block

  • Your miner does not find blocks alone: it receives work from a pool, solves shares, and the pool assembles and broadcasts blocks when it finds one
  • The connection is a protocol: miners and pools talk over the stratum protocol, and understanding that conversation explains downtime, stale shares, and configuration errors
  • The pipeline is continuous: get work, submit solution, receive new work, repeat, and every failure mode lives somewhere in that loop
  • The protocol is old and simple: stratum is a lightweight JSON-based protocol, which is why it survives across hardware generations

The stratum conversation, step by step

  • The miner connects and authorizes: the miner opens a TCP connection to the pool's stratum endpoint and sends its worker credentials, usually a worker name tied to your payout address
  • The pool sends work: the pool provides a block template - the data the miner must hash against - along with a job identifier
  • The miner submits shares: when the miner finds a hash meeting the pool's difficulty target, it submits the solution, and valid shares earn credit regardless of whether a block is found
  • The loop continues: new work arrives as the network progresses, and the miner discards stale work when jobs change

Where things go wrong

  • Connection drops: network instability, pool maintenance, and firewall rules break the stratum connection, and miners reconnect automatically but lose the gap
  • Stale shares: shares submitted against outdated work count less or not at all, and high stale rates signal connectivity or latency problems
  • Stratum version mismatches: old firmware and modern pools sometimes disagree on protocol details, and firmware updates resolve most of these
  • Pool-side failures: overloaded or misconfigured pool servers reject work, and the symptom looks like miner failure but lives at the pool

The protocols around stratum

  • Stratum V1 is the default: the original protocol, widely supported, and the baseline every miner speaks
  • Stratum V2 modernizes it: an updated protocol adds efficiency, encryption, and the possibility of miners assembling their own block templates, which shifts some power back toward hardware
  • Failover configurations: miners support multiple pool endpoints, and configuring backups turns a single-pool outage into a non-event
  • Monitoring interfaces: miner dashboards and pool APIs expose hash rate, stale rates, and temperature, and watching those metrics is how problems get caught early

What pool operators actually do

  • Pools assemble block templates: the pool collects work from thousands of miners, packages candidate blocks, and broadcasts the winner when found
  • Pools distribute rewards: found rewards are split among contributors by shares submitted, using the pool's payout schema, which is why schema choice affects real income
  • Pools manage difficulty: pool-internal difficulty targets are adjusted to keep share submission steady, which is separate from network difficulty
  • Pools bear variance: by collecting many small shares, pools smooth the randomness of block finding, which is the service miners pay fees for

The takeaway

After a miner ships, the stratum protocol carries the whole operation: connect, authorize, receive work, submit shares, repeat, with failure modes at every step - connection drops, stale shares, version mismatches, and pool-side problems. Stratum V2 and failover configurations add resilience and, eventually, template assembly back at the miner level. Pools exist to smooth variance and pay by shares, and their schemas and reliability decide real income. The honest summary is that mining hardware is the visible part, and the protocol plumbing is where uptime and revenue actually live.

Thread Statistics167 replies · 10,806 views