def __init__(self,
                 client,
                 hash,
                 seed,
                 size,
                 challenge,
                 expiration,
                 tag,
                 manager,
                 chunk_dir,
                 spoof=False):
        self.hash = hash
        self.seed = seed
        self.size = size
        self.challenge = challenge
        self.expiration = expiration
        self.estimated_interval = expiration - datetime.utcnow()
        self.tag = tag
        self.client = client
        self.answered = False
        self.thread_manager = manager
        self.path = os.path.join(chunk_dir, str(self.hash))
        self.data_initialized = False
        self.chunk_generation_rate = 0
        self.proof_data = None
        self.file_lock = threading.Lock()
        self.spoof = spoof
dataset/ETHPy150Open StorjOld/downstream-farmer/downstream_farmer/contract.py/DownstreamContract.__init__/original