13 lines
218 B
Python
13 lines
218 B
Python
from binascii import hexlify
|
|
|
|
|
|
def claim_id(claim_hash):
|
|
return hexlify(claim_hash[::-1]).decode()
|
|
|
|
|
|
class BaseError(Exception):
|
|
pass
|
|
|
|
|
|
class ChainError(Exception):
|
|
"""Raised on error processing blocks."""
|