| 1 | package config |
| 2 | |
| 3 | // Addresses stores the (string) multiaddr addresses for the node. |
| 4 | type Addresses struct { |
| 5 | Swarm []string // addresses for the swarm to listen on |
| 6 | Announce []string // swarm addresses to announce to the network, if len > 0 replaces auto detected addresses |
| 7 | AppendAnnounce []string // similar to Announce but doesn't overwrite auto detected addresses, they are just appended |
| 8 | NoAnnounce []string // swarm addresses not to announce to the network |
| 9 | API Strings // address for the local API (RPC) |
| 10 | Gateway Strings // address to listen on for IPFS HTTP object gateway |
| 11 | } |