peers_allow/peers_deny in grin.toml (#665)
* first pass at allow/deny lists for hard-coded peers (not just seeds) * commit * add peers_allow and peers_deny examples and comments to grin.toml * fix build issue with simulnet tests * fix p2p tests
This commit is contained in:
+1
-1
@@ -320,7 +320,7 @@ fn server_command(server_args: &ArgMatches, global_config: GlobalConfig) {
|
||||
let mut server_config = global_config.members.unwrap().server;
|
||||
|
||||
if let Some(port) = server_args.value_of("port") {
|
||||
server_config.p2p_config.as_mut().unwrap().port = port.parse().unwrap();
|
||||
server_config.p2p_config.port = port.parse().unwrap();
|
||||
}
|
||||
|
||||
if let Some(api_port) = server_args.value_of("api_port") {
|
||||
|
||||
Reference in New Issue
Block a user