2020-01-03 05:44:41 +01:00
|
|
|
from lbry.utils import get_lbry_hash_obj
|
2019-01-22 18:47:46 +01:00
|
|
|
|
|
|
|
MAX_BLOB_SIZE = 2 * 2 ** 20
|
|
|
|
|
|
|
|
# digest_size is in bytes, and blob hashes are hex encoded
|
2020-01-03 06:57:36 +01:00
|
|
|
BLOBHASH_LENGTH = get_lbry_hash_obj().digest_size * 2
|