ProjectIxian/Ixian-source

Difficulty calculation

Closed this issue · 2 comments

Due to the way current hashrate is estimated, the difficulty for PoW solutions can grow disproportionately. (The positive error in hashrate is 'accumulated' into each next predicted hashrate, thus quickly raising the difficulty.)

The fix is being worked upon and should be committed sometime in the next day or so, but it will not be activated until 0.6 and block version v2.

There are still some strange issues even with v2 smoothing.
Looking into a different algorithms for this calculation.

Fixed in 630a0a3
with minor corrections in 7d92296 and cae5eed .

The adjustment looks OK for now, but will continue to monitor it via the block explorer.