Can difficulty target by exploited by miner with proprietary computer?

1

Assume a hypothetical situation where a researcher was able to develop a computer capable of 2,000 PH/s (the current network hashrate). During his first 2 weeks of mining, he would strike it rich as he would win 50% of block generations with 5 minutes per block.

After 2 weeks, the difficulty target would readjust, and this miner would no longer have an advantage.

However, for this next 2 week period, the miner sits out, waits 2 more weeks, and allows the network to re-adjust back to a higher target, at which point he re-enters and sweeps the rewards once more.

He repeats this cycle in perpetuity.

A solo miner with 2,000 PH/s seems infeasible, but what if a powerful mining pool were to pull this stunt — withdraw from mining for 2 weeks, allow for the difficulty target to re-adjust, and re-enter with a much easier difficulty?

Snowman

Posted 2016-09-03T03:42:22.897

Reputation: 171

I think you're mistaken. If the miner's own hash rate is equal to the combined rate of the rest of the network, that miner will on average take half the blocks, regardless of how the difficulty changes. Also, keep in mind that difficulty changes by at most a factor of 2 each 2016 blocks (if I recall correctly), so there won't be swings as dramatic as you seem to be suggesting.Nate Eldredge 2016-09-03T05:30:07.117

The maximum change is a factor 0.25 or 4.Pieter Wuille 2016-09-03T08:58:34.520

Answers

2

No, for two reasons:

  1. His advantage is always the same. If he has 50% of the mining power, he makes 50% of the revenue when he's mining and 0% when he's not. The difficulty does not change this.

  2. In the on/off scheme, when he's mining, blocks are being found twice as quickly. So the difficulty adjustment comes twice as fast. When he stops mining, he has to wait twice as long for the difficulty to drop, so he's mining less than half the time. By forcing the difficulty up and then not mining, he has to wait an awfully long time before it comes back down -- during all that time, his mining hardware is depreciating.

I am assuming that the only thing he does is mine or not mine. I'm ignoring the possibility that he attempts to force reorganizations or does other "bad" things.

David Schwartz

Posted 2016-09-03T03:42:22.897

Reputation: 46 931

Ah ok, I forgot to consider that difficulty changes happen every 2016 blocks, and not hardcoded to every 2 weeks.Snowman 2016-09-03T14:38:31.133

I understand the 2nd point, but not quite about the first. What did you mean by "he makes 50% of the revenue"? I think you meant he made 50% of the revenue statistically - say, if mining 10 blocks, he has 50% chance to mine 5 of them, hence 50% of the total revenue of the 10 blocks. Am I right?yaobin 2018-10-17T00:43:31.767

@yaobin Yes, precisely. While mining honestly, with 50% of the mining power, he gets 50% of the available mining reward.David Schwartz 2018-10-17T02:03:23.807