forked from LBRYCommunity/lbry-sdk
updated references lbrynet.crypstream -> lbrynet.blob
This commit is contained in:
parent
0d4e83e167
commit
c1a9cd93ee
9 changed files with 10 additions and 10 deletions
|
@ -6,7 +6,7 @@ import logging
|
||||||
|
|
||||||
from cryptography.hazmat.primitives.ciphers.algorithms import AES
|
from cryptography.hazmat.primitives.ciphers.algorithms import AES
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
from lbrynet.cryptstream.CryptBlob import CryptStreamBlobMaker
|
from lbrynet.blob.CryptBlob import CryptStreamBlobMaker
|
||||||
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import binascii
|
import binascii
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
from lbrynet.cryptstream.CryptBlob import StreamBlobDecryptor
|
from lbrynet.blob.CryptBlob import StreamBlobDecryptor
|
||||||
|
|
||||||
|
|
||||||
class CryptBlobHandler:
|
class CryptBlobHandler:
|
||||||
|
|
|
@ -4,7 +4,7 @@ from lbrynet.p2p.client.BlobRequester import BlobRequester
|
||||||
from lbrynet.p2p.client.ConnectionManager import ConnectionManager
|
from lbrynet.p2p.client.ConnectionManager import ConnectionManager
|
||||||
from lbrynet.p2p.client.DownloadManager import DownloadManager
|
from lbrynet.p2p.client.DownloadManager import DownloadManager
|
||||||
from lbrynet.p2p.client.StreamProgressManager import FullStreamProgressManager
|
from lbrynet.p2p.client.StreamProgressManager import FullStreamProgressManager
|
||||||
from lbrynet.cryptstream.client.CryptBlobHandler import CryptBlobHandler
|
from lbrynet.blob.client.CryptBlobHandler import CryptBlobHandler
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
from twisted.python.failure import Failure
|
from twisted.python.failure import Failure
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import os
|
||||||
|
|
||||||
from lbrynet.p2p.Error import InvalidStreamDescriptorError
|
from lbrynet.p2p.Error import InvalidStreamDescriptorError
|
||||||
from lbrynet.p2p.StreamDescriptor import EncryptedFileStreamType, format_sd_info, format_blobs, validate_descriptor
|
from lbrynet.p2p.StreamDescriptor import EncryptedFileStreamType, format_sd_info, format_blobs, validate_descriptor
|
||||||
from lbrynet.cryptstream.CryptBlob import CryptBlobInfo
|
from lbrynet.blob.CryptBlob import CryptBlobInfo
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ from twisted.enterprise import adbapi
|
||||||
from lbrynet.schema.claim import ClaimDict
|
from lbrynet.schema.claim import ClaimDict
|
||||||
from lbrynet.schema.decode import smart_decode
|
from lbrynet.schema.decode import smart_decode
|
||||||
from lbrynet import conf
|
from lbrynet import conf
|
||||||
from lbrynet.cryptstream.CryptBlob import CryptBlobInfo
|
from lbrynet.blob.CryptBlob import CryptBlobInfo
|
||||||
from lbrynet.dht.constants import dataExpireTimeout
|
from lbrynet.dht.constants import dataExpireTimeout
|
||||||
from torba.client.constants import COIN
|
from torba.client.constants import COIN
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ from twisted.protocols.basic import FileSender
|
||||||
|
|
||||||
from lbrynet.p2p.StreamDescriptor import BlobStreamDescriptorWriter, EncryptedFileStreamType
|
from lbrynet.p2p.StreamDescriptor import BlobStreamDescriptorWriter, EncryptedFileStreamType
|
||||||
from lbrynet.p2p.StreamDescriptor import format_sd_info, get_stream_hash, validate_descriptor
|
from lbrynet.p2p.StreamDescriptor import format_sd_info, get_stream_hash, validate_descriptor
|
||||||
from lbrynet.cryptstream.CryptStreamCreator import CryptStreamCreator
|
from lbrynet.blob.CryptStreamCreator import CryptStreamCreator
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@ from lbrynet.extras.reflector.reupload import reflect_file
|
||||||
from lbrynet.file_manager.EncryptedFileDownloader import ManagedEncryptedFileDownloader
|
from lbrynet.file_manager.EncryptedFileDownloader import ManagedEncryptedFileDownloader
|
||||||
from lbrynet.file_manager.EncryptedFileDownloader import ManagedEncryptedFileDownloaderFactory
|
from lbrynet.file_manager.EncryptedFileDownloader import ManagedEncryptedFileDownloaderFactory
|
||||||
from lbrynet.p2p.StreamDescriptor import EncryptedFileStreamType, get_sd_info
|
from lbrynet.p2p.StreamDescriptor import EncryptedFileStreamType, get_sd_info
|
||||||
from lbrynet.cryptstream.client.CryptStreamDownloader import AlreadyStoppedError
|
from lbrynet.blob.client.CryptStreamDownloader import AlreadyStoppedError
|
||||||
from lbrynet.cryptstream.client.CryptStreamDownloader import CurrentlyStoppingError
|
from lbrynet.blob.client.CryptStreamDownloader import CurrentlyStoppingError
|
||||||
from lbrynet.p2p.utils import safe_start_looping_call, safe_stop_looping_call
|
from lbrynet.p2p.utils import safe_start_looping_call, safe_stop_looping_call
|
||||||
from lbrynet import conf
|
from lbrynet import conf
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import traceback
|
||||||
from binascii import hexlify, unhexlify
|
from binascii import hexlify, unhexlify
|
||||||
|
|
||||||
from lbrynet.p2p.StreamDescriptor import save_sd_info
|
from lbrynet.p2p.StreamDescriptor import save_sd_info
|
||||||
from lbrynet.cryptstream.client.CryptStreamDownloader import CryptStreamDownloader
|
from lbrynet.blob.client.CryptStreamDownloader import CryptStreamDownloader
|
||||||
from lbrynet.p2p.client.StreamProgressManager import FullStreamProgressManager
|
from lbrynet.p2p.client.StreamProgressManager import FullStreamProgressManager
|
||||||
from lbrynet.p2p.Error import FileOpenError
|
from lbrynet.p2p.Error import FileOpenError
|
||||||
from lbrynet.lbry_file.client.EncryptedFileMetadataHandler import EncryptedFileMetadataHandler
|
from lbrynet.lbry_file.client.EncryptedFileMetadataHandler import EncryptedFileMetadataHandler
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from twisted.trial import unittest
|
from twisted.trial import unittest
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
from lbrynet.cryptstream import CryptBlob
|
from lbrynet.blob import CryptBlob
|
||||||
from lbrynet.blob.blob_file import MAX_BLOB_SIZE
|
from lbrynet.blob.blob_file import MAX_BLOB_SIZE
|
||||||
|
|
||||||
from tests.mocks import mock_conf_settings
|
from tests.mocks import mock_conf_settings
|
||||||
|
|
Loading…
Reference in a new issue