dominant-strategies / go-quai

Official Go Implementation of the Quai Network
GNU General Public License v3.0
2.39k stars 466 forks source link

Find special cases in genesis hash mismatches #1902

Open mibuono opened 5 months ago

mibuono commented 5 months ago

If parents = genesis hash -- Need to check all cases?

General overlook of genesis hashes in the system.

Everytime we check a genesis hash we need to check

Make sure we check genesis hash by hash strictly and not by number

The number filter can happen when it's not block 0 - this needs to come before the hash check.

mibuono commented 3 months ago

Go through all special cases and document before we test this. Should be easy to mine these genesis blocks quickly with the new GPU miners.

mibuono commented 2 months ago

Should just check hashes so it extends to working with ontological expansions.

Djadih commented 1 month ago

We'll postpone this fix. It's too risky as we're aware the problem only occurs during expansions (which we are postponing anyway).