mirror of
https://github.com/Qortal/qortal.git
synced 2025-05-05 17:27:52 +00:00
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 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user