Use CBlockIndex* instead of uint256 as keys in getchaintips.