vertcoin-project / vertcoin-core

A digital currency with mining decentralisation and ASIC resistance as a key focus
https://vertcoin.org
MIT License
350 stars 134 forks source link

Header sync fails in builds produced using glibc 2.35 #255

Open vertiond opened 9 months ago

vertiond commented 9 months ago

Headers fail to sync past block 346999 (last block of Lyra2RE) on v23.2 when built in environments using glibc 2.35 such as Ubuntu 22.04.

2023-12-21T03:27:16Z AcceptBlockHeader: Consensus::CheckBlockHeader: 7c9c6fe9b3971c66e1ae7a27ac9fba96fb5a036fe50711038e43f9cd1901d8ab, high-hash, proof of work failed 2023-12-21T03:27:16Z Misbehaving: peer=14 (0 -> 100) DISCOURAGE THRESHOLD EXCEEDED: invalid header received 2023-12-21T03:27:16Z Warning: not punishing manually connected peer 14!

Build environments such as Guix (used for release builds) and Ubuntu 18.04 (used in VTCDocker) contain glibc 2.27 and are unaffected by this issue.

These are environments and glibc versions which I have personally tested. This issue may persist on other versions of glibc.