Mining Share
A mining share is a proof-of-work submission that meets a pool's lower difficulty target, used to measure miner contributions and distribute rewards proportionally.
Key Takeaways
- A mining share is a block header hash that meets a mining pool's difficulty threshold, which is significantly lower than the network difficulty target. Most shares are not valid blocks, but they prove a miner is doing real work.
- Pools use shares to estimate each miner's hashrate contribution and divide block rewards proportionally, turning the all-or-nothing lottery of solo mining into a steady income stream.
- Different payout methods such as PPS, FPPS, and PPLNS value shares differently, affecting miner income variance, pool fees, and incentive structures.
What Is a Mining Share?
A mining share is a partial proof-of-work submission that meets a pool's internal difficulty threshold rather than the full network difficulty. When a miner hashes a block header and the resulting value falls below the pool's share difficulty target, the submission counts as a valid share. The network difficulty is orders of magnitude harder than the share difficulty, so the vast majority of shares are not valid blocks: they simply prove that the miner is performing genuine computation.
Shares serve as an accounting mechanism. Without them, a pool would have no way to verify that individual miners are contributing hashrate between the infrequent moments when the pool actually finds a block. By collecting and counting shares, the pool builds a statistical picture of each miner's contribution and uses it to distribute rewards fairly.
Occasionally, a share will also satisfy the full network difficulty target. When this happens, the pool submits it to the Bitcoin network as a valid block and earns the block subsidy plus transaction fees. The share that becomes a block is functionally identical to any other share: it just happened to meet the much harder threshold as well.
How It Works
The share submission process follows a straightforward cycle between the pool server and connected miners:
- The pool sends each miner a job containing the current block header template, which includes the previous block hash, a Merkle root derived from selected transactions, and a target difficulty for shares
- The miner iterates through nonce values (and other variable fields like the extra nonce), hashing the block header with SHA-256 on each attempt
- When a hash falls below the share difficulty target, the miner submits it to the pool as a share
- The pool validates the share by re-hashing the submitted header and checking it against the share target
- If the hash also falls below the network difficulty target, the pool broadcasts it as a valid block
Variable Difficulty (Vardiff)
Pools do not use a single fixed share difficulty for all miners. A difficulty that works for a small USB miner would flood the pool with millions of shares per second from an industrial ASIC. Conversely, a difficulty tuned for large miners would leave small miners waiting hours between accepted shares, making hashrate estimates unreliable.
Vardiff (variable difficulty) solves this by automatically adjusting each worker's share target to maintain a consistent submission rate: typically one share every 10 to 60 seconds. The pool monitors each miner's submission frequency and tunes the difficulty up or down to hold that cadence. The relationship follows a simple formula:
share_difficulty = (hashrate × target_time) / 2^32
# Example: a 100 TH/s ASIC targeting one share per 30 seconds
# share_difficulty = (100 × 10^12 × 30) / 2^32
# share_difficulty ≈ 698,491A share submitted at difficulty d counts as d units of work. This means a miner submitting fewer shares at high difficulty earns the same credit as one submitting many shares at low difficulty, keeping the accounting fair regardless of hardware power.
Share States
Not every submission results in a credited share. Pool software classifies submissions into three categories:
- Accepted: the hash meets the current share difficulty target and corresponds to the active job. The miner receives credit.
- Stale: the hash meets the difficulty target but belongs to a previous job, typically because a new block was found on the network before the share arrived. The miner gets no credit because the work is no longer relevant.
- Rejected: the hash does not meet the share difficulty target, the submitted data is malformed, or the share is a duplicate. Pool software discards it entirely.
High stale rates often indicate network latency between the miner and the pool server, since the miner continues working on an outdated block template after a new block has been found. Miners typically monitor their stale rate and choose pools with low-latency connections to minimize lost work.
Payout Methods: How Shares Become Revenue
The way a pool values shares directly determines how miners get paid. Each payout method trades off between income stability, pool fees, and exposure to luck variance. For a detailed comparison, see the mining pool payout method comparison.
Pay-Per-Share (PPS)
Under PPS, the pool pays a fixed value for each valid share based on the expected block subsidy. The miner receives consistent income regardless of whether the pool actually finds blocks. The pool operator absorbs all luck variance, which means PPS pools typically charge higher fees (2% to 4%) to compensate for the risk.
Full Pay-Per-Share (FPPS)
FPPS extends PPS by adding an estimated share of transaction fees on top of the block subsidy payment. Since transaction fees have grown to represent a meaningful fraction of mining revenue, FPPS gives miners a more complete picture of expected earnings per share. This model has become the dominant payout method at major pools.
Pay-Per-Last-N-Shares (PPLNS)
PPLNS pays miners only when the pool finds a block, and splits the reward among miners who contributed shares within the last N shares before the block was found. Income is more variable in the short term, but fees are typically lower (0% to 1%) and the method naturally discourages pool hopping: miners who disconnect before a block is found forfeit their recent shares.
Comparison Table
| Method | Income Variance | Typical Fee | Tx Fee Inclusion |
|---|---|---|---|
| PPS | None (pool absorbs) | 2% to 4% | No |
| FPPS | None (pool absorbs) | 2% to 4% | Yes (estimated) |
| PPLNS | High (follows pool luck) | 0% to 1% | Yes (actual) |
Stratum V2 and Share Submission
The Stratum V2 mining protocol introduces several improvements to how shares are submitted and accounted for. Unlike the original Stratum protocol, which uses plain-text JSON over TCP, Stratum V2 employs binary-encoded messages with authenticated encryption, reducing bandwidth and preventing man-in-the-middle tampering of share submissions.
Stratum V2's Mining Protocol defines specific message types for share handling:
SetTargetdelivers the share difficulty to each worker, replacing V1'smining.set_difficultymethodNewMiningJobpaired withSetNewPrevHashassigns work, splitting job data from the previous block hash so miners can start hashing a template before a new block arrives and only update the prev-hash field when it changesSubmitSharesStandardsends completed shares, and the pool responds withSubmitShares.Successor an error
The protocol supports three channel types: standard channels for typical miners, extended channels that grant larger extra-nonce space and custom coinbase prefixes for large operations, and group channels that aggregate multiple workers under a single connection. This multiplexing reduces the overhead of managing thousands of individual miner connections, which matters for share throughput at scale. For more on these improvements, see the Stratum V2 research article.
Use Cases
Revenue Distribution
The primary purpose of shares is fair reward distribution. A mining pool may have thousands of participants with wildly different hashrates. Shares provide a granular, verifiable unit of work that lets the pool allocate rewards precisely. Without shares, pools would have no objective basis for splitting block rewards.
Hashrate Estimation
Pools estimate each miner's hashrate from their share submission rate. If a miner submits shares at difficulty 1,000 and averages one share every 15 seconds, the pool infers a hashrate of roughly 286 GH/s (1,000 × 232 ÷ 15). This estimation drives dashboard displays, alerts, and historical performance charts that miners rely on to monitor their hardware.
Mining Profitability Tracking
Shares serve as the input to profitability calculators. By tracking accepted shares, stale rates, and the payout per share under their chosen method, miners can measure actual returns against electricity costs and hardware depreciation. Persistent high stale rates or rejected shares signal problems worth investigating: firmware issues, overheated chips, or poor network connectivity.
Risks and Considerations
Block Withholding Attack
In a block withholding attack, a malicious miner submits regular shares to earn payouts but deliberately discards any share that also meets the network difficulty target. The attacker collects revenue from the pool while sabotaging its ability to find blocks. This reduces the pool's effective luck and hurts all honest participants.
Detecting block withholding is difficult because the attacker's share submission pattern looks normal: the missing valid blocks are statistically indistinguishable from bad luck in the short term. Research into oblivious share validation and auditable proof-of-work protocols aims to address this, but no widely deployed solution exists yet.
Stale Share Losses
Shares become stale when the network finds a new block before the miner's submission reaches the pool. At high network hashrates, blocks can arrive every few minutes, and latency of even a few hundred milliseconds can push a share past the cutoff. Miners in distant geographic regions or using slow connections may experience stale rates above 1% to 2%, which directly reduces their effective earnings.
Pool Centralization Risks
Because shares are verified by the pool operator, miners must trust the pool to count shares honestly and report block finds accurately. A dishonest pool could undercount shares, skim rewards, or selectively reject valid submissions. Transparency mechanisms like share logs and independent hashrate verification help mitigate this, but the fundamental trust assumption remains in most pool architectures. See the mining centralization and pool risks research for a deeper analysis of these concerns.
Vardiff Gaming
Miners can attempt to manipulate vardiff algorithms by throttling their hashrate during the measurement window to receive a lower difficulty target, then ramping up to submit more shares at that easier target. Well-designed vardiff implementations mitigate this by using rolling averages, clamping adjustment speed, and cross-checking submission rates against credited difficulty. Pool operators continuously refine these algorithms to prevent gaming.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.