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.
This commit is contained in:
CalDescent 2022-02-14 22:58:37 +00:00
parent fd0a6ec71f
commit 6275ac2b81

View File

@ -404,7 +404,7 @@ public abstract class Bitcoiny implements ForeignBlockchain {
Set<String> 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;