IMPORTANT: Mandatory DigitalNote client and wallet upgrade today (GUI v1.0.16 and v6.0.0 core)

IMPORTANT: Mandatory DigitalNote client and wallet upgrade today (GUI v1.0.16 and v6.0.0 core)

20 Aug 2018

First off please visit our github and download the new GUI or CLI immediately: https://github.com/DigitalNoteXDN/digitalnotewallet/releases for GUI or https://github.com/DigitalNoteXDN/digitalnote/releases for CLI.

DETAILS: There was a bug in the original XDN code that caused the block reward at height 704,000 to increase back to 320,000XDN per block. This update fixes that via a hardfork at height 704,614 and also applies a small fix to our difficulty adjustment algo (LWMA2). This is a MANDATORY upgrade, please upgrade immediately!

The bug became apparent today and has been around ever since XDN's conception. The old Minergate chain will suffer the same problem without anyone to fix it. Essentially the block reward was being bit shifted and at block 704,000 when the height was divided by 11,000 (halving interval) the reward was shifted by 64 bits, bringing it to 320,000 XDN. If left as is the remaining amount of XDN would be mined within 7.2 days. If there were more supply then the supply would half again to 160,000 XDN, then 80,000XDN, etc etc just like in the beginning of the coin's history. This was the result of the specific method used by the original dev to formulate the block reward (bitshifting) which overlooked future issues. You can examine the tech details for yourself in the old version of currency.cpp in the baseRewardFunction (https://github.com/DigitalNoteXDN/digitalnote/blob/89ee0e1d1e4febb1b9337390fd1bb9c39b1b744c/src/CryptoNoteCore/Currency.cpp#L106). Here is a breakdown of how the code was acting: https://media.discordapp.net/attachments/469469144329224203/480764390056919040/unknown.png and another photo showing that it is basically a recycle of the initial distribution of the coin https://media.discordapp.net/attachments/469469144329224203/480763752682094592/unknown.png?width=725&height=589

Although this is an unfortunate occurrence, it would have been very difficult to discover before hand without a full audit of all the previous code. We would love to invite more coders to the development side so we can make this a priority and secure the code in case of future issues. This patch will fix the issue and cause a fork upgrade at height 704,614.

Share this:

All news