How is the difficulty calculated?



  • Can someone explain to me why the difficulty rate went from 3050 to 3456 when the hash rate has not increased???

    Difficulty 3,456 TH
    Estimated Hashrate 6,236 GH/s

    If anything, it has gone down from a hash rate of 6,400. So why has the difficulty gone up at all???

    Coins per day dropped from 32,500 to like 29,500 for what appears no reason. Can we get an explanation. Thanks.


  • Global Moderator

    If the Sia client sees that blocks are being generated too quickly (less than 10 minutes per block) it increases the difficulty to make up for the excess blocks that were generated.

    As for the block reward, it drops with 1 SC every block. So it's only natural that the coins per day went down. It will stop dropping after block 270000, from there on the blocks will always have a 30000 SC block reward, but that's still far away.



  • @Fornax

    If the hash rate has not increased it makes no sense that the block time would change and therefore the difficulty... I was referring to the number of blocks you mine a day based on the mining calculator. At the new difficulty the number has gone down by almost 10%. Coins per day was based on my hash rate and what I was receiving. The estimated hash rate listed in SIA Explorer had NOT changed. If anything it was lower. I am well aware that the number of coins you get per block goes down by 1 after each mined block.


  • admins

    @jdc4429: the 'estimated hashrate' is based on the past 200 blocks while the difficulty adjustment is based on the past 1000 blocks, which means that sometimes the difficulty can increase while the estimated hashrate decreases.



  • @Taek

    Why would they not be the same? Doesn't that screw up the block timing? Causing more of a shift/surge then needed? Why not just go by the reported hash rate from the mining application and make it real time for the hash rate?

    Thank you for the answer BTW. Just doesn't make sense to me. :)



  • @jdc4429

    Quick answer:

    It would be too easy to manipulate the difficulty if you only went by the last 200 blocks.

    Bring in a ton of hashing power, the diff jumps very high, the miners switch coins. No you are left with a very high difficulty and less network hashing power. This brings your block times to be slower than expected. (IIRC, a few alt coins experienced this back in the day.)

    The opposite could also happen. Difficulty is high, and the value of the coin plummets. The miners chase another coin. Difficulty drops significantly. Miners come back. Well now blocks are ahead of schedule until the difficulty is adjusted.

    --
    SiaMining.com -- Your PPS Sia Pool.
    I'm not affiliated or work on the Sia/Nebulous team.

    0


  • @xurious

    Ah, thanks for the info. So your saying that it benefits the miners that stay mining and hurts the ones that jump ship all the time?

    So the payout could go up then, not just down? So far I've seen it go down from 72 to 67 to 59 on the pool payout in as many days... Be nice to see it go the other way :)



  • @jdc4429

    Well, seeing as payout per block is going down, and difficulty is going up, I don't think you'll see the payout change in a positive way anytime soon :D

    --
    SiaMining.com -- Your PPS Sia Pool.
    I'm not affiliated or work on the Sia/Nebulous team.

    0


  • @xurious

    Yea, not thinking so either.. But it is possible? Like if the hash rate goes down from people mining another coin you would see the difficulty go down eventually right?


Log in to reply