<blockquote>
  <p>What if the (global) hashrate doubles overnight? </p>
</blockquote>

<p>Then blocks take five minutes instead of ten.  And continues to do so over the next days until the difficulty adjusts, and then it is right back to one block every ten minutes.</p>

<blockquote>
  <p>What if it quadruples?</p>
</blockquote>

<p>Then blocks take two and a half minutes instead of ten.  And continues to do so over the next few days until the difficulty adjusts, and then it is right back to one block every ten minutes.</p>

<p>Now I see where you are going with this.  Let's say it goes up an order of magnitude (10X). Well, blocks will fly by about once a minute and in less than 48 hours difficulty will readjust but it the algorithm tops out at a maximum 4X increase per adjustment period.  So the resulting blocks after the adjustment will be solved at about once every four minutes -- until less than a week later when the next adjustment period takes it back to once every ten minutes.</p>

<p>i.e., This isn't a problem that the Bitcoin network can't handle.</p>

<p>There will of course be a few more orphans, but they won't generally be extended very far.  Orphans already happen regularly with a decentralized architecture like Bitcoin.  And other than the miner or pool who was prematurely celebrating, orphaned blocks don't pose a problem.  Merchants accepting on 0/unconfirmed or even less than two confirmations might want to be more vigilant when ASICs first start hitting, but there aren't very many merchants who do accept on unconfirmed transactions today.</p>

CC BY-SA 3.0
2012-10-03T20:02:13.770Z
2012-10-03T20:02:13.770Z
Stephen Gornick
<p>If the average time to find a block is T, and the typical time for a found block to propagate in the network is t, then the proportion of orphans among all blocks will be roughly 1/(1+T/t). As long as T>t there's not much risk for the network; however it could be a challenge for orphan-paying pools, for example If T=9t then 10% of the block rewards will need to be paid out of pocket.</p>

<p>If a PPS pool pays B/D per share, it is in fact using an artificially low difficulty - the difficulty metric measures how hard it is to find a block (orphan or not), when in fact what is relevant for calculating the due reward is how difficult it is to find a valid block.</p>

<p>If the network hashrate increases by a factor of X, then until difficulty catches up the average time for finding a block is (10 min)/X. I doubt the transition to ASIC will cause a discrepancy by a factor of over 10; this would give T = 1 min. With a conservative value of t=5 sec you will get about 7.7% loss for paying orphans. The actual numbers for both X and t will likely be much less (especially since concentrated hashrate lowers t), so I don't think the loss during the transition period will be prohibitive.</p>

CC BY-SA 3.0
2012-10-03T21:47:15.723Z
2012-10-03T21:47:15.723Z
Meni Rosenfeld
<p>Difficulty always lags behind a little. It is also limited in how large adjustments it makes each time. What if the (global) hashrate doubles overnight? What if it quadruples?</p>

<p>How much can we expect the orphan rate to go up? By orphans I mean blocks on a block chain fork other than the main chain (longest chain).</p>

<p>How large would the losses then be for PPS pools and other pools that pay for orphaned work, before the difficulty catches up?</p>

<p>What about a solo miner? What about P2pool? In both cases many of the miners may not be well connected to other block generating nodes on the bitcoin peer-to-peer network.</p>

<p>Perhaps there is useful information available from alt coins that have gone through something similar or just have a higher rate of block generation.</p>

<p>The question is of course motivated by the imminent shipment of ASIC-based mining equipment with hashpower that will dwarf anything seen so far. If you do an estimate, feel free to use any numbers you feel are realistic. I have no idea what amount of ASICs are currently going into production. The question could also apply to next generation ASICs, quantum computing or weaknesses that may be found in the SHA-256 hashing algorithm.</p>

<blockchain><mining-theory><network><hashpower><stale-block>
How will a massive increase in hashpower affect orphan rates?
Dr.Haribo
# How will a massive increase in hashpower affect orphan rates?

(Asked by: username_0 on 2012-10-03)

Difficulty always lags behind a little. It is also limited in how large adjustments it makes each time. What if the (global) hashrate doubles overnight? What if it quadruples?

How much can we expect the orphan rate to go up? By orphans I mean blocks on a block chain fork other than the main chain (longest chain).

How large would the losses then be for PPS pools and other pools that pay for orphaned work, before the difficulty catches up?

What about a solo miner? What about P2pool? In both cases many of the miners may not be well connected to other block generating nodes on the bitcoin peer-to-peer network.

Perhaps there is useful information available from alt coins that have gone through something similar or just have a higher rate of block generation.

The question is of course motivated by the imminent shipment of ASIC-based mining equipment with hashpower that will dwarf anything seen so far. If you do an estimate, feel free to use any numbers you feel are realistic. I have no idea what amount of ASICs are currently going into production. The question could also apply to next generation ASICs, quantum computing or weaknesses that may be found in the SHA-256 hashing algorithm.

**Tags:** blockchain, mining-theory, network, hashpower, stale-block


---

## 2 answers

### Answer by username_2 on 2012-10-03. Score: 7 | Accepted answer

If the average time to find a block is T, and the typical time for a found block to propagate in the network is t, then the proportion of orphans among all blocks will be roughly 1/(1+T/t). As long as T>t there's not much risk for the network; however it could be a challenge for orphan-paying pools, for example If T=9t then 10% of the block rewards will need to be paid out of pocket.

If a PPS pool pays B/D per share, it is in fact using an artificially low difficulty - the difficulty metric measures how hard it is to find a block (orphan or not), when in fact what is relevant for calculating the due reward is how difficult it is to find a valid block.

If the network hashrate increases by a factor of X, then until difficulty catches up the average time for finding a block is (10 min)/X. I doubt the transition to ASIC will cause a discrepancy by a factor of over 10; this would give T = 1 min. With a conservative value of t=5 sec you will get about 7.7% loss for paying orphans. The actual numbers for both X and t will likely be much less (especially since concentrated hashrate lowers t), so I don't think the loss during the transition period will be prohibitive.


---

### Answer by username_1 on 2012-10-03. Score: 4

> What if the (global) hashrate doubles overnight?

Then blocks take five minutes instead of ten. And continues to do so over the next days until the difficulty adjusts, and then it is right back to one block every ten minutes.

> What if it quadruples?

Then blocks take two and a half minutes instead of ten. And continues to do so over the next few days until the difficulty adjusts, and then it is right back to one block every ten minutes.

Now I see where you are going with this. Let's say it goes up an order of magnitude (10X). Well, blocks will fly by about once a minute and in less than 48 hours difficulty will readjust but it the algorithm tops out at a maximum 4X increase per adjustment period. So the resulting blocks after the adjustment will be solved at about once every four minutes -- until less than a week later when the next adjustment period takes it back to once every ten minutes.

i.e., This isn't a problem that the Bitcoin network can't handle.

There will of course be a few more orphans, but they won't generally be extended very far. Orphans already happen regularly with a decentralized architecture like Bitcoin. And other than the miner or pool who was prematurely celebrating, orphaned blocks don't pose a problem. Merchants accepting on 0/unconfirmed or even less than two confirmations might want to be more vigilant when ASICs first start hitting, but there aren't very many merchants who do accept on unconfirmed transactions today.


---

