From 28e36a9477915cc9742406c88cdaf2e5523a7531 Mon Sep 17 00:00:00 2001 From: Adam Gibson Date: Wed, 8 Feb 2017 22:39:57 +0200 Subject: [PATCH] change waittime between txs to minutes --- scripts/sendpayment.py | 3 ++- scripts/tumbler.py | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/sendpayment.py b/scripts/sendpayment.py index 0a4cf11..6f02d75 100644 --- a/scripts/sendpayment.py +++ b/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() diff --git a/scripts/tumbler.py b/scripts/tumbler.py index 2fc41e9..2d3e81b 100644 --- a/scripts/tumbler.py +++ b/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,