Closed ghost closed 5 years ago
This means your blocks do not chain through the prev_hash field
Thanks for getting back to me. The blockchain and native client are running fine. Is it possible that electrumx is reading up a fork and getting confused? I am guessing there's some kind of hard fork that we did which needs to be listed.
Does that error get thrown as soon as one block doesn't match the previous one's hash? I think I'll want to add some more debugging around the main exception and see which block it doesn't like.
It simply means the prev hash links are incorrect - the prev hash isn't the hash of the previous block. So either you're reading the prev hash field incorrectly, or you're calculating the block hash incorrectly.
Thank you!
Looks like the lyra2z implementation was bad.
https://github.com/LapoLab/lyra2z-py is working fine.
https://github.com/devwarrior777/lyra2z-py has unstable test output, even. Issue 1 talks about that.
Seems to be syncing now. I appreciate your time.
Hi everyone,
We're getting this when running electrumx with GINcoin.
It seems to measure the block height fine (block height number grows, as per the first line). It doesn't seem to fail on any new algorithm boundary (we've had three). I've added some debug logging lines to the header_hash() class override and I'm seeing lyra2z and neoscrypt just fine. Never makes it to x16rt. Seems like we're the only consumer of x16rt and lyra2z. Wondering if the issue might be in the lyra2z library, or if it was do you think it would throw a different error?.
Thank you for your time. Would appreciate any pointers on where to look next.
Sincerely,
Teran