Manuscript Offprint
arXiv:2610.40558Power Adjusting Games Under Block-Dependent Pool Payout Schemes
Mustafa Doger
Sennur Ulukus
Department of Electrical and Computer Engineering
University of Maryland, College Park, MD 20742
Abstract—Advanced power adjusting block withholding attacks such as PAW and T-PAW have been analyzed so far under a global-reset version of the proportional scheme (GRP), which is rarely used in practice. In this paper, we analyze T-PAW, which contains FAW and PAW as special cases, under the block-dependent payout schemes deployed in practice: Pay-Per-Last-N-Shares (PPLNS), round-based Proportional (PROP) and exponential-decay (EXP). We derive the revenue ratios analytically, by renewal arguments for PPLNS and through the stationary carry process of an open round for PROP and EXP. We further introduce Power Adjusting Hopping (PAH), where an adversary of any size adjusts its power allocation towards the pool according to the blockwork age of the round without withholding any block, and derive its revenue ratios under PROP and EXP. We show that GRP misestimates the T-PAW gain in a scheme-dependent direction: it overstates the gain under PROP up to an order of magnitude and understates it under EXP for the original slush decay rate. PROP is highly vulnerable to PAH, while EXP faces a trade-off: a slow decay invites PAH and a fast decay invites T-PAW. PPLNS is the least vulnerable scheme: it is immune to PAH and it mitigates, but does not eliminate, T-PAW. All analytical results are verified by Monte Carlo simulations.
I. INTRODUCTION
Miners in Nakamoto style blockchains such as Bitcoin try to solve cryptographic puzzles to append blocks to the longest chain and earn rewards [1]. For a single miner, as the global hashrate grows, it becomes statistically harder to solve Proof-of-Work (PoW) puzzles hence miners cooperate under pools and share the reward of the blocks they create. Pools distribute rewards of blocks according to their choice of payout schemes. Block-dependent schemes Proportional (PROP), Pay-Per-Last-N-Shares (PPLNS) and score-based such as Exponential Decay (EXP) pay the partial works (pPoW) when pool finds a block (fPoW), whereas share-based schemes like Pay-Per-Share (PPS) immediately pay each pPoW [2].
While honest miners always try to extend the longest chain, an adversary may consider alternative strategies such as selfish mining where a miner temporarily withholds the blocks it mines to increase its relative share of rewards [3]. Similarly, in pools with block-dependent schemes, a miner can withhold fPoWs from the manager and strategically split its hashpower between the pool and solo mining to increase its relative rewards, called Block Withholding (BWH) attack [4], [5]. Both selfish mining and BWH strategies have received significant interest for optimization purposes from different perspectives [6]–[22]. Fork After Withholding (FAW) [11], Power Adjusting Withholding (PAW) [12], and Temporary PAW (T-PAW) [13] successively added flexibility to BWH for this purpose. Recently, [21] showed that share-based schemes such as PPS are vulnerable to All-out Attack (AoA, a special type of BWH), contrary to earlier belief [23].
Block-dependent round-based schemes also invite another attack family called pool hopping: an adversary leaves the pool for solo mining or another pool as the shares accumulate. Rosenfeld [2] and Raulo [24] show that a miner with negligible hashpower can increase its profit by 28% under PROP by doing so, and argue qualitatively that score-based schemes such as EXP reduce, but do not remove it. Rosenfeld also shows that PPLNS is hopping-proof as long as the difficulty and the block reward are constant. On the empirical side, [25], [26] propose methods to detect hoppers, find that hoppers earn more than static miners, including under score-based schemes, and [27] shows that payout schemes and pool fees drive the migration of miners across pools. [28]–[32] study the incentive to delay the report of shares or blocks within a pool.
These works leave three gaps. First, the analyses of advanced withholding attacks [12]–[14] pay a released fPoW according to the shares submitted since the last block of the whole network, i.e., a global-reset version of PROP (GRP), which is not used in practice. Since the gain of these attacks stems from changing the power allocation within a round, it is not clear whether the conclusions carry over to the round-based PROP, PPLNS and score-based schemes that pools deploy. Second, the pool hopping analyses [2], [24] assume a miner with negligible hashpower that either mines fully for a pool or solo and the vulnerability of EXP to hopping has not been analyzed in closed-form, although hopping under score-based schemes is observed in practice [25]. Third, withholding and hopping have been studied separately, thus it is not known which attack is more effective under each scheme, or how the block-dependent schemes compare with PPS, which is shown to be vulnerable to BWH [21]. We address these gaps with the following contributions (also see Table I and II):
• We analyze T-PAW, which contains FAW and PAW as special cases, under PPLNS, round-based PROP and EXP. We derive the reward fractions by renewal arguments for PPLNS, and through the stationary carry process of the open round for PROP and EXP, and we show that GRP follows as a special case of PROP with zero carry.
• We introduce Power Adjusting Hopping (PAH), where an adversary of any size changes its power allocation according to the blockwork age of the round. We derive
| Topic | Prior work | This paper |
|---|---|---|
| BWH variants | FAW, PAW, T-PAW under GRP [11]-[13] | T-PAW under PPLNS, PROP, EXP; GRP is not a reliable proxy |
| Hopping, PROP | Negligible miner, all-or-nothing [2], [24] | PAH for any α and partial allocations |
| Hopping, EXP | Qualitative [2], observed in practice [25] | First closed-form analysis, trade-off in λd |
| Hopping, PPLNS | Hopping-proof [2] | Any α and policy |
| PPS | BWH profitable [21] | Compared with all block-dependent schemes |
TABLE I: Prior work and the gaps addressed in this paper.
| Scheme | Withholding | Hopping (PAH) | Overall |
|---|---|---|---|
| PPS | High (AoA [21]) | Immune | Vulnerable, loss on operator |
| PPLNS | Low (T-PAW) | Immune | Most robust |
| PROP | Low (T-PAW) | Very high | Vulnerable to PAH |
| EXP | Moderate (T-PAW), grows with | Moderate, decreases with | No protects against both |
| GRP | Overstates PROP, understates EXP | - | Not reliable/used in practice |
TABLE II: Summary of the vulnerability of pool payout schemes to withholding and hopping attacks.
its revenue ratios in closed-form under PROP and EXP, recover the classical 28% gain as .
-
We show that GRP misestimates the T-PAW gain: it overstates the gain under PROP up to an order of magnitude and understates it under EXP.
-
We show that each scheme is vulnerable to a different attack: PROP is dominated by PAH, EXP is vulnerable to both attacks with a trade-off in the decay rate , and PPLNS is immune to PAH and yields the smallest T-PAW gain among all schemes, including PPS. We verify all analytical results with Monte Carlo simulations.
Participants: A coalition of colluding miners that controls a fraction of the hashpower acts as a single entity, which we call the adversary. A single mining pool, whose members are all honest and which controls a fraction of the hashpower, is the target of the adversary, and the remaining fraction belongs to honest miners outside the target pool. Honest miners always build on the tip of the longest chain they know and publish every block they find without delay. We assume . The adversary may divide its hashpower between the target pool and mining on its own; we refer to the latter as solo mining, during which the adversary follows the protocol and publishes each block it finds immediately.
| Parameter | Description/Value |
|---|---|
| total block generation rate | |
| adversarial hash fraction | |
| target pool hash fraction | |
| fraction of outside honest miners on the adversarial fork | |
| 1 if the pool manager is rational | |
| withholding deadline (T-PAW) | |
| hopping threshold (PAH) | |
| PPLNS blockwork window | |
| EXP decay rate | |
| fraction of at pool mining | |
TABLE III: Frequently used notations.
Pool mining: The manager of the target pool distributes work to its members, who report two kinds of shares. fPoWs are valid blocks, while pPoWs satisfy a lower difficulty and serve as evidence of the work done. If and denote the pPoW and fPoW difficulties, each share is also a fPoW with probability , independently of other shares. We quantify hashing in units of blockwork, the amount of hashing that yields one fPoW in expectation. A party with hash fraction performs the blockwork during a time , the number of fPoWs it finds is Poisson with this mean, and each share carries the blockwork . The manager divides the block reward among the members according to a payout scheme.
Forks: In line with the literature on incentive attacks [3], [11], we assume that the adversary observes every block as soon as it is found, and we neglect the accidental forks among honest blocks caused by propagation delays. Forks therefore arise only from the adversary's actions. When the adversary publishes a withheld fPoW in response to a block of an honest miner outside the pool, a fraction of the outside honest miners continue on the adversarial block and the remaining fraction on the honest one. The members of the target pool follow the choice of their manager. We write if the manager is rational, i.e., it builds on the fPoW released into its own pool and otherwise.
Metrics: A block is canonical if it remains in the longest chain in the long run. The block redundancy ratio is the expected number of all blocks found, including orphaned and discarded ones, per canonical block. As in Bitcoin, a difficulty adjustment algorithm keeps the rate of canonical blocks constant in the long run, hence the long-run income of an entity is proportional to its share of the canonical block rewards. Accordingly, we denote by , and the revenue ratios, i.e., the long-run fractions of the canonical block rewards received by the adversary, the honest members of the target pool and the honest miners outside the pool, respectively, with . Under honest mining, , and we measure the gain of an attack by the relative extra reward of the adversary .
A. Block-Dependent Payout Schemes
A block-dependent payout scheme is one where the miners are paid only when the pool actually discovers a valid block. Although shares do not get direct payments, the final payment a miner receives when a block is discovered is a function of the share contributions. Since miners only get payments when the pool finds blocks, the cashflow of miners is less stable compared to share-based schemes such as PPS, where each valid share submitted to pool operator gets an immediate payment from the pool operators that is valued at a fraction of the coinbase reward. Hence, in block-dependent schemes the risk associated with the variance of block mining process is borne by the pool miners collectively. These schemes are attractive because pools need smaller reserves, operator risk is much lower and as a result miners face lower fees.
In this paper, we focus on mainstream block-dependent mining pool payout schemes: PROP, PPLNS and EXP, where miners are paid only when the pool actually discovers a valid block. These three schemes cover the main design ideas, and together they span the space of block-dependent schemes well. Share-based schemes are not affected by power adjusting within the pool, since the payment of a share does not depend on the rounds; however, they are vulnerable to BWH after the difficulty adjustment [21], and we compare them with the block-dependent schemes in Section V.
1 ) Pay-Per-Last-N-Shares (W-PPLNS):
PPLNS is a sliding-window payout scheme: when the pool finds a block, the block reward is split proportionally among the last shares submitted to the pool, i.e., a miner who contributed of these shares receives . We parametrize the window by its blockwork and refer to the scheme as W-PPLNS since and are in one-to-one correspondence for given difficulties. In real-world PPLNS implementations, typically covers a small number of blockworks [25], e.g., [33], [34].
2 ) Proportional (PROP):
PROP is a simple round-based payout scheme where a block discovery triggers reward split proportionally among all shares submitted during that round. In this context, a round refers to the time interval between two consecutive pool blocks that become canonical. In PROP, a miner who contributes shares out of the total shares the pool receives during the round, receives rewards at the end of the round.
3 ) Score-based: Exponential-decay (EXP):
Score-based schemes are mining-pool reward systems where each share gets a time-dependent weight that gradually decreases as it gets older. In this paper, we specifically focus on historically deployed slush-style round-based modeling with exponential-decay, where the shares within a round are weighted with an exponential function , where is the decay rate, which we express relative to the total block generation rate as (e.g., in the original slush method [2], [35]). More specifically, when a round ends, each share that is mined time ago within that round by a miner gets a weight and miner receives reward at the end of the round.
- Global-reset-PROP (GRP):
Recent analyses of advanced block withholding attacks [12]–[14] implicitly adopt an unconventional version of PROP scheme that is rarely, if ever, used in practice, which we call GRP. Under GRP, rounds start and end whenever any block becomes known to the pool manager, whether it is mined by the pool or by an entity outside the pool. Since only the shares submitted since the last block of the network are paid, pool miners bear considerably more risk than under PROP. On the other hand, GRP is more appealing from an academic perspective, as it is considerably cleaner to analyze. As we show later, this simplification is not innocuous: GRP gives more weight to recent shares and therefore overstates the gain of power adjusting attacks compared to the round-based PROP.
III. POWER ADJUSTING WITHHOLDING ATTACKS UNDER BLOCK-DEPENDENT PAYOUT SCHEMES
In this section, we review the classical BWH attack and its advanced variants, FAW, PAW, and T-PAW. We present the relevant formulas associated with these attacks, including revenue ratios and block redundancy ratios, under the implicit assumption of a block-dependent payout scheme. The revenue ratios depend on the payout scheme only through the adversarial reward fractions of the pool blocks. Then, we provide novel and exact formulas of the reward fractions for all four block-dependent schemes listed in Section II-A.
A. Classical Block Withholding (BWH)
Under this attack, the adversary allocates p fraction of its hashpower to the target pool and mines solo with the remaining power. In the target pool, the adversary submits every pPoW it finds to the pool manager but withholds every fPoW it finds. It is straightforward to obtain (with ) the following
Here, r is the expected adversarial reward fraction, and is the fraction that goes to the honest pool members. Since the adversary never changes its power allocation p under BWH, the adversarial fraction of the pool blockwork is the same at all times, thus for all four block-dependent schemes listed in Section II-A,
regardless of which past shares the scheme pays. Subsequently, the adversary can optimize an objective function, such as its revenue ratio, by adjusting p.

Fig. 1: Evolution of a T-PAW attack cycle.
B. Advanced Variants
Here, we focus on three natural extensions of BWH, namely FAW [11], PAW [12], and T-PAW [13]. On a high level, the extensions enable us to state that in terms of the attack space, hence we directly present the T-PAW scheme. In their analysis, both [11], [12] use a simplified model for fork races whereas [13] uses a more realistic version by considering the fork races explicitly using , which we adopt in this paper. However, both [12], [13] use the GRP payout scheme, as it is considerably easier to analyze, but it overstates the gain of their power adjusting attacks. T-PAW also contains the lie-in-wait attack of [2], in which the adversary temporarily withholds a fPoW while increasing its power allocation to the pool [13]. Notably, lie-in-wait was proposed for PPLNS pools and analyzed only approximately, i.e., for a small withholding duration and without fork races. Hence, in this paper, we introduce a general framework to analyze the T-PAW attack, which spans all these attack spaces, for all four block-dependent schemes listed in Section II-A.
First, we explain how a T-PAW attack cycle works which contains FAW and PAW attacks as special cases. To avoid repetition, when we explain the attack cycle in the next paragraph, we advise the reader to follow Fig. 1, which contains all the relevant cases and phases, as well as the corresponding probabilities and rewards. Note that, in Fig. 1 an attack cycle starts with the purple box and ends with any of the events listed in the red box. The arrows represent the transition to subcases and blue symbols near the arrows show the probabilities. Each red box ends the cycle and points to the rewards each entity gets from the cycle as a 3-tuple where the fields are the rewards of the adversary, the honest target pool miners and the remaining honest miners respectively.
Let us assume everyone agrees on the last block mined in the network and a new attack cycle starts, where the adversary mines solo with fraction of its hashpower and contributes to the pool with the remaining fraction. This phase is called first phase and the first miner to mine a block is
Case 1: Honest miners outside the target pool. The adversary accepts the block and the cycle ends.
Case 2: Solo adversary. The adversary releases the block and the cycle ends.
Case 3: Honest miners of the target pool. The adversary accepts the block and the cycle ends.
Case 4: The adversarial power in the target pool. The adversary withholds the fPoW and readjusts its power contributing to the target pool as . This phase is called withholding phase where the adversary continues mining; however, if it encounters another fPoW with its pool power , it discards the old fPoW and keeps the new one. If
Case 4a: No entity other than adversarial pool mining power finds a block for T time duration, the adversary releases the withheld fPoW and attack cycle ends.
Case 4b: The first entity that finds a block in T time is:
Case 4b-i: Solo adversary. The adversary discards its withheld fPoW and releases the solo block and the cycle ends. Case 4b-ii: Honest miners of the target pool. The adversary discards its withheld fPoW and accepts the new pool block and the cycle ends.
Case 4b-iii: Honest miners outside the target pool. The adversary releases its withheld fPoW and a fork race ensues. During the fork race phase, the adversary readjusts its power contributing to the target pool as and tries to mine on top of the fPoW it recently released. The first entity that finds a block during the fork race phase is
Case 4b-iii-A: Solo adversary. The adversary releases the block and the cycle ends.
Case 4b-iii-B: Honest miners of the target pool or the adversarial pool mining. Note that if the target pool manager is rational, this pool block is mined on top of the recently released fPoW by the adversary. In either case, the adversary accepts/releases the block and the cycle ends.
Case 4b-iii-C: Honest miners outside the target pool. Note that fraction of these miners prefer the recently released fPoW by the adversary. In either case, the adversary accepts/releases the block and the cycle ends.
At the end of the attack cycle, the adversary reverts its power allocation towards the target pool as and a new attack cycle starts. Note that in comparison to [13], we introduced another flexibility to the fork race phase of T-PAW for the adversary which can readjust its power allocation towards the target pool as . This choice does not necessarily bring major improvements; however, it makes FAW, where the adversary never changes its allocation, an exact special case of T-PAW with , under which all adversarial reward fractions reduce to . Note that, corresponding expressions for PAW (by taking ) and FAW (by taking and setting ) can be obtained.
It is fairly straightforward to verify each of the probabilities listed in Fig. 1. Regarding the 3-tuple rewards, note that a pool block released at the first phase is distributed between the adversary and the honest pool members as . In Case 4a, the reward fractions of the released fPoW are . On the other hand, in Case 4b, the honest pool block of Case 4b-ii and the released fPoW of Case 4b-iii, if it ends up being canonical, both have the reward fractions . Note that, the pool may mine an extra block in Case 4b-iii-B (during the fork race), which has reward fractions . Using this parametrization and with it is straightforward to verify the 3-tuple rewards of each case as shown in Fig. 1. It remains to combine the total rewards of each case with the corresponding probability and then explicitly derive the reward fractions .
During an attack cycle, let , and denote the reward obtained by the adversary, honest target pool miners and honest miners outside the target pool, respectively. Let and denote the total numbers of canonical blocks and overall blocks generated during an attack cycle, respectively. Combining the rewards and probabilities of each case in Fig. 1, which extends [13] with an additional parameter , we have
where with
(6)
(7)
Here, we note that the reward fractions of a pool block may depend on blockwork submitted in earlier attack cycles, hence and are understood as long-run (stationary) expectations per attack cycle, and as the corresponding stationary adversarial reward fractions. Further, since the events that end an attack cycle are races between independent exponential clocks, their probabilities and the number of blocks they create do not depend on how the pool shares rewards. Hence, , , , and therefore and , are the same for every block-dependent payout scheme and do not depend on the adversarial reward fractions . On the other hand, , keep their form but the adversarial reward fractions depend on the scheme, i.e., the payout scheme only moves reward between the adversary and the honest pool members. The exact values of these adversarial reward fractions are provided later for each scheme. It is straightforward to verify that and . Further, the block redundancy ratio is
where
(10)
with . The goal of the adversary is to optimize an objective function, such as the revenue ratio , with respect to , , and . In general, objective functions such as are neither concave nor convex.
C. Reward Fractions in Advanced Variants
For every scheme, the adversarial reward fraction of a pool block is the adversarial fraction of the shares that the scheme pays for that block, i.e., the shares in the last W blockworks under PPLNS, the shares of the round under PROP, the decay-weighted shares of the round under EXP, and the shares since the last block of the network under GRP. Since the adversary submits shares with different fractions in different phases, these fractions depend on which past phases the scheme pays and with what weight.
First, note that does not appear in the final expression for FAW and PAW since implies . Further, the analysis does not depend on the particular values of T and but only on the product . In other words, the adversary can first pick , find the optimal T and rescale it with the actual block production rate . Moreover, the adversarial reward fractions and are affected by the adversarial power adjustments towards the target pool during the withholding phase and deviate from accordingly. This deviation is more pronounced in schemes where recent shares have higher weight, such as EXP or GRP, which makes them more susceptible to PAW/T-PAW as we will see later.
1 ) Reward Fractions in FAW:
In FAW, the adversary does not alter its power allocation devoted to pool mining, i.e., for and . It is straightforward to show that the adversarial reward fraction for FAW under all four block-dependent payout schemes listed in Section II-A remains equal to given in (3); that is,
2 ) Reward Fractions for W-PPLNS:
Let S be the blockwork of the target pool in an attack cycle. An analysis of W-PPLNS scheme is provided in Appendix A using renewal equations and the following result is obtained.
Theorem 1 With , up to vanishing terms,
with in (46), d in (49) and in (36). Here, is the long-run adversarial fraction of the pool blockwork, and the 1/W terms correct it for the blockwork of the current attack cycle, which lies at the end of the window and has the adversarial fraction in phase i. The exact expressions are given in Theorem 5.
3 ) Reward Fractions for PROP:
An analysis of PROP scheme is provided in Appendix B using a carry process that models how the blockwork of attack cycles that produce no canonical pool block is carried over to the next cycles. With the help of the Laplace transform of the carry process, the following result is obtained.
Theorem 2 The expected adversarial reward fractions under round-based PROP are, for ,
Here, is the adversarial reward fraction of the pool block of the fork race when the pool manager is not rational, is the expected fraction of the total blockwork of the round submitted in mode (first phase, withholding phase and fork race phase for ), both derived in Appendix B.
- Reward Fractions for EXP :
Under EXP, the reward of a round depends on the score of its shares, which is carried over from earlier attack cycles as under PROP, but discounted by over time. An analysis of this scheme is provided in Appendix C, and the following result is obtained.
Theorem 3 (Informal) The expected adversarial reward fractions under round-based EXP are
where for the score of the corresponding paid round, given in Theorem 6 in terms of the unique bounded solution of the linear fixed point equation (127).
Unlike PROP, the transforms are not explicit, but every operator in (127) is a one-dimensional integral, thus (127) is solved on a grid and follows by one-dimensional quadrature; see Theorem 6 for the formal statement.
- Reward Fractions for GRP:
This scheme is rigorously studied in [13] with . Since every block of the network starts a new round under GRP, no blockwork is carried over from earlier attack cycles. Hence, GRP is a special case of round-based PROP with zero carry, and Theorem 2 gives (see Remark 3 in Appendix B),
IV. POWER ADJUSTING HOPPING ATTACKS UNDER BLOCK-DEPENDENT PAYOUT SCHEMES
In this section, we consider PAH attack that the adversary can use to increase its rewards. A primitive version of this attack for an adversary with negligible hashpower with optimal time to hop under PROP were derived in [2], [24]. Here, we extend the analysis of PAH to PROP, EXP and to any adversarial power size, where we allow partial power allocations. Under PAH, the adversary never withholds a fPoW, i.e., it submits all its pPoWs and fPoWs to the pool immediately, and only adjusts the fraction of its hashpower that it devotes to the target pool. Since every pool block is released immediately, every block is canonical and the round boundaries of the pool are simply the instants at which the pool finds a block. The adversary exploits the fact that, under round-based PROP and EXP, the value of a share depends on the cumulative blockwork of the open round.
Let t denote the time passed since the last pool block, which is public. Under PAH, the adversary mines in the pool with the fraction
(24) of and solo with the rest, where and are the parameters of the attack; the subscripts and refer to young and old rounds. Similarly, let denote the quantities when the adversary mines with the power with at time . Note that with , the strategy reduces to the honest strategy that keeps the fraction of its hashpower in the pool. Further, let
We refer to the cumulative pool blockwork of the open round as its blockwork age, i.e., the blockwork age at time is
and , i.e., the policy (24) is equivalently a threshold on the blockwork age of the round. Let be the time when the pool block is found and the round ends, and the blockwork age of the round at . Since every hash is a valid block with the same probability, the chance that the pool finds a block depends only on how much blockwork it has done and not on how fast it was done. Hence, the power allocation of the adversary changes how fast the blockwork age of a round grows, but not the distribution of , which is for every policy (see Lemma 7 in Appendix D).
Theorem 4 Under round-based PROP and EXP, the block redundancy ratio of PAH is and
where , are the reward fractions of the adversary and the honest target pool miners with , and
are the expected numbers of blocks mined by the honest miners outside the pool and the solo adversary per round, with
The proof is provided in Appendix D. For , both adversarial reward fractions reduce to in (3), and Theorem 4 gives the revenue ratios of honest mining, , and . As , EXP weighs all the shares of a round equally and . The goal of the adversary is to optimize an objective function, such as the revenue ratio , with respect to , and .
| T-PAW, , | T-PAW, , | PAH | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 0.001 | 0.05 | 0.056 | 0.108 | 0.180 | 0.102 | 0.169 | 0.247 | 3.990 | 2.184 | 1.153 |
| 0.001 | 0.1 | 0.035 | 0.061 | 0.098 | 0.060 | 0.092 | 0.130 | 6.921 | 4.010 | 2.195 |
| 0.01 | 0.05 | 0.482 | 0.890 | 1.447 | 0.853 | 1.366 | 1.959 | 3.667 | 2.009 | 1.061 |
| 0.01 | 0.1 | 0.324 | 0.558 | 0.876 | 0.554 | 0.836 | 1.165 | 6.617 | 3.837 | 2.102 |
| 0.05 | 0.05 | 1.438 | 2.382 | 3.579 | 2.312 | 3.425 | 4.666 | 2.768 | 1.523 | 0.805 |
| 0.05 | 0.1 | 1.213 | 1.955 | 2.918 | 1.946 | 2.800 | 3.774 | 5.585 | 3.252 | 1.785 |
TABLE IV: Optimal relative extra reward (%) under T-PAW and PAH for EXP with different decay rates . PAH does not depend on .
| 1 | 2 | 4 | 1 | 2 | 4 | ||
| 0.001 | 0.05 | 0.002 | 0.001 | 0.001 | 0.005 | 0.004 | 0.003 |
| 0.001 | 0.1 | 0.004 | 0.003 | 0.003 | 0.010 | 0.007 | 0.006 |
| 0.01 | 0.05 | 0.022 | 0.016 | 0.014 | 0.056 | 0.038 | 0.031 |
| 0.01 | 0.1 | 0.045 | 0.033 | 0.029 | 0.105 | 0.074 | 0.061 |
| 0.05 | 0.05 | 0.114 | 0.083 | 0.074 | 0.280 | 0.195 | 0.161 |
| 0.05 | 0.1 | 0.238 | 0.177 | 0.156 | 0.523 | 0.376 | 0.314 |
TABLE V: Optimal relative extra reward (%) under T-PAW for W-PPLNS with different window sizes .
| PPS AoA | PAH | T-PAW, | T-PAW, | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PROP | EXP | PPLNS | PROP | EXP | GRP | PPLNS | PROP | EXP | GRP | |||
| 0.001 | 0.05 | 0.100 | 27.790 | 2.184 | 0.001 | 0.005 | 0.108 | 0.074 | 0.004 | 0.018 | 0.169 | 0.111 |
| 0.001 | 0.1 | 0.100 | 27.968 | 4.010 | 0.003 | 0.006 | 0.061 | 0.040 | 0.007 | 0.020 | 0.092 | 0.059 |
| 0.01 | 0.05 | 1.010 | 24.979 | 2.009 | 0.016 | 0.051 | 0.890 | 0.616 | 0.038 | 0.163 | 1.366 | 0.906 |
| 0.01 | 0.1 | 1.010 | 26.454 | 3.837 | 0.033 | 0.071 | 0.558 | 0.367 | 0.074 | 0.190 | 0.836 | 0.534 |
| 0.05 | 0.05 | 5.263 | 17.603 | 1.523 | 0.083 | 0.194 | 2.382 | 1.698 | 0.195 | 0.544 | 3.425 | 2.385 |
| 0.05 | 0.1 | 5.263 | 21.496 | 3.252 | 0.177 | 0.298 | 1.955 | 1.314 | 0.376 | 0.724 | 2.800 | 1.849 |
TABLE VI: Optimal relative extra reward (%) under PAH and T-PAW for every block-dependent payout scheme, with for PPLNS and for EXP. For comparison, the PPS column gives RER under the All-out Attack [21], i.e., , which does not depend on or .
Remark 1 Consider a pool share of blockwork submitted at blockwork age under PROP by a negligible miner. In the pool, the share receives the fraction of the reward of the pool block, and given , the remaining blockwork age is by Lemma 7(iii) and the memoryless property. Hence, the expected reward of the share is
If mined solo, the same blockwork yields blocks in expectation, hence the value of the share relative to solo mining is which is exactly what Rosenfeld finds in [2, App. B]. It decreases from to 0, thus shares in young rounds are worth more than solo mining and shares in old rounds less, which is what PAH exploits. EXP reduces, but does not remove, this dependence of the share value on the blockwork age.
In Appendix D, we revisit the PAH-proofness of W-PPLNS [2]. Further, we consider a special case with and and optimize PAH only with respect to for PROP and EXP. For PROP, by taking , we also recover the classical pool hopping result of [2], [24] for a negligible miner.
V. NUMERICAL RESULTS
In this section, we compare the vulnerability of the payout schemes to T-PAW and PAH. For every , we maximize the adversarial revenue ratio over for T-PAW and over for PAH, using the closed-form expressions of Sections III and IV with a multi-start interior-point method, and report the relative extra reward at the optimum. We verify all analytical expressions with Monte Carlo simulations that model the attack cycles, the pool rounds, the PPLNS window and the EXP scores explicitly, without using any of the derivations. At the optimal parameters, the simulated revenue ratios, block redundancy ratios and reward fractions match the theory, with the reward fractions agreeing to the fourth digit for every scheme; see Appendix E. We set , which is without loss of generality since the results depend on and only through and , and we assume a rational pool manager. Unless stated otherwise, we use for PPLNS and for EXP, as in the original slush method. Note that PAH does not withhold any block, thus it has and its gain does not rely on the difficulty adjustment, whereas the gain of T-PAW is mostly realized after the difficulty adjustment, since withholding wastes part of the network hashpower; the pre-adjustment gain reported in [13] is obtained under GRP, which overstates it.
GRP is not a reliable proxy: Table VI shows that the T-PAW gain under GRP, which is the scheme adopted by prior analyses [12], [13], differs substantially from the gain under the schemes used in practice, and the direction of the error depends on the scheme. Under round-based PROP, the blockwork carried over from earlier attack cycles dilutes the effect of the power adjustments, and T-PAW yields up to an order of magnitude less than under GRP, e.g., 0.194% versus 1.698% for . Under EXP, the decay emphasizes the recent shares of the withholding phase, and T-PAW yields more than under GRP, e.g., 2.382% versus 1.698% for the same parameters. Hence, the conclusions drawn under GRP carry over to neither PROP nor EXP.
Which attack dominates under each scheme: Under PROP, PAH dominates by far: its gain is between 17.603% and 27.968%, whereas the gain of T-PAW stays below 1%. For a small adversary, the PAH gain approaches the 28% of a negligible miner [2], [24], e.g., 27.790% for . As grows, the adversary dilutes the young rounds with its own shares and the gain decreases, e.g., to 17.603% for . Under EXP, both attacks are effective and the best attack depends on the parameters: PAH is preferable for a small adversary or a large pool, e.g., 3.837% versus at most 0.836% for , whereas T-PAW is preferable for a large adversary relative to the pool, e.g., 2.382% versus 1.523% for . Under PPLNS, PAH yields no gain by Proposition 1, and the gain of T-PAW is the smallest among all schemes, at most 0.376% in Table VI. However, it remains positive for every , thus PPLNS mitigates T-PAW but does not eliminate it. In all schemes, the T-PAW gain increases with , as the released fPoWs win more fork races, while PAH does not depend on .
Comparison with PPS: Under PPS, each share is paid immediately and its payment does not depend on the rounds, therefore PAH yields no gain, whereas BWH is profitable after the difficulty adjustment, where the optimal strategy is the All-out Attack (AoA) with a gain of per epoch that is borne by the pool operator [21]. For , the AoA gain under PPS exceeds the gain of every attack under every block-dependent scheme except PAH under PROP. For a small adversary, however, block-dependent schemes are not safer: T-PAW under EXP already exceeds the PPS gain, e.g., 1.366% versus 1.010% for , and PAH under PROP and EXP exceeds it by far, since the relative gain of PAH barely decreases as , while the AoA gain vanishes linearly in . Among all schemes we consider, PPLNS is the least vulnerable for every .
Decay rate of EXP: Table IV reveals a trade-off in the design of EXP. As increases, the scores of the shares submitted before the withholding phase decay faster, hence the power adjustments of T-PAW weigh more, and the T-PAW gain increases, e.g., from 1.438% to 3.579% for as increases from to . At the same time, the score of an old round saturates faster, thus the value of a share depends less on the blockwork age of the round, and the PAH gain decreases, e.g., from 2.768% to 0.805% for the same parameters. In the limit , EXP reduces to PROP, which is the most vulnerable scheme to PAH. EXP cannot protect against both attacks by tuning : a slow decay invites PAH and a fast one invites T-PAW.
Window of PPLNS: Table V shows that the T-PAW gain under PPLNS decreases with the window size W, e.g., from 0.523% to 0.314% for as W increases from 1 to 4. By Theorem 1, the power adjustments of T-PAW affect the reward fractions only through terms of order 1/W, since the blockwork of a single attack cycle is a small part of the window. The part of the gain that stems from the fork races, as in FAW, does not depend on W, therefore the gain does not vanish as W grows. Hence, a longer window alone cannot make PPLNS fully resistant to T-PAW.
VI. Conclusion
We analyzed power adjusting attacks under the block-dependent payout schemes used in practice. For T-PAW, which contains FAW and PAW as special cases, we derived the revenue ratios under W-PPLNS, round-based PROP and EXP, and we showed that GRP, which is adopted by prior analyses, is not a reliable proxy, since it overstates the gain under PROP and understates it under EXP. We further introduced PAH, which requires neither withholding nor a difficulty adjustment, and derived its revenue ratios for an adversary of any size. PROP is highly vulnerable to PAH, and EXP cannot be tuned against both attacks, as a slow decay invites PAH and a fast decay invites T-PAW. PPLNS is immune to PAH and yields the smallest T-PAW gain among all schemes, including the All-out Attack (AoA) under PPS. We leave strategies that combine withholding and hopping to the future work and believe that such a strategy might prove to be especially useful against score-based schemes. Another promising direction is analyzing the proposed attacks under multiple target pool systems which we believe can increase the rewards especially for PAH.
APPENDIX A REWARD FRACTIONS FOR W-PPLNS
We first consider the blockwork of the pool accumulated in an attack cycle. Note that blockwork refers to the expected number of fPoWs generated:
-
First phase: Let denote the blockwork of a pool in the first phase of an attack cycle which lasts , where the pool works with hashwork . Hence, we have , with and .
-
Withholding phase:
a) Successful (Case 4a): With probability the withholding deadline is reached and we let denote the blockwork of the pool. This withholding phase lasts , where the pool works with hashwork . Hence, we have which is deterministic.
b) Unsuccessful (Case 4b): With probability the phase ends earlier after the time , and the blockwork of the pool is . Since with , we have with .
- Fork race phase: When the withholding phase is ended before the deadline by a block of the honest miners outside the pool, a fork race of duration follows with the pool at hash fraction , hence the blockwork of the pool is , with and .
It is straightforward to verify that
Let denote the cumulative blockwork of the pool at the end of an attack cycle. Table VII lists the events of an attack cycle, their probabilities, the pool blockwork S of the cycle and its adversarial part X. We have
Using and ,
The cumulative blockwork of the pool at the end of an attack cycle is with independent of , thus
Here, explicitly
Let denote the cumulative blockwork of the target pool since the beginning until time t. Under W-PPLNS the reward of a pool block that the manager receives at t is split according to the blockworks submitted during . Let be the adversarial fraction of the blockwork submitted within an infinitesimal neighborhood of . In a T-PAW cycle, we have
Hence, among the blockwork submitted during , the adversarial blockwork is
Let be the adversarial pool blockwork in an attack cycle. It is straightforward to verify that
Thus, the long-run adversarial blockwork fraction is the ratio of (45) and (42),
Next, we find by splitting the integral over the three phases.
• First phase, , , , with expectation since and are independent.
• Withholding phase of pool work followed by pool work until the end of the cycle, . In Case 4a, and . In Case 4b, , and with probability and otherwise, thus .
• Fork race phase, , and the cycle ends with the race: , with expectation .
With the probabilities of each phase happening,
(47)
A. Adversarial Blockwork in the Window Before a Cycle
Let be the expected adversarial pool blockwork in a blockwork window v that immediately precedes the start of an
| Events | Probability | Pool blockwork | Adversarial pool blockwork |
|---|---|---|---|
| Cases 1,2,3 | |||
| Case 4a | |||
| Case 4b-i,4b-ii | |||
| Case 4b-iii |
TABLE VII: Cumulative pool and adversarial pool blockworks in an attack cycle.
attack cycle. Throughout this section and is the distribution function of .
Lemma 1 satisfies the renewal equation
and, as ,
Proof: Step 1, the renewal equation: Attack cycles are i.i.d., hence the cycles that precede a given cycle start, read backwards, are i.i.d. copies of and are independent of the cycle that starts there. Consider the last cycle before the start and let be its pool blockwork. If , the pool blockwork window lies inside this cycle and covers its positions . If , the pool blockwork window contains the whole cycle, and the remaining pool blockwork window ends at the start of that cycle, which is again a cycle start, thus it holds pool blockwork in expectation. Both cases are written in (48). With , (48) gives
and
is the renewal function and is the expected number of cycle starts in a pool blockwork window before the given cycle start, counting the given one . Next, let be the expected adversarial pool blockwork of an attack cycle that lies more than before its end,
Inserting in (51),
Term (I) counts all adversarial pool blockwork of every cycle that has its later boundary inside the interval. The earliest of these cycles extends beyond the interval, and term (II) removes its shares that lie outside. We will later use the following fact (see, [36]): If is non-lattice with mean and is non-increasing with , then
Step 2, term (I): Let . Note and substitute on both sides,
By exchanging the order of integration, , hence
Thus, is non-increasing, and
(58)
The renewal equation has the solution , and (54) gives , i.e.,
Step 3, term (II): The function in (52) is non-negative and non-increasing in . A pool blockwork at position of a cycle is counted in exactly when , i.e., for , hence by exchanging the order of integration
Hence (54) applies with and term (II) converges to . Combining (I) and (II) completes the proof. ■
B. Reward Fractions of the Adversary
Theorem 5 If a canonical pool block received when the cumulative blockwork since time immemorial is , with
the expected adversarial shares under W-PPLNS are
Proof: Consider the window backwards from the canonical pool block. For example, consider the pool block of a fork race. The window first meets the race phase (pool work , density ), of which it holds , then the withholding phase , density , then the first phase , density , and then earlier cycles. The length of the window left for the withholding phase is , thus it holds ; the length left for the first phase is , thus it holds ; the length left for earlier cycles is . This is (62). The other canonical pool blocks, i.e., those of Cases 3, 4a and 4b-ii and the released fPoW of Case 4b-iii, are similar with and . Since the cycle ends at the first of independent exponential clocks, are independent of which case occurs, and taking expectations completes the proof.
Combining the result of Lemma 1 with Theorem 5, we can prove Theorem 1 with
The closed-forms neglect the term of (49), evaluated at , together with the event . Since the pool blockwork of a cycle is a fraction of one unit on average and has exponentially decaying tails, both are negligible for windows of a few units of blockwork. If is comparable to the pool blockwork of a cycle, Theorem 5 must be used directly.
APPENDIX B
REWARD FRACTIONS FOR ROUND-BASED PROP
A. Model
Under proportional (PROP) reward sharing, the pool manager splits the reward of a pool block among the members in proportion to the blockwork they submitted during the round of that block. We define the rounds by the canonical pool blocks as follows:
(R1) The round boundaries are the instants at which the manager receives canonical pool blocks. The reward of a canonical pool block is split in proportion to the blockwork submitted since the previous round boundary.
(R2) A pool block that is orphaned, and a withheld fPoW that is discarded, is not a round boundary. The blockwork submitted before and after it belongs to the same round.
A round is therefore not tied to an attack cycle and ends only with a canonical block of the pool. In particular, if the adversary releases a withheld fPoW to start a fork race, the release time is a round boundary if and only if the released fPoW wins the race to become canonical.
Remark 2 A pool could alternatively close a round whenever it receives a fPoW, including a released fPoW that later loses the fork race. We believe our definition above is more likely to be used in practice. It is straightforward (and easier) to modify the analysis given here to obtain the reward fractions for the alternative case.
The adversarial fraction of the pool blockwork is , , in the first phase, the withholding phase and the fork race phase, respectively, and we refer to these regimes as modes 1, 2, 3. If a round consists of multiple attack cycles, with total pool blockwork submitted in mode i during the entire round, the adversarial fraction of the pool blockwork is
B. The Carry Process
The attack cycles remain i.i.d., but the share rewards of the pool do not: the reward split of a pool block depends on the blockwork of its round, which may span multiple attack cycles. Let us index the attack cycles by and let be the carry, i.e., the pool blockwork of the open round submitted in each mode, observed at the start of cycle . Let collect the randomness of cycle . Define
We consider how an attack cycle that starts with carry evolves and list the probability and the blockwork associated with the canonical pool blocks mined during that cycle as well as the carry left to the next cycle:
Case 1, w.p. no pool block. .
Case 2, w.p. no pool block. .
Case 3, w.p. : a canonical pool block closes the round with blockwork . .
Case 4a, w.p. : the fPoW released is canonical and closes the round with blockwork . .
Case 4b-i, w.p. : the fPoW is discarded, no canonical pool block. .
Case 4b-ii, w.p. : a canonical pool block closes the round with blockwork . .
Case 4b-iii, w.p. : the fPoW is released and the race is decided by next block.
Case 4b-iii-A, w.p. : the round closes with blockwork and .
Case 4b-iii-B, w.p. :
: the round closes with blockwork and the subsequent round is also closed with the canonical pool block of the race which has blockwork . .
: the fPoW is orphaned, but the pool block of the race is canonical and closes the round with blockwork . .
Case 4b-iii-C, w.p. :
w.p. : the round closes with blockwork . .
w.p. : the fPoW is orphaned. .
Consequently,
and the five probabilities sum to one.
Note that is a deterministic function of , thus the carry is a Markov chain. We call cycle a reset cycle if it is one of Cases 3, 4a, 4b-ii, 4b-iii-B. Whether a cycle is a reset cycle is a function of only, it has probability , and iff cycle is a reset cycle. Notice this Markov chain is positive recurrent and regenerative, and by the renewal reward theorem
where is taken with the carry in its stationary distribution.
Thus, the reward fractions are the expected adversarial fractions of the paid rounds, with independent of :
C. Transform of the Carry
Note that, for , we have
(87)
Moreover , , , is non-increasing, , and
Lemma 2 The stationary carry has the Laplace transform
where
(91)
Proof: Taking the transform of (77) in stationarity and using the independence of , , , gives .
Lemma 3 Let be a non-negative random vector with a.s. and Laplace transform . Then,
Proof: Use and Tonelli's theorem.
Lemma 4 (Transforms of the paid rounds) With independent of , the Laplace transforms of the rounds in (79)–(82) are
with , and each of these rounds is non-zero a.s.
On the diagonal we write , , , , and define
Since , differentiating in Lemma 2 and using and gives, on the diagonal,
By (73) and Lemma 3, with , the expected fraction of the blockwork of the round submitted in mode . Applying the product rule to the transforms of Lemma 4 with (100), gives
Finally, in (83), which concludes the proof of Theorem 2.
Remark 3 (GRP) Under GRP, every block that becomes known to the pool manager starts a new round, and every attack cycle starts right after such a block. Hence, the open round is empty at the start of every cycle, i.e., and in Lemma 2. A withheld fPoW is not known to the manager, thus the blockwork of the withholding phase stays in the round, and the rounds of the pool blocks of Cases 3, 4a and 4b-ii, and of the released fPoW of Case 4b-iii, are , and as in (79)–(81). The honest block that triggers the fork race starts a new round, thus the round of the pool block of the race is regardless of , which gives (23). With , Lemma 4 gives , and , thus , , and by Lemma 3
For , the substitution gives
which gives (21) with . Since and has the density on , the same identity gives (22).
APPENDIX C REWARD FRACTIONS FOR EXP
A. Model
The rounds are defined by the canonical pool blocks as in (R1)–(R2) of Appendix B, and the attack cycle evolves through the same cases. Under EXP scheme with decay rate , a share submitted time units before the end of its round receives the weight , and the reward of a canonical pool block is split in proportion to the total weights of the shares of its round. As before, the pool submits blockwork at rate in mode , of which is adversarial. For a round that closes at time , we define its score and adversarial score as
where and if belongs to mode , and we write . The adversarial fraction of the reward of the round is . We use
so that . As in Appendix A, the first phase and the fork race last , and a withholding phase that ends before the deadline (Case 4b, probability ) lasts with ; a withholding phase that reaches the deadline (Case 4a) lasts exactly . We use the corresponding discount factors
and . Since , and have the density on . Similarly, , thus has the density
Lemma 5 (Score update) If the pool mines in mode i for a duration t without closing the round, the score of the open round changes as
Proof: Moving the evaluation instant forward by multiplies the weight of every earlier share by , and the new shares contribute to and to .
Hence, the score updates over the first phase, the withholding phase ending before the deadline, the withholding phase ending at the deadline and the fork race are the affine maps
B. The Carry Process
Let be the carry, i.e., the score of the open round evaluated at the start of cycle . For a cycle that starts with carry and for a score , let . Following the case-by-case analysis of Appendix B, the canonical pool blocks are paid with the scores in Case 3, in Case 4a, in Case 4b-ii and for the canonical fPoW of Case 4b-iii, and, in Case 4b-iii-B, if and if . The carry left to the next cycle is
with , , in (74)–(76). That is, (119) is (77) with the blockwork of each phase replaced by the corresponding score update under exponential decay. In particular, the reset cycles are the same, and by the renewal reward theorem with the carry in its stationary distribution . The reward fractions are
where is independent of , and , since the fresh score has the fraction .
C. Transform of the Carry
For a random score , let
For a mode and a measure on , define the operator by
(126)
and write and for the law of (and ), , with and , for the law (113) of with , and for the point mass at with .
Lemma 6 Let Z be a random score with transforms , (iii) and a random variable on with law , independent of Z. Then the transforms of are .
Proof: Conditioning on , the new score is , thus and . Integrating against gives (125)–(126).
Theorem 6 The transforms of the stationary carry are the unique bounded solution of
(127)
where is the pair of transforms of the zero carry. With
the expected adversarial reward fractions under EXP scheme are
Proof: Taking the transforms (124) of both sides of (119) in stationarity, and applying Lemma 6 once per phase, in the order in which the phases occur, gives (127). The first component of (127) does not involve , and the second is affine in for a given . Since and , both are contractions in the supremum norm with factor , hence the solution is unique and the iteration of (127) converges to it. By Lemma 6, are the transforms of the paid scores. Finally, for a paid score , use by and Tonelli's theorem to get the reward fractions.
Every operator in (127) is a one-dimensional integral over that evaluates and at , thus (127) can be solved on a grid in by iteration, and follows by one-dimensional quadrature.
APPENDIX D REVENUE RATIOS OF POOL HOPPING
Lemma 7 Under PAH, the rounds are i.i.d. Let , in (27) and be as defined in Section IV. Then,
(i) with for and for , and the pool block is found by the adversary with probability ;
(ii) the expected numbers of honest blocks outside the pool and solo adversarial blocks found before are and ;
(iii) for every policy .
Proof: A round starts at a stopping time of the mining processes and the policy depends only on the time since the start of the round, hence the rounds are i.i.d. by the memoryless property. At time t, the pool mines with the hash fraction , hence the pool blocks arrive with the intensity , which gives . A pool block at time is adversarial with probability . The outside and solo blocks arrive with the intensities and and do not end the round, thus their expected numbers are and , which give (31) and (32).
For (iii), the idea is to measure the round by the work done in it instead of by time. Every hash is a valid block with the same probability, regardless of who computes it and how fast. Hence, the probability that the pool finds a block depends only on how much blockwork the pool has done, and not on how long it took. The blockwork age counts exactly this work, thus every additional unit of blockwork age carries the same chance of ending the round, i.e., in units of blockwork age the round ends at the constant rate 1. The power allocation of the adversary only changes how fast the blockwork age grows, i.e., faster with and slower with , but not how much blockwork age a round lasts.
Formally, (27) is deterministic, continuous and strictly increasing since , and . By (i),
and since is strictly increasing, . Hence, for all , i.e., . Equivalently, the probability of a pool block in is , the increment of the blockwork age, hence the pool blocks form a Poisson process of unit rate in units of blockwork age, which is the time change of a Poisson process.
A. Proof of Theorem 4
Nothing is withheld, therefore every block is canonical and . Every round contains exactly one pool block, which pays 1 in total, and by Lemma 7(ii), solo and outside blocks on average, each paying 1. By the renewal reward theorem, is the expected reward of per round divided by the expected number of canonical blocks per round, , which gives (28)-(30) with the expected adversarial reward fraction of the pool block. It remains to compute .
PROP: The pool block pays the adversarial fraction of the blockwork of the round. By Lemma 7(iii), , and the adversarial blockwork at blockwork age is for and for . Hence,
(135)
which is (33) since
EXP: With and given by the policy (24), the score and the adversarial score (109)–(110) of the open round evaluated at time t are deterministic:
and the pool block at time pays the adversary . For , the pool hashing is constant, thus , and the pool block falls before with probability . For with , by Lemma 5,
and, given , by Lemma 7(i). Hence,
(140)
and the substitution , under which , gives (34).
B. All-or-Nothing Hopping
Let and , i.e., the adversary mines only in the pool during the first time units of a round, which correspond to the first blockworks, and only solo afterwards. Then, , , , , and
Corollary 1 Let . Under round-based PROP,
Hence, in this case, the relative extra reward depends on only , and it is maximized at the root of
(143)
As , i.e., , (142) tends to , which is maximized at the root of e^y^* E_1(y^*) = 1, where it equals , which recovers the classical pool hopping result of [2], [24] for a negligible miner. For a non-negligible adversary, its own shares dilute the young rounds it mines in, which is captured by in (142); as a result, the gain decreases and the optimal threshold increases with .
Proof: By (33), , hence by (28) and (141),
(144)
(145)
and multiplying the numerator and the denominator of the last fraction by gives (142). The derivative of is
and that of is , which gives (143). For , (143) reduces to .
Corollary 2 Let . Under EXP, with ,
where is the Gaussian hypergeometric function.
Proof: With the integrand of (34) is , and by Euler's integral representation; note that for .
Unlike (142), the gain under EXP depends on and separately, since the decay acts in time while the rounds end at the rate , which depends on the size of the pool. If the rounds are long compared to , the score of an old round saturates, its composition is that of the recent shares only, and hopping gains little; if the rounds are short compared to , EXP behaves like PROP.
C. Pool Hopping Under W-PPLNS
The following is the hopping-proofness of PPLNS shown in [2, Sec. 3.3], which we state for an adversary of any size and any power allocation policy.
Proposition 1 (Rosenfeld [2]) Under W-PPLNS with constant block rewards, every policy under which the adversary submits all its shares immediately and chooses its power allocation based only on the past of the mining processes gives .
Proof: Consider a share of blockwork . It receives the fraction of the reward of every pool block found while it is among the last blockworks of pool shares, i.e., during the next blockworks of pool work. Measured by the pool blockwork, the pool blocks arrive as a Poisson process of unit rate whatever the allocation is, by the time change argument in the proof of Lemma 7(iii), and its future is independent of the past. Hence, the expected number of pool blocks during the next blockworks is , given anything that is known when the share is submitted, and the expected reward of the share is , which is the expected reward of the blockwork mined solo. Summing over all shares, the expected reward of the adversary per unit time equals that of mining solo with all its hashpower, which is times the expected canonical reward per unit time, since all blocks are canonical.
Thus, a gain under W-PPLNS requires information about future pool blocks that is not contained in the past of the mining processes, such as a withheld fPoW whose release time the adversary controls, which is the idea behind lie-in-wait [2] and T-PAW [13]. In other words, under W-PPLNS, any extra reward of PAW/T-PAW over honest mining stems from withholding and not from power adjusting alone.
| Attack | Scheme | RER (%) | δ | ||||
|---|---|---|---|---|---|---|---|
| β | γ | Theory | MC | Theory | MC | ||
| T-PAW | PPLNS | 0.05 | 0 | 0.083 | 0.062 ± 0.092 | 1.0014 | 1.0015 ± 0.0002 |
| T-PAW | PPLNS | 0.05 | 0.5 | 0.195 | 0.167 ± 0.066 | 1.0032 | 1.0032 ± 0.0002 |
| T-PAW | PPLNS | 0.1 | 0 | 0.177 | 0.111 ± 0.046 | 1.0031 | 1.0031 ± 0.0002 |
| T-PAW | PPLNS | 0.1 | 0.5 | 0.376 | 0.375 ± 0.071 | 1.0062 | 1.0062 ± 0.0002 |
| T-PAW | PROP | 0.05 | 0 | 0.194 | 0.157 ± 0.085 | 1.0016 | 1.0015 ± 0.0003 |
| T-PAW | PROP | 0.05 | 0.5 | 0.544 | 0.511 ± 0.077 | 1.0046 | 1.0046 ± 0.0002 |
| T-PAW | PROP | 0.1 | 0 | 0.298 | 0.295 ± 0.080 | 1.0028 | 1.0029 ± 0.0002 |
| T-PAW | PROP | 0.1 | 0.5 | 0.724 | 0.667 ± 0.071 | 1.0075 | 1.0074 ± 0.0002 |
| T-PAW | EXP | 0.05 | 0 | 2.382 | 2.434 ± 0.053 | 1.0031 | 1.0032 ± 0.0002 |
| T-PAW | EXP | 0.05 | 0.5 | 3.425 | 3.403 ± 0.063 | 1.0054 | 1.0054 ± 0.0002 |
| T-PAW | EXP | 0.1 | 0 | 1.955 | 1.961 ± 0.078 | 1.0043 | 1.0043 ± 0.0002 |
| T-PAW | EXP | 0.1 | 0.5 | 2.800 | 2.805 ± 0.084 | 1.0072 | 1.0071 ± 0.0003 |
| PAH | PROP | 0.05 | - | 17.603 | 17.601 ± 0.009 | 1.0000 | 1.0000 ± 0.0000 |
| PAH | PROP | 0.1 | - | 21.496 | 21.500 ± 0.007 | 1.0000 | 1.0000 ± 0.0000 |
| PAH | EXP | 0.05 | - | 1.523 | 1.524 ± 0.004 | 1.0000 | 1.0000 ± 0.0000 |
| PAH | EXP | 0.1 | - | 3.252 | 3.253 ± 0.005 | 1.0000 | 1.0000 ± 0.0000 |
TABLE VIII: Theory and Monte Carlo (MC) simulation of the relative extra reward and the block redundancy ratio at the optimal attack parameters for , with for PPLNS and for EXP. MC results are the mean and the confidence half-width over 20 independent runs of attack cycles (T-PAW) or rounds (PAH).
APPENDIX E
MONTE CARLO VERIFICATIONS
To verify the analytical expressions, we simulate the attacks directly, without using any of the derivations in Appendices A–D. For T-PAW, we simulate many independent chains of attack cycles in parallel. Each chain follows the cases of Fig. 1 and keeps the state of its pool explicitly: the last W blockworks of pool shares, as a list of segments, for PPLNS; the blockwork of the open round for PROP; and the score of the open round, updated by Lemma 5, for EXP. Every canonical pool block pays the adversary according to the current state. For PROP and EXP, we discard a burn-in of cycles so that the carry is stationary, and for PPLNS, we discard the cycles until the initial window is replaced. For PAH, the rounds are i.i.d. by Lemma 7, hence we simulate them independently. Since the numbers of outside and solo blocks in a round do not affect the following rounds, we replace them with their conditional means given the round length, which keeps the estimator unbiased and reduces its variance. For each case, we use the optimal parameters of Section V for .
Table VIII shows that the simulated RER and agree with the theory. For PAH, the confidence intervals are below , and the theory and the simulation agree to the third digit, e.g., versus under PROP for . For T-PAW, the confidence intervals are wider, since the RER is a small difference between two revenue ratios, , and the reward of a cycle has a large variance. The theory lies within the confidence interval in all cases except PPLNS with , where it lies just outside. Both this deviation as well as the fact that the T-PAW gain is of the same order as the confidence interval for PPLNS and PROP, imply these RER values alone are not a sharp test.
A sharper test is given by the reward fractions in Table IX. The revenue ratios of T-PAW depend on the payout scheme only through , hence the scheme-dependent part of
| Attack | Scheme | β | γ | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Theory | MC | Theory | MC | Theory | MC | Theory | MC | ||||
| T-PAW | PPLNS | 0.05 | 0 | 0.0323 | 0.0323 ± 0.0000 | 0.0795 | 0.0795 ± 0.0001 | 0.0488 | 0.0486 ± 0.0002 | 0.0480 | 0.0478 ± 0.0003 |
| T-PAW | PPLNS | 0.05 | 0.5 | 0.0615 | 0.0615 ± 0.0000 | 0.1403 | 0.1404 ± 0.0002 | 0.0819 | 0.0818 ± 0.0001 | 0.0803 | 0.0801 ± 0.0003 |
| T-PAW | PPLNS | 0.1 | 0 | 0.0334 | 0.0334 ± 0.0000 | 0.0821 | 0.0821 ± 0.0001 | 0.0499 | 0.0499 ± 0.0001 | 0.0482 | 0.0482 ± 0.0002 |
| T-PAW | PPLNS | 0.1 | 0.5 | 0.0591 | 0.0591 ± 0.0000 | 0.1365 | 0.1364 ± 0.0001 | 0.0785 | 0.0785 ± 0.0001 | 0.0755 | 0.0755 ± 0.0002 |
| T-PAW | PROP | 0.05 | 0 | 0.0607 | 0.0607 ± 0.0000 | 0.1288 | 0.1289 ± 0.0004 | 0.0977 | 0.0975 ± 0.0008 | 0.5000 | 0.5000 ± 0.0000 |
| T-PAW | PROP | 0.05 | 0.5 | 0.0989 | 0.0989 ± 0.0000 | 0.2144 | 0.2148 ± 0.0006 | 0.1552 | 0.1554 ± 0.0003 | 0.5000 | 0.5000 ± 0.0000 |
| T-PAW | PROP | 0.1 | 0 | 0.0525 | 0.0524 ± 0.0000 | 0.1109 | 0.1110 ± 0.0002 | 0.0849 | 0.0849 ± 0.0004 | 0.3333 | 0.3333 ± 0.0000 |
| T-PAW | PROP | 0.1 | 0.5 | 0.0786 | 0.0786 ± 0.0000 | 0.1735 | 0.1737 ± 0.0003 | 0.1260 | 0.1260 ± 0.0001 | 0.3333 | 0.3333 ± 0.0000 |
| T-PAW | EXP | 0.05 | 0 | 0.1750 | 0.1750 ± 0.0000 | 0.3798 | 0.3798 ± 0.0000 | 0.2943 | 0.2945 ± 0.0006 | 0.5000 | 0.5000 ± 0.0000 |
| T-PAW | EXP | 0.05 | 0.5 | 0.2087 | 0.2087 ± 0.0000 | 0.4271 | 0.4271 ± 0.0000 | 0.3404 | 0.3402 ± 0.0003 | 0.5000 | 0.5000 ± 0.0000 |
| T-PAW | EXP | 0.1 | 0 | 0.1135 | 0.1135 ± 0.0000 | 0.2553 | 0.2553 ± 0.0000 | 0.1951 | 0.1951 ± 0.0003 | 0.3333 | 0.3333 ± 0.0000 |
| T-PAW | EXP | 0.1 | 0.5 | 0.1351 | 0.1351 ± 0.0000 | 0.2877 | 0.2877 ± 0.0000 | 0.2260 | 0.2260 ± 0.0002 | 0.3333 | 0.3333 ± 0.0000 |
| PAH | PROP | 0.05 | - | 0.3630 | 0.3630 ± 0.0000 | - | - | - | - | - | - |
| PAH | PROP | 0.1 | - | 0.2298 | 0.2298 ± 0.0000 | - | - | - | - | - | - |
| PAH | EXP | 0.05 | - | 0.0808 | 0.0808 ± 0.0000 | - | - | - | - | - | - |
| PAH | EXP | 0.1 | - | 0.0678 | 0.0678 ± 0.0000 | - | - | - | - | - | - |
TABLE IX: Theory and Monte Carlo (MC) simulation of the reward fractions at the optimal attack parameters, with the same setting as Table VIII. For PAH, the first column gives the expected adversarial fraction of a pool block. A dash marks an event that does not occur at the optimum.
the analysis can be verified through these fractions alone. They are averages over many pool blocks, thus their confidence intervals are much smaller. The theory and the simulation agree to the fourth digit for every scheme, including the effect of the carry under PROP and EXP, e.g., versus under PROP for . Under PPLNS, the simulated and are slightly below the theory, by at most . At the optimum, , hence the pool block of the fork race is paid exactly under PROP and EXP, since it closes a fresh round. Finally, the simulated of PAH matches the theory in every case, which verifies Theorem 4 and the blockwork age argument of Lemma 7.
REFERENCES
[1] S. Nakamoto, “Bitcoin: A peer-to-peer electronic cash system,” https://bitcoin.org/bitcoin.pdf, March 2008.
[2] M. Rosenfeld, “Analysis of bitcoin pooled mining reward systems,” 2011. [Online]. Available: https://arxiv.org/abs/1112.4980
[3] I. Eyal and E. G. Sirer, “Majority is not enough: Bitcoin mining is vulnerable,” Communications of the ACM, vol. 61, no. 7, p. 95–102, July 2018.
[4] N. T. Courtois and L. Bahack, “On subversive miner strategies and block withholding attack in bitcoin digital currency,” 2014. [Online]. Available: https://arxiv.org/abs/1402.1718
[5] L. Luu, R. Saha, I. Parameshwaran, P. Saxena, and A. Hobor, “On power splitting games in distributed computation: The case of bitcoin pooled mining,” in IEEE CSF, July 2015.
[6] A. Sapirshtein, Y. Sompolinsky, and A. Zohar, “Optimal selfish mining strategies in bitcoin,” in Springer FC, 2017.
[7] K. Nayak, S. Kumar, A. Miller, and E. Shi, “Stubborn mining: Generalizing selfish mining and combining with an eclipse attack,” in IEEE EuroS&P, March 2016.
[8] K. A. Negy, P. R. Rizun, and E. G. Sirer, “Selfish mining re-examined,” in Springer FC, 2020, pp. 61–78.
[9] R. Qin, Y. Yuan, and F.-Y. Wang, “Optimal block withholding strategies for blockchain mining pools,” IEEE Transactions on Computational Social Systems, vol. 7, no. 3, pp. 709–717, 2020.
[10] I. Eyal, “The miner’s dilemma,” in IEEE S&P, May 2015.
[11] Y. Kwon, D. Kim, Y. Son, E. Vasserman, and Y. Kim, “Be selfish and avoid dilemmas: Fork after withholding (faw) attacks on bitcoin,” in ACM SIGSAC CCS, October 2017.
[12] S. Gao, Z. Li, Z. Peng, and B. Xiao, “Power adjusting and bribery racing: Novel mining attacks in the bitcoin system,” in ACM SIGSAC CCS, November 2019.
[13] M. Doger and S. Ulukus, “Temporary power adjusting withholding attack,” 2026. [Online]. Available: https://arxiv.org/abs/2604.14135
[14] D. Lee and W. Lee, “Return to dilemma: A novel block withholding attack on pow-based blockchains,” IEEE Transactions on Computational Social Systems, vol. 12, no. 6, pp. 4141–4152, 2025.
[15] C. Grunspan and R. Pérez-Marco, “Profit lag and alternate network mining,” in Springer MARBLE, 2023, pp. 115–132.
[16] S.-Y. Chang, Y. Park, S. Wuthier, and C.-W. Chen, “Uncle-block attack: Blockchain mining threat beyond block withholding for rational and uncooperative miners,” in ACNS. Springer-Verlag, June 2019, p. 241–258.
[17] J. Wang and Z. Wang, “Efaw: a new mining attack model combining faw attacks with the eclipse attack,” Journal of Surveillance, Security and Safety, vol. 4, no. 4, pp. 180–195, 2023.
[18] Z. Yang, C. Yin, J. Ke, T. T. A. Dinh, and J. Zhou, “If you can’t beat them, pay them: Bitcoin protection racket is profitable,” in ACM ACSAC, December 2022, p. 727–741.
[19] J. Hu and N. Ruan, “Bm-paw: A profitable mining attack in the pow-based blockchain system,” in Blockchain and Trustworthy Systems, 2026, pp. 3–17.
[20] H. Zhu, X. Chang, J. Mišić, V. B. Mišić, and R. Yang, “Revisiting faw attack in an imperfect pow blockchain system,” Peer-to-Peer Networking and Applications, vol. 15, no. 5, pp. 2430–2443, Sep 2022.
[21] M. Doger and S. Ulukus, “All-out attack: Optimal block withholding under pay-per-share scheme,” 2026. [Online]. Available: https://arxiv.org/abs/2607.01209
[22] L. Liu, W. Chen, L. Zhang, J. Liu, and J. Qin, “A type of block withholding delay attack and the countermeasure based on type-2 fuzzy inference,” Mathematical Biosciences and Engineering, vol. 17, no. 1, pp. 309–327, 2020.
[23] S. Zhu, W. Li, H. Li, C. Hu, and Z. Cai, “A survey: Reward distribution mechanisms and withholding attacks in bitcoin pool mining,” Mathematical Foundations of Computing, vol. 1, no. 4, pp. 393–414, 2018.
[24] Raulo, “Optimal pool abuse strategy,” 2011, [Online]. Available: http://bitcoin.atspace.com/poolcheating.pdf.
[25] M. Belotti, S. Kirati, and S. Secci, “Bitcoin pool-hopping detection,” in IEEE RTSI, 2018. [Online]. Available: https://cedric.cnam.fr/~seccis/papers/BeKiSe-RTSI18.pdf
[26] E. Cortesi, F. Bruschi, S. Secci, and S. Taktak, “A new approach for bitcoin pool-hopping detection,” Computer Networks, vol. 205, p. 108758, 2022.
[27] N. Tovanich, N. Soulié, N. Heulot, and P. Isenberg, “An empirical analysis of pool hopping behavior in the bitcoin blockchain,” in IEEE ICBC, 2021, pp. 1–9.
[28] O. Schrijvers, J. Bonneau, D. Boneh, and T. Roughgarden, “Incentive compatibility of bitcoin mining pool reward functions,” in Springer FC, 2016, pp. 477–498.
[29] Y. Zolotavkin, J. García, and C. Rudolph, “Incentive compatibility of pay per last n shares in bitcoin mining pools,” in Decision and Game Theory for Security, 2017, pp. 21–39.
[30] P. Lazos, F. Marmolejo-Cossfo, X. Zhou, and J. Katz, “Rpplns: Pay-per-last-n-shares with a randomised twist,” in AAMAS, 2021, p. 1569–1571.
[31] S.-Y. Chang, “Share withholding attack in blockchain mining: Technical report,” 2020. [Online]. Available: https://arxiv.org/abs/2008.13317
[32] J. Chen and L.-Y. Wu, “Optimizing reward mechanism in pay-per-last-n-shares mining pools under block withholding attacks,” Blockchain: Research and Applications, p. 100540, 2026.
[33] P2Pool, “P2Pool: Decentralized Monero mining pool, pool statistics,” https://web.archive.org/web/20261008010810/https://p2pool.io/, 2026, archived snapshot, October 8, 2026.
[34] S. Chernykh, “P2Pool v3.0 release notes: Dynamic PPLNS window,” GitHub release, https://github.com/SChernykh/p2pool/releases/tag/v3.0, 2023, hardfork of March 18, 2023: PPLNS window targeted to 2 Monero blocks (2 payouts) per share on average.
[35] “Comparison of mining pools,” BitcoinWiki, revision 11312, section “Reward types”, entry “Score”. Accessed: 2026-10-20. [Online]. Available: https://bitcoinwiki.org/index.php?title=Comparison_of_mining_pools&oldid=11312
[36] S. Asmussen, Applied Probability and Queues, 2nd ed., ser. Stochastic Modelling and Applied Probability. New York, NY: Springer, 2003, vol. 51.