Min and Max peers setting

This commit is contained in:
arkpar
2016-07-29 17:30:02 +02:00
parent 57faa37623
commit 8c47240248
8 changed files with 47 additions and 24 deletions

View File

@@ -39,6 +39,7 @@ fn settings() -> Arc<NetworkSettings> {
Arc::new(NetworkSettings {
name: "mynode".to_owned(),
chain: "testchain".to_owned(),
min_peers: 25,
max_peers: 25,
network_port: 30303,
rpc_enabled: true,