Merge #10279: Add a CChainState class to validation.cpp to take another step towards...