def __init__(self, msgchan, wallet, send_jobs, options, waittime): self.send_jobs = send_jobs self.job_index = 0 self.options = options self.waittime = waittime Maker.__init__(self, msgchan, wallet) Taker.__init__(self, msgchan)
def on_welcome(self): Maker.on_welcome(self) Taker.on_welcome(self) if self.waittime > 0: ##zero means never be a taker self.takerthread = TakerThread(self) self.takerthread.start()
def __init__(self, msgchan, wallet, destaddr, amount, makercount, txfee, waittime, mixdepth, answeryes, chooseOrdersFunc, isolated=False): Taker.__init__(self, msgchan) self.wallet = wallet self.destaddr = destaddr self.amount = amount self.makercount = makercount self.txfee = txfee self.waittime = waittime self.mixdepth = mixdepth self.answeryes = answeryes self.chooseOrdersFunc = chooseOrdersFunc #extra variables for GUI-style self.isolated = isolated self.txid = None
def __init__(self, msgchan, wallet, destaddr, amount, makercount, txfee, cjfee, waittime, mixdepth): self.destaddr = destaddr self.amount = amount self.makercount = makercount self.txfee = txfee self.cjfee = cjfee self.waittime = waittime self.mixdepth = mixdepth Maker.__init__(self, msgchan, wallet) Taker.__init__(self, msgchan)
def __init__(self, msgchan, wallet, destaddr, amount, makercount, txfee, waittime, mixdepth, answeryes, chooseOrdersFunc): Taker.__init__(self, msgchan) self.wallet = wallet self.destaddr = destaddr self.amount = amount self.makercount = makercount self.txfee = txfee self.waittime = waittime self.mixdepth = mixdepth self.answeryes = answeryes self.chooseOrdersFunc = chooseOrdersFunc
def on_welcome(self): Taker.on_welcome(self) if not self.tumbler_thread: self.tumbler_thread = TumblerThread(self) self.tumbler_thread.start()
def __init__(self, msgchan, wallet, tx_list, options): Taker.__init__(self, msgchan) self.wallet = wallet self.tx_list = tx_list self.options = options self.tumbler_thread = None
def on_welcome(self): Taker.on_welcome(self) PaymentThread(self).start()
def get_crypto_box_from_nick(self, nick): if self.cjtx: return Taker.get_crypto_box_from_nick(self, nick) else: return Maker.get_crypto_box_from_nick(self, nick)
def on_welcome(self): Maker.on_welcome(self) Taker.on_welcome(self) self.takerthread = TakerThread(self) self.takerthread.start()
def on_welcome(self): Taker.on_welcome(self) if not self.isolated: PaymentThread(self).start()