From bd1be1041aea7e4785e1964ba10eb57cc494e327 Mon Sep 17 00:00:00 2001 From: woodser Date: Mon, 29 Apr 2024 07:33:05 -0400 Subject: [PATCH] increase timeout for sign offer request ack to 30s --- .../core/offer/placeoffer/tasks/MakerSendSignOfferRequest.java | 1 + core/src/main/java/haveno/core/trade/HavenoUtils.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/haveno/core/offer/placeoffer/tasks/MakerSendSignOfferRequest.java b/core/src/main/java/haveno/core/offer/placeoffer/tasks/MakerSendSignOfferRequest.java index ca6e0eed..618945e0 100644 --- a/core/src/main/java/haveno/core/offer/placeoffer/tasks/MakerSendSignOfferRequest.java +++ b/core/src/main/java/haveno/core/offer/placeoffer/tasks/MakerSendSignOfferRequest.java @@ -129,6 +129,7 @@ public class MakerSendSignOfferRequest extends Task { @Override public void onArrived() { log.info("{} arrived at arbitrator: offerId={}", request.getClass().getSimpleName(), model.getOpenOffer().getId()); + model.getProtocol().startTimeoutTimer(); // reset timeout } // if unavailable, try alternative arbitrator diff --git a/core/src/main/java/haveno/core/trade/HavenoUtils.java b/core/src/main/java/haveno/core/trade/HavenoUtils.java index bc0c2b85..4be303d9 100644 --- a/core/src/main/java/haveno/core/trade/HavenoUtils.java +++ b/core/src/main/java/haveno/core/trade/HavenoUtils.java @@ -66,7 +66,7 @@ public class HavenoUtils { private static final String RELEASE_DATE = "01-03-2024 00:00:00"; // optionally set to release date of the network in format dd-mm-yyyy to impose temporary limits, etc. e.g. "01-03-2024 00:00:00" public static final int RELEASE_LIMIT_DAYS = 60; // number of days to limit sell offers to max buy limit for new accounts public static final int WARN_ON_OFFER_EXCEEDS_UNSIGNED_BUY_LIMIT_DAYS = 182; // number of days to warn if sell offer exceeds unsigned buy limit - public static final int ARBITRATOR_ACK_TIMEOUT_SECONDS = 15; + public static final int ARBITRATOR_ACK_TIMEOUT_SECONDS = 30; // configure fees public static final double MAKER_FEE_PCT = 0.0015; // 0.15%