lbry-sdk/lbry/lbrynet/blob/__init__.py
2019-06-20 22:50:39 -04:00

6 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