Some progress, we have found the issue for the blockchain sticking at block 472,474 but it now gets stuck at block 590,436 with the same error as before though the cause will be different as the previous issue is now resolved.
Also client version now displays correctly locally in the GUI.Peter spotted the issue where it got stuck previously, thought we were going to get a full sync but it stopped three weeks short. Adding additional logging to both 2.6 and 2.7 now.
Old clients were notoriously problematic like that but the 2.7 client will sync much better. The issue here is to do with the client rejecting a valid block for an invalid stake target.The block header sync completes fine with the whole chain, just whole block validation that fails.
We need to compare the values being used to compute the target and see where they differ between 2.6 and 2.7.We now have added the same level of debugging to CheckStakeKernelHash in 2.6 and are waiting for it to sync to the same point that 2.7 fails to see the output.
Also adding additional logging directly into the CheckStakeKernelHash function to see the state of every variable used to computer the PoS target.Will use git to compare diffs and presume that there will be a noticeable difference between variables in 2.6 and 2.7 as the CheckStakeKernelHash function is not the same as they cannot be the same due to the large differences between the codebases.