From 6275ac2b81cf9215e5fbf5655e62a1cb31e1b04b Mon Sep 17 00:00:00 2001 From: CalDescent Date: Mon, 14 Feb 2022 22:58:37 +0000 Subject: [PATCH] Increased numberOfAdditionalBatchesToSearch from 5 to 7. This is the equivalent of increasing the max address gap from 15 to 21. The electrum standalone wallet uses 20, so this should be the most we will ever need. --- src/main/java/org/qortal/crosschain/Bitcoiny.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/qortal/crosschain/Bitcoiny.java b/src/main/java/org/qortal/crosschain/Bitcoiny.java index b29d9fe3..05d3aaa9 100644 --- a/src/main/java/org/qortal/crosschain/Bitcoiny.java +++ b/src/main/java/org/qortal/crosschain/Bitcoiny.java @@ -404,7 +404,7 @@ public abstract class Bitcoiny implements ForeignBlockchain { Set keySet = new HashSet<>(); // Set the number of consecutive empty batches required before giving up - final int numberOfAdditionalBatchesToSearch = 5; + final int numberOfAdditionalBatchesToSearch = 7; int unusedCounter = 0; int ki = 0;