lotus/node/config
Jim Pick 6e11ff3796 Make libp2p swarm Announce / NoAnnounce addresses configurable
In go-ipfs, it is possible to manually configure addresses to announce
or not announce to the swarm.

https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#addressesannounce

This PR adds the same feature to Lotus. It can be configured from the [libp2p]
section of either the .lotus or .lotusstorage config.toml file. Example:

[Libp2p]
  ListenAddresses = ["/ip4/0.0.0.0/tcp/34515", "/ip6/::/tcp/34515"]
  AnnounceAddresses = ["/ip4/52.13.91.110/tcp/34515"]
2020-06-08 17:03:11 -07:00
..
def.go Make libp2p swarm Announce / NoAnnounce addresses configurable 2020-06-08 17:03:11 -07:00
load_test.go Add support for different configs 2019-10-30 17:38:39 +01:00
load.go remote ipfs support & automatic env 2020-05-28 22:11:49 +02:00
storage.go Cleanup many lint warnings 2020-05-27 22:53:20 +02:00