This PR introduces a CChain
object for the headers chain. It allows to better inspect the headers chain (things like reorg detection). It would simplify a lot of things for a possible light client (SPV) mode.
Slightly improves the headers-chain fork reporting in getchaintips
.