Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: explain the bugs fixed with 0.16.3 version
by
bones261
on 22/09/2018, 13:52:11 UTC
⭐ Merited by seoincorporation (1)
Please explain to me in simple word, what the important bug fixed with the new version could have done?

Plus I would like to know if the clone coins that basically copy paste the wallet code could be effected by the old bug.


Thank you very much

Any clone coin which forked off of Bitcoin core 0.14.x through 0.16.2, is probably affected. This also includes coins that update their code by porting over changes made by Bitcoin Core.
Here is one of the lines of code in the validation.cpp that needed to be patched. ( https://github.com/bitcoin/bitcoin/commit/d1dee205473140aca34180e5de8b9bbe17c2207d?diff=split#diff-24efdb00bfbe56b140fb006b562cc70bL3035 )
 
Bug code:
Code:
if (!CheckTransaction(*tx, state, false))

Patched code:
Code:
if (!CheckTransaction(*tx, state, true))

You may want to go to a particular wallet's/coin's git to see if it's latest update has the buggy line of code in the validation.cpp. However, some wallet/coin devs tend to change the code slightly, so this check might not be foolproof.

I know for sure that Bitcoin ABC (BCH) and Litecoin implemented the patch. However, I am not certain about the 100's of other altcoins out there.