We currently don't check for forks and there is no reorg handling. Even though it's unlikely to happen with chainlocks, we probably should have it integrated at some point. There was an unused implementation which be used as reference or can be recovered from: