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