You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next, we need to fix Lyra2REv2 because with the current code the gcc-11 compiler produces a runtime error (incorrect hash) for this algorithm and thus nodes can't sync. I dealt with this before with a sort of hack in my lm branch: bitmarkcc@cb67862 (see the changes to src/bmw.c). But I think a better solution is to use a different implementation of the BMW hash, at least for lyra2. x17 uses the 512 bit BMW hash and it works fine, so we can leave that as is. The implementation of BMW I found is here: https://github.com/floodyberry/supercop/tree/master/crypto_hash/bmw256/ref and it looks like a reputable repository. The patch that uses this for Bitmark is here: bitmarkcc@f6faae9
The text was updated successfully, but these errors were encountered:
Ubuntu 22 uses gcc-11 as default, and this causes compilation and runtime errors.
In a previous issue I mentioned to notify users that we don't support gcc-11, but now I have a possible solution:
First is to update blake: bitmarkcc@cb67862
The code for this comes from here: https://github.com/BLAKE2/BLAKE2/tree/20190724/ref
Next, we need to fix Lyra2REv2 because with the current code the gcc-11 compiler produces a runtime error (incorrect hash) for this algorithm and thus nodes can't sync. I dealt with this before with a sort of hack in my lm branch: bitmarkcc@cb67862 (see the changes to src/bmw.c). But I think a better solution is to use a different implementation of the BMW hash, at least for lyra2. x17 uses the 512 bit BMW hash and it works fine, so we can leave that as is. The implementation of BMW I found is here: https://github.com/floodyberry/supercop/tree/master/crypto_hash/bmw256/ref and it looks like a reputable repository. The patch that uses this for Bitmark is here: bitmarkcc@f6faae9
The text was updated successfully, but these errors were encountered: