Moving block connection logic to HeaderChain