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