mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2025-02-28 23:21:34 +00:00
Update getDHT, add getMulticastInterfaces
This commit is contained in:
parent
a68792380a
commit
ec0dd6f0c5
13
admin.md
13
admin.md
@ -102,10 +102,9 @@ The `"request"` field contains a verb that describes which request to perform.
|
|||||||
Expects no additional request fields.
|
Expects no additional request fields.
|
||||||
|
|
||||||
Returns known nodes in the DHT.
|
Returns known nodes in the DHT.
|
||||||
- `last_seen` (`uint32`) contains the number of seconds since the DHT record was last updated
|
- `box_pub_key` (`string`) contains the `EncryptionPublicKey` of the remote node
|
||||||
- `bucket` (`uint8`) contains the ID of the bucket that the DHT record is stored in
|
|
||||||
- `coords` (`string`) contains the coordinates of the node on the spanning tree
|
- `coords` (`string`) contains the coordinates of the node on the spanning tree
|
||||||
- `peer_only` (`bool`) shows if the node is a peer
|
- `last_seen` (`uint32`) contains the number of seconds since the DHT record was last updated
|
||||||
|
|
||||||
#### `getPeers`
|
#### `getPeers`
|
||||||
|
|
||||||
@ -223,3 +222,11 @@ Removes an existing box pub key.
|
|||||||
Returns:
|
Returns:
|
||||||
- Zero or more successful `string` box pub keys in the `"removed"` section
|
- Zero or more successful `string` box pub keys in the `"removed"` section
|
||||||
- Zero or more failed `string` box pub keys in the `"not_removed"` section
|
- Zero or more failed `string` box pub keys in the `"not_removed"` section
|
||||||
|
|
||||||
|
#### `getMulticastInterfaces`
|
||||||
|
|
||||||
|
Expects no additional request fields.
|
||||||
|
|
||||||
|
Returns zero or more strings containing the enabled multicast peering interfaces.
|
||||||
|
|
||||||
|
If zero strings are returned then it is implied that multicast peering is not allowed on any interface.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user