Use FindFork to calculate getchaintips branch len.
Use CBlockIndex* instead of uint256 as keys in getchaintips.