diff --git a/config/toml.go b/config/toml.go index 123c79af1..842fd9597 100644 --- a/config/toml.go +++ b/config/toml.go @@ -89,16 +89,16 @@ da_config = "{{ .DAConfig }}" ### p2p config ### # p2p listen address in the format of /ip4/ip_address/tcp/tcp_port -p2p_listen_address = "{{ .P2P.ListenAddress }}" +p2p_listen_address = "{{ .P2PConfig.ListenAddress }}" # list of nodes used for P2P bootstrapping in the format of /ip4/ip_address/tcp/port/p2p/ID -p2p_bootstrap_nodes = "{{ .P2P.BootstrapNodes }}" +p2p_bootstrap_nodes = "{{ .P2PConfig.BootstrapNodes }}" # max number of cached messages by gossipsub protocol -p2p_gossiped_blocks_cache_size = {{ .P2P.GossipedBlocksCacheSize }} +p2p_gossiped_blocks_cache_size = {{ .P2PConfig.GossipedBlocksCacheSize }} # time interval to check if no p2p nodes are connected to bootstrap again -p2p_bootstrap_time = "{{ .P2P.BootstrapTime }}" +p2p_bootstrap_time = "{{ .P2PConfig.BootstrapTime }}" #celestia config example: # da_config = "{\"base_url\":\"http:\/\/127.0.0.1:26658\",\"timeout\":5000000000,\"gas_prices\":0.1,\"auth_token\":\"TOKEN\",\"backoff\":{\"initial_delay\":6000000000,\"max_delay\":6000000000,\"growth_factor\":2},\"retry_attempts\":4,\"retry_delay\":3000000000}"