<p>Litecoin is a fork of Bitcoin Core, and uses the same difficulty adjustment period (2016 blocks), which on Litecoin is 3.5 days because the block time is 2.5 minutes instead of 10.  See <a href="https://github.com/litecoin-project/litecoin/blob/master/src/chainparams.cpp#L85" rel="nofollow noreferrer">chainparams.cppL#85</a>:</p>

<pre><code>consensus.nPowTargetTimespan = 3.5 * 24 * 60 * 60; // 3.5 days
consensus.nPowTargetSpacing = 2.5 * 60;
</code></pre>

CC BY-SA 4.0
2018-10-05T02:51:06.170Z
2018-10-05T12:09:39.667Z
2018-10-05T12:09:39.667Z
JBaczuk
<p>Bitcoin creates 2016 blocks, and if the average time of 2016 blocks is less than 10 minutes, the difficulty increases. If it is more than 10 minutes, the difficulty decreases.</p>

<p>How does the Litecoin mining difficulty get adjusted?</p>

CC BY-SA 4.0
2018-10-07T01:26:09.627Z
It is actually 2016 blocks in Bitcoin per difficulty retargeting. (The first block is not accounted for due to an off-by-one error)
Mason Ticehurst
<litecoin><difficulty-retargetting>
How does the Litecoin difficulty get calculated?
ASH
# How does the Litecoin difficulty get calculated?

(Asked by: username_0 on 2018-10-05)

Bitcoin creates 2016 blocks, and if the average time of 2016 blocks is less than 10 minutes, the difficulty increases. If it is more than 10 minutes, the difficulty decreases.

How does the Litecoin mining difficulty get adjusted?

**Tags:** litecoin, difficulty-retargetting

> **Comments:**
> **username_1**: It is actually 2016 blocks in Bitcoin per difficulty retargeting. (The first block is not accounted for due to an off-by-one error)  

---

## 1 answers

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

Litecoin is a fork of Bitcoin Core, and uses the same difficulty adjustment period (2016 blocks), which on Litecoin is 3.5 days because the block time is 2.5 minutes instead of 10.  See chainparams.cppL#85:
consensus.nPowTargetTimespan = 3.5 * 24 * 60 * 60; // 3.5 days
consensus.nPowTargetSpacing = 2.5 * 60;


---

