<h1>How to lower difficulty on blockchain?</h1>

<blockquote>
  <p>The problem now is, sometimes some user create pools and use rented mining rigs to mine on my coin. But after a while they stop and my blockchain stucks at a certain block. </p>
</blockquote>

<p>You could include in your expected difficulty calculation a factor of time, where say, for example, every 10 minutes since expected next block time (supposing you have a ten minute average block time) the expected difficulty is lowered by a factor, say divided by 2.</p>

<p>The problem with this method is that it may allow cheating unless you also carefully control network time. If it is not carefully managed then a cheat could submit a block with a future time and a lower difficulty.</p>

CC BY-SA 3.0
2018-03-10T02:58:31.127Z
2018-03-10T02:58:31.127Z
Willtech
<p>This is not a permanent solution, but you could try organising a fork in which you manually raise the target value. I doubt that this will protect your alt-chain for long though.</p>

<p>You may find a longer term solution with <a href="https://bitcoin.stackexchange.com/questions/273/how-does-merged-mining-work">merged mining</a>.</p>

CC BY-SA 3.0
2018-01-07T15:57:32.773Z
But I could mine with my home pc's for a longer time and it will generate the block after a while? lets say the network h/s drops from 15 mh/s to about 15 kh/s.
Mr. 0x50
CC BY-SA 3.0
2018-01-07T16:01:25.493Z
It won't really matter how you raise the target value, because it is likely you'll encounter the same problem again in the future. Implementing a merged mining solution could prevent this from occurring again.
Matthew Stannard
CC BY-SA 3.0
2018-01-07T15:53:22.420Z
2018-01-07T16:55:33.603Z
2018-01-07T16:55:33.603Z
Matthew Stannard
<p>I created a coin (hexco.in)</p>

<p>The problem now is, sometimes some user create pools and use rented mining rigs to mine on my coin. But after a while they stop and my blockchain stucks at a certain block. </p>

<p>My question now is, how can I solve this problem? I only have a homserver and a raspi2 running as mining service 24/7 for my coin and a seednode running 24/7.</p>

CC BY-SA 3.0
2018-01-07T15:55:03.490Z
Is there a specific use case which your blockchain addresses?
Matthew Stannard
CC BY-SA 3.0
2018-01-07T15:55:53.813Z
sorry I don't understand your question
Mr. 0x50
CC BY-SA 3.0
2018-01-07T15:57:51.577Z
Did you create your alt-chain to solve a specific problem?
Matthew Stannard
CC BY-SA 3.0
2018-01-07T16:00:18.160Z
no not that really. I just want to test the blockchain tech and maybe it will be a good tech for a future project :)
Mr. 0x50
<blockchain><difficulty>
How to lower difficulty on blockchain?
Mr. 0x50
# How to lower difficulty on blockchain?

(Asked by: username_0 on 2018-01-07)

I created a coin (hexco.in)

The problem now is, sometimes some user create pools and use rented mining rigs to mine on my coin. But after a while they stop and my blockchain stucks at a certain block.

My question now is, how can I solve this problem? I only have a homserver and a raspi2 running as mining service 24/7 for my coin and a seednode running 24/7.

**Tags:** blockchain, difficulty

> **Comments:**
> **username_1**: Is there a specific use case which your blockchain addresses?  
> **username_0**: sorry I don't understand your question  
> **username_1**: Did you create your alt-chain to solve a specific problem?  
> **username_0**: no not that really. I just want to test the blockchain tech and maybe it will be a good tech for a future project :)  

---

## 2 answers

### Answer by username_2 on 2018-03-10. Score: 1

# How to lower difficulty on blockchain?

> The problem now is, sometimes some user create pools and use rented mining rigs to mine on my coin. But after a while they stop and my blockchain stucks at a certain block.

You could include in your expected difficulty calculation a factor of time, where say, for example, every 10 minutes since expected next block time (supposing you have a ten minute average block time) the expected difficulty is lowered by a factor, say divided by 2.

The problem with this method is that it may allow cheating unless you also carefully control network time. If it is not carefully managed then a cheat could submit a block with a future time and a lower difficulty.


---

### Answer by username_1 on 2018-01-07. Score: 0

This is not a permanent solution, but you could try organising a fork in which you manually raise the target value. I doubt that this will protect your alt-chain for long though.

You may find a longer term solution with [merged mining](https://bitcoin.stackexchange.com/questions/273/how-does-merged-mining-work).

> **Comments:**
> **username_0**: But I could mine with my home pc's for a longer time and it will generate the block after a while? lets say the network h/s drops from 15 mh/s to about 15 kh/s.  
> **username_1**: It won't really matter how you raise the target value, because it is likely you'll encounter the same problem again in the future. Implementing a merged mining solution could prevent this from occurring again.  

---

