Skip to content

Version 2.3.1

Compare
Choose a tag to compare
@Bitc2org Bitc2org released this 04 Nov 06:39
· 13 commits to master since this release

Version 2.3.1 change log:
These two bugs were introduced by v.2.3 and fixed in this version:

  • When a node's adjusted clock was off, which can be caused by peers, then that node could easily have rejected valid blocks that it thought had a timestamp too far in the future, causing it to fork off to its own chain if the node created a block afterwards. This was fixed by changing to check if the node's own clock OR the adjusted clock can accept the block from now on.
  • Fixed an uninitialized staking related variable that sometimes caused staking to fail or other erratic behavior, such as crashing.

Other changes:

  • Added cs_main locks that were missing and that could have caused multi-threading related erratic behavior, such as crashing.
  • Increased logging especially if debug mode is on.
  • When creating new blocks, the staking algorithm now trusts the computer's own clock instead of the adjusted clock that can be affected by peers.
  • Removed obsolete v2 staking code.
  • Limit worst peers adjusting time.
  • Added a second check against invalid timestamps.
  • Added -maxtimeadjustment variable. It is recommended to set maxtimeadjustment=0 at bitcoin2.conf if you trust that your computer's clock is accurate to the second. Thus you trust your computer's clock and don't accept adjustments from peers.
  • Miner optimization, including reducing the number of stale blocks created.

Updating your desktop Bitcoin 2 Core wallet or masternode to this version is optional if you already had the v.2.3 or newer, but it is highly recommended, especially if you are staking or your node has crashed after November 1 2020.