2022-03-08 17:01:19 +01:00
|
|
|
from binascii import hexlify
|
|
|
|
|
|
|
|
|
|
|
|
def claim_id(claim_hash):
|
|
|
|
return hexlify(claim_hash[::-1]).decode()
|
|
|
|
|
|
|
|
|
|
|
|
class BaseError(Exception):
|
|
|
|
pass
|
2022-03-24 17:54:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
class ChainError(Exception):
|
|
|
|
"""Raised on error processing blocks."""
|