```\nfunction saveBlockNumber(uint \_blockNumber) public {\n\n    bytes32 bHash = blockhash(\_blockNumber);\n\n    require(bHash != 0x0, "block not available");\n\n    blockhashMapping[\_blockNumber] = bHash;\n    emit LogBlockhashAdded(\_blockNumber, bHash);\n}\n```\n