def getblockhash(self, block_height):
        if block_height not in self.heights:
            raise BitcoindException("Unknown height", block_height)
        else:
            return self.heights[block_height]