mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2024-11-09 15:40:27 +00:00
Update admin.md, configuration.md
This commit is contained in:
parent
25077ac0cb
commit
0989f92070
12
admin.md
12
admin.md
@ -296,10 +296,20 @@ Expects:
|
||||
- `coords=` `string`, location of the remote node in the network, in the same format as e.g. a `getDHT` response
|
||||
- `target=` `string`, hex-encoded 512-bit NodeID to ask about, affects what the response from the remote node will be, optional
|
||||
|
||||
Asks a remote node to respond with information from the DHT
|
||||
Asks a remote node to respond with information from the DHT.
|
||||
|
||||
Returns a `nodes` section with information about each node included in the DHT lookup response, indexed by IPv6.
|
||||
|
||||
For each IPv6 address, this includes:
|
||||
- `box_pub_key` (`string`) contains the `EncryptionPublicKey` of the remote node
|
||||
- `coords` (`string`) contains the coordinates of the node on the spanning tree
|
||||
|
||||
#### `getNodeInfo`
|
||||
|
||||
Expects:
|
||||
- `box_pub_key=` `string`, hex-encoded public key of the remote node to ping, in the same format as e.g. verbose output from a `getDHT` response
|
||||
- `coords=` `string`, location of the remote node in the network, in the same format as e.g. a `getDHT` response
|
||||
|
||||
Asks a remote node to respond with their nodeinfo.
|
||||
|
||||
Returns a `nodeinfo` section with the nodeinfo. This can be in any format, containing any keys.
|
||||
|
@ -291,9 +291,9 @@ Note that any field not specified in the configuration will use its default valu
|
||||
```
|
||||
NodeInfo:
|
||||
{
|
||||
name: hostname.y.domain.com
|
||||
contact: email@domain.com
|
||||
location: Place, Country
|
||||
name: hostname.y.domain.com
|
||||
contact: email@domain.com
|
||||
location: Place, Country
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user