forked from Qortal/qortal
Increase default number of peers required before a node can mint/sync, and other settings
This commit is contained in:
parent
64055e280d
commit
1d3ee77fb8
@ -88,7 +88,10 @@ public class Network {
|
|||||||
"node4.qortal.org",
|
"node4.qortal.org",
|
||||||
"node5.qortal.org",
|
"node5.qortal.org",
|
||||||
"node6.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;
|
public static final int MAX_SIGNATURES_PER_REPLY = 500;
|
||||||
|
@ -77,11 +77,11 @@ public class Settings {
|
|||||||
/** Port number for inbound peer-to-peer connections. */
|
/** Port number for inbound peer-to-peer connections. */
|
||||||
private Integer listenPort;
|
private Integer listenPort;
|
||||||
/** Minimum number of peers to allow block minting / synchronization. */
|
/** 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. */
|
/** 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. */
|
/** Maximum number of peer connections we allow. */
|
||||||
private int maxPeers = 50;
|
private int maxPeers = 80;
|
||||||
|
|
||||||
// Which blockchains this node is running
|
// Which blockchains this node is running
|
||||||
private String blockchainConfig = null; // use default from resources
|
private String blockchainConfig = null; // use default from resources
|
||||||
|
Loading…
Reference in New Issue
Block a user