Browse Source

change waittime between txs to minutes

master
Adam Gibson 9 years ago
parent
commit
28e36a9477
No known key found for this signature in database
GPG Key ID: B3AE09F1E9A3197A
  1. 3
      scripts/sendpayment.py
  2. 5
      scripts/tumbler.py

3
scripts/sendpayment.py

@ -195,7 +195,8 @@ def main():
if fromtx:
if res:
sync_wallet(wallet, fast=options.fastsync)
reactor.callLater(waittime, clientfactory.getClient().clientStart)
reactor.callLater(waittime*60,
clientfactory.getClient().clientStart)
else:
#a transaction failed; just stop
reactor.stop()

5
scripts/tumbler.py

@ -96,11 +96,12 @@ def main():
hramt = taker.cjamount
tumble_log.info(human_readable_schedule_entry(
taker.schedule[taker.schedule_index], hramt, hrdestn))
waiting_message = "Waiting for: " + str(waittime) + " seconds."
waiting_message = "Waiting for: " + str(waittime) + " minutes."
tumble_log.info(waiting_message)
sync_wallet(wallet, fast=options['fastsync'])
log.info(waiting_message)
reactor.callLater(waittime, clientfactory.getClient().clientStart)
reactor.callLater(waittime*60,
clientfactory.getClient().clientStart)
else:
#a transaction failed; tumbler is aggressive in trying to
#complete; we tweak the schedule from this point in the mixdepth,

Loading…
Cancel
Save