Skip to content

Commit

Permalink
config: p2p.external-address (backport #9107) (#9153)
Browse files Browse the repository at this point in the history
Co-authored-by: Callum Waters <[email protected]>
  • Loading branch information
tnasu and cmwaters committed Jul 19, 2023
1 parent 56d15db commit 8956497
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/ostracon/commands/run_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ func AddNodeFlags(cmd *cobra.Command) {
"p2p.laddr",
config.P2P.ListenAddress,
"node listen address. (0.0.0.0:0 means any interface, any port)")
cmd.Flags().String("p2p.external-address",
config.P2P.ExternalAddress, "ip:port address to advertise to peers for them to dial")
cmd.Flags().String("p2p.seeds", config.P2P.Seeds, "comma-delimited ID@host:port seed nodes")
cmd.Flags().String("p2p.persistent_peers", config.P2P.PersistentPeers, "comma-delimited ID@host:port persistent peers")
cmd.Flags().String("p2p.unconditional_peer_ids",
Expand Down

0 comments on commit 8956497

Please sign in to comment.