lbry-sdk/lbrynet/lbrynet_console/plugins/BlindRepeater/ValuableBlobInfo.py

10 lines
310 B
Python
Raw Normal View History

2015-08-20 17:27:15 +02:00
from lbrynet.core.BlobInfo import BlobInfo
class ValuableBlobInfo(BlobInfo):
def __init__(self, blob_hash, length, reference, peer, peer_score):
BlobInfo.__init__(self, blob_hash, blob_hash, length)
self.reference = reference
self.peer = peer
self.peer_score = peer_score