forked from Qortal/qortal
Increased TX_CACHE_SIZE from 200 to 1000, to speed up loading times on large wallets.
This commit is contained in:
parent
a664a6a790
commit
dbacfb964b
@ -103,7 +103,7 @@ public class ElectrumX extends BitcoinyBlockchainProvider {
|
||||
private Scanner scanner;
|
||||
private int nextId = 1;
|
||||
|
||||
private static final int TX_CACHE_SIZE = 200;
|
||||
private static final int TX_CACHE_SIZE = 1000;
|
||||
@SuppressWarnings("serial")
|
||||
private final Map<String, BitcoinyTransaction> transactionCache = Collections.synchronizedMap(new LinkedHashMap<>(TX_CACHE_SIZE + 1, 0.75F, true) {
|
||||
// This method is called just after a new entry has been added
|
||||
|
Loading…
Reference in New Issue
Block a user