forked from Qortal/qortal
Default settings changes
Use IPv6 wildcard address "::" for P2P bind address as null seems to make listen socket bind to 127.0.0.1 Increase target minimum outbound connections from 3 to 10. Increate maximum connection limit from 10 to 30.
This commit is contained in:
parent
c917191df2
commit
1b4369e5e8
@ -56,13 +56,13 @@ public class Settings {
|
||||
|
||||
// Peer-to-peer related
|
||||
private int listenPort = DEFAULT_LISTEN_PORT;
|
||||
private String bindAddress = null; // listen on all local addresses
|
||||
private String bindAddress = "::"; // Use IPv6 wildcard to listen on all local addresses
|
||||
/** Minimum number of peers to allow block generation / synchronization. */
|
||||
private int minBlockchainPeers = 3;
|
||||
/** Target number of outbound connections to peers we should make. */
|
||||
private int minOutboundPeers = 3;
|
||||
private int minOutboundPeers = 10;
|
||||
/** Maximum number of peer connections we allow. */
|
||||
private int maxPeers = 10;
|
||||
private int maxPeers = 30;
|
||||
|
||||
// Which blockchains this node is running
|
||||
private String blockchainConfig = "blockchain.json";
|
||||
|
Loading…
x
Reference in New Issue
Block a user