From 1359eb610ec2f765c0c474516a6782f1d8f94543 Mon Sep 17 00:00:00 2001 From: Saketh Are Date: Wed, 29 Mar 2023 15:50:04 -0400 Subject: [PATCH] Update networking.md with sample config (#8837) Adds a sample config showing the snippets relevant to advanced networking configuration. --- docs/advanced_configuration/networking.md | 27 ++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/advanced_configuration/networking.md b/docs/advanced_configuration/networking.md index afb84b79e9b..9914d2cd0bc 100644 --- a/docs/advanced_configuration/networking.md +++ b/docs/advanced_configuration/networking.md @@ -1,5 +1,30 @@ This document describes the advanced network options that you can configure -by modifying the "network" section of your "config.json" file. +by modifying the "network" section of your "config.json" file: + + +``` +{ + // ... + "network": { + // ... + "public_addrs": [], + "allow_private_ip_in_public_addrs": false, + "experimental": { + "inbound_disabled": false, + "connect_only_to_boot_nodes": false, + "skip_sending_tombstones_seconds": 0, + "tier1_enable_inbound": true, + "tier1_enable_outbound": false, + "tier1_connect_interval": { + "secs": 60, + "nanos": 0 + }, + "tier1_new_connections_per_attempt": 50 + } + }, + // ... +} +``` ### TIER1 network