Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
ea55e747
Commit
ea55e747
authored
4 years ago
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc(config): expand peering docs
parent
b74246a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
docs/config.md
docs/config.md
+17
-4
No files found.
docs/config.md
View file @
ea55e747
...
@@ -745,15 +745,28 @@ Peering can be asymmetric or symmetric:
...
@@ -745,15 +745,28 @@ Peering can be asymmetric or symmetric:
#### `Peering.Peers`
#### `Peering.Peers`
The set of peers with which to peer.
Each entry is of the form:
The set of peers with which to peer.
```
js
```
js
on
{
{
"
ID
"
:
"
QmSomePeerID
"
,
#
The
peers
ID
.
"Peering"
:
{
"
Addrs
"
:
[
"
/ip4/1.2.3.4/tcp/1234
"
]
#
Known
addresses
for
the
peer
.
If
none
are
specified
,
the
DHT
will
be
queried
.
"Peers"
:
[
{
"ID"
:
"QmPeerID1"
,
"Addrs"
:
[
"/ip4/18.1.1.1/tcp/4001"
]
},
{
"ID"
:
"QmPeerID2"
,
"Addrs"
:
[
"/ip4/18.1.1.2/tcp/4001"
,
"/ip4/18.1.1.2/udp/4001/quic"
]
}
]
}
...
}
}
```
```
Where
`ID`
is the peer ID and
`Addrs`
is a set of known addresses for the peer. If no addresses are specified, the DHT will be queried.
Additional fields may be added in the future.
Additional fields may be added in the future.
## `Reprovider`
## `Reprovider`
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment