lbry-sdk/lbry/blob/__init__.py
2020-01-03 03:08:15 -05:00

7 lines
184 B
Python

from lbry.utils import get_lbry_hash_obj
MAX_BLOB_SIZE = 2 * 2 ** 20
# digest_size is in bytes, and blob hashes are hex encoded
BLOBHASH_LENGTH = get_lbry_hash_obj().digest_size * 2