def double_sha256(hex_string):
    return sha256(sha256(safe_from_hex(hex_string)).digest()).hexdigest()
Double sha256. Example:
dataset/ETHPy150Open blockcypher/blockcypher-python/blockcypher/utils.py/double_sha256