forked from Qortal-Forker/qortal
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 Scanner scanner;
|
||||||
private int nextId = 1;
|
private int nextId = 1;
|
||||||
|
|
||||||
private static final int TX_CACHE_SIZE = 100;
|
private static final int TX_CACHE_SIZE = 200;
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
private final Map<String, BitcoinyTransaction> transactionCache = Collections.synchronizedMap(new LinkedHashMap<>(TX_CACHE_SIZE + 1, 0.75F, true) {
|
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
|
// This method is called just after a new entry has been added
|
||||||
|
|||||||
Reference in New Issue
Block a user