Browse Source

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

pull/67/head v1.0.3b
catbref 5 years ago
parent
commit
1d3ee77fb8
  1. 5
      src/main/java/org/qortal/network/Network.java
  2. 6
      src/main/java/org/qortal/settings/Settings.java

5
src/main/java/org/qortal/network/Network.java

@ -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;

6
src/main/java/org/qortal/settings/Settings.java

@ -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

Loading…
Cancel
Save