Increase default number of peers required before a node can mint/sync, and other settings

This commit is contained in:
catbref 2020-03-15 14:14:58 +00:00
parent 64055e280d
commit 1d3ee77fb8
2 changed files with 7 additions and 4 deletions

View File

@ -88,7 +88,10 @@ public class Network {
"node4.qortal.org",
"node5.qortal.org",
"node6.qortal.org",
"node7.qortal.org"
"node7.qortal.org",
"node8.qortal.org",
"node9.qortal.org",
"node10.qortal.org"
};
public static final int MAX_SIGNATURES_PER_REPLY = 500;

View File

@ -77,11 +77,11 @@ public class Settings {
/** Port number for inbound peer-to-peer connections. */
private Integer listenPort;
/** Minimum number of peers to allow block minting / synchronization. */
private int minBlockchainPeers = 5;
private int minBlockchainPeers = 10;
/** Target number of outbound connections to peers we should make. */
private int minOutboundPeers = 20;
private int minOutboundPeers = 40;
/** Maximum number of peer connections we allow. */
private int maxPeers = 50;
private int maxPeers = 80;
// Which blockchains this node is running
private String blockchainConfig = null; // use default from resources