From 8ca0cbf912262b09276d086802abf151d3ba12cb Mon Sep 17 00:00:00 2001 From: Mariano Conti Date: Mon, 4 Dec 2017 17:48:09 -0300 Subject: [PATCH] Update setzer-bot --- libexec/setzer/setzer-bot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libexec/setzer/setzer-bot b/libexec/setzer/setzer-bot index e269012..4048469 100755 --- a/libexec/setzer/setzer-bot +++ b/libexec/setzer/setzer-bot @@ -45,15 +45,15 @@ if ! [[ $SETZER_BOT_INIT ]]; then [[ $SETZER_SPREAD ]] || export SETZER_SPREAD=1 [[ $SETZER_INTERVAL_SECONDS ]] || export SETZER_INTERVAL_SECONDS=60 - [[ $SETZER_WAIT_FOR_RESEND ]] || export SETZER_WAIT_FOR_RESEND=90 + [[ $SETZER_WAIT_FOR_RESEND ]] || export SETZER_WAIT_FOR_RESEND=120 [[ $SETZER_AUTO ]] && echo AUTO mode ON # Gas stuff - [[ $SETZER_INITIAL_GAS_PRICE ]] || export SETZER_INITIAL_GAS_PRICE=`seth --to-wei 1 gwei` - [[ $SETZER_GAS_PRICE_INCREMENT ]] || export SETZER_GAS_PRICE_INCREMENT=`seth --to-wei 1 gwei` - [[ $SETZER_MAX_GAS_PRICE ]] || export SETZER_MAX_GAS_PRICE=`seth --to-wei 10 gwei` + [[ $SETZER_INITIAL_GAS_PRICE ]] || export SETZER_INITIAL_GAS_PRICE=`seth --to-wei 10 gwei` + [[ $SETZER_GAS_PRICE_INCREMENT ]] || export SETZER_GAS_PRICE_INCREMENT=`seth --to-wei 2 gwei` + [[ $SETZER_MAX_GAS_PRICE ]] || export SETZER_MAX_GAS_PRICE=`seth --to-wei 21 gwei` # TODO: these should be automatic export ETH_GAS_PRICE=$SETZER_INITIAL_GAS_PRICE