|
|
|
@ -100,7 +100,7 @@ def main(): |
|
|
|
def filter_orders_callback(orders_fees, cjamount): |
|
|
|
def filter_orders_callback(orders_fees, cjamount): |
|
|
|
return True |
|
|
|
return True |
|
|
|
|
|
|
|
|
|
|
|
def taker_finished(res, fromtx=False, waittime=0.0): |
|
|
|
def taker_finished(res, fromtx=False, waittime=0.0, txdetails=None): |
|
|
|
"""on_finished_callback for tumbler |
|
|
|
"""on_finished_callback for tumbler |
|
|
|
""" |
|
|
|
""" |
|
|
|
def unconf_update(): |
|
|
|
def unconf_update(): |
|
|
|
@ -146,8 +146,9 @@ def main(): |
|
|
|
waiting_message = "Waiting for: " + str(waittime) + " minutes." |
|
|
|
waiting_message = "Waiting for: " + str(waittime) + " minutes." |
|
|
|
tumble_log.info(waiting_message) |
|
|
|
tumble_log.info(waiting_message) |
|
|
|
log.info(waiting_message) |
|
|
|
log.info(waiting_message) |
|
|
|
|
|
|
|
txd, txid = txdetails |
|
|
|
sync_wallet(wallet, fast=options['fastsync']) |
|
|
|
taker.wallet.remove_old_utxos(txd) |
|
|
|
|
|
|
|
taker.wallet.add_new_utxos(txd, txid) |
|
|
|
reactor.callLater(waittime*60, |
|
|
|
reactor.callLater(waittime*60, |
|
|
|
clientfactory.getClient().clientStart) |
|
|
|
clientfactory.getClient().clientStart) |
|
|
|
else: |
|
|
|
else: |
|
|
|
|