lbry-sdk/lbrynet/blob/__init__.py
2019-01-24 00:13:15 -05:00

7 lines
193 B
Python

from lbrynet.cryptoutils 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