github karlsen-network/karlsend v2.2.0

15 days ago

Mandatory Update

Critical bug fix for difficulty adjustment after hardfork block.

Summary

We've recently realized that our previous method for difficulty adjustment isn't sufficient when a hardfork occurs, especially if the hashrate drops significantly. Normally, the default difficulty adjustment window spans 2641 blocks, which are used to calculate the target difficulty. Previously, we reset the difficulty for the first 10 blocks following a hardfork, but by block 11, the difficulty reverted to almost the same level as before the hardfork. This situation necessitates rebuilding all releases, making it a mandatory update. Although this remains a single hardfork since we are still before the HF DAA score of 26962009.

Changes

  • Adjust difficulty managment between rusty and golang nodes during the first block window c7ac35d 8cb5eb9
  • fix for integration test diff manager signature f118156
  • difficulty adjustment window fix 9806d63
  • Hardfork in devnet and simnet after the difficulty adjustment window 3d0201b
  • Fix simnet pruning test eebcf69
  • Version bump 54f6d23

Thanks

Thanks to everyone who directly contributed to this release:

Don't miss a new karlsend release

NewReleases is sending notifications on new releases.