Skip to content

Commit

Permalink
docs(config): fix links and headers
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
  • Loading branch information
lidel committed Oct 28, 2021
1 parent 28bd871 commit 8c7a1f5
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1283,9 +1283,8 @@ Enables "automatic relay user" mode for this node.
Your node will automatically _use_ public relays from the network if it detects
that it cannot be reached from the public internet (e.g., it's behind a
firewall) and get a `/p2p-circuit` address from a public relay.
This is likely the feature you're looking for.

See also:
This is likely the feature you're looking for, but see also:
- [`Swarm.RelayService.Enabled`](#swarmrelayserviceenabled) if your node should act as a limited relay for other peers
- Docs: [Libp2p Circuit Relay](https://docs.libp2p.io/concepts/circuit-relay/)

Expand All @@ -1296,15 +1295,13 @@ Type: `bool`
### `Swarm.RelayService`

Configuration options for the relay service that can be provided to _other_ peers
on the network.
- Docs: [Libp2p Circuit Relay](https://docs.libp2p.io/concepts/circuit-relay/)
- Specs: [Circuit Relay v2](https://github.com/libp2p/specs/blob/master/relay/circuit-v2.md)
on the network ([Circuit Relay v2](https://github.com/libp2p/specs/blob/master/relay/circuit-v2.md)).

Default: `{}`

Type: `object`

### `Swarm.RelayService.Enabled`
#### `Swarm.RelayService.Enabled`

Enables providing `/p2p-circuit` v2 relay service to other peers on the network.

Expand Down Expand Up @@ -1406,7 +1403,7 @@ Type: `optionalInteger`

**REMOVED**

Replaced with [`Swarm.RelayService.Enabled`][].
Replaced with [`Swarm.RelayService.Enabled`][#swarmrelayserviceenabled].

### `Swarm.DisableRelay`

Expand All @@ -1424,7 +1421,7 @@ Type: `bool`

**REMOVED**

Please use [`AutoNAT.ServiceMode`][].
Please use [`AutoNAT.ServiceMode`][#autonatservicemode].

### `Swarm.ConnMgr`

Expand Down

0 comments on commit 8c7a1f5

Please sign in to comment.