```\nfunction recreateBlockheaders(uint \_blockNumber, bytes[] memory \_blockheaders) public {\n\n    bytes32 currentBlockhash = blockhashMapping[\_blockNumber];\n    require(currentBlockhash != 0x0, "parentBlock is not available");\n\n    bytes32 calculatedHash = reCalculateBlockheaders(\_blockheaders, currentBlockhash);\n    require(calculatedHash != 0x0, "invalid headers");\n```\n