forked from Qortal/qortal
Bump ElectrumX transaction cache size from 100 to 200
This commit is contained in:
parent
047627a6e5
commit
35b0ac78b8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user