Skip to content

Commit

Permalink
toml fix
Browse files Browse the repository at this point in the history
  • Loading branch information
srene committed May 15, 2024
1 parent ec0acae commit a5fa7a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit a5fa7a5

Please sign in to comment.