Compare commits

...

4 Commits

Author SHA1 Message Date
Callum Waters
1f113afabb Merge branch 'main' into cmd-add-p2p-external-address 2022-08-01 16:47:04 +02:00
Arnaud Mimart
1cdb9d60b5 Merge branch 'main' into cmd-add-p2p-external-address 2022-08-01 16:04:18 +02:00
Arnaud Mimart
254d96e205 docs: describe changes in pending changelog 2022-08-01 15:21:34 +02:00
Arnaud Mimart
95b735509b feat(cli): set node p2p external address with cmd flag 2022-08-01 15:21:34 +02:00
2 changed files with 2 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ Friendly reminder, we have a [bug bounty program](https://hackerone.com/tendermi
### FEATURES
- [#9083] backport cli command to reindex missed events (@cmwaters)
- [cli] \#9107 Add the `p2p.external-address` argument to set the node P2P external address (@amimart)
### IMPROVEMENTS

View File

@@ -63,6 +63,7 @@ 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",