mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
Bump ElectrumX transaction cache size from 100 to 200
This commit is contained in:
@@ -101,7 +101,7 @@ public class ElectrumX extends BitcoinyBlockchainProvider {
|
||||
private Scanner scanner;
|
||||
private int nextId = 1;
|
||||
|
||||
private static final int TX_CACHE_SIZE = 100;
|
||||
private static final int TX_CACHE_SIZE = 200;
|
||||
@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
|
||||
|
Reference in New Issue
Block a user