From ec0dd6f0c54e19f8fa601f21585ad75c147eb17d Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 9 Dec 2018 12:16:55 +0000 Subject: [PATCH] Update getDHT, add getMulticastInterfaces --- admin.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/admin.md b/admin.md index 529a449..3cc5b5d 100644 --- a/admin.md +++ b/admin.md @@ -102,10 +102,9 @@ The `"request"` field contains a verb that describes which request to perform. Expects no additional request fields. Returns known nodes in the DHT. -- `last_seen` (`uint32`) contains the number of seconds since the DHT record was last updated -- `bucket` (`uint8`) contains the ID of the bucket that the DHT record is stored in +- `box_pub_key` (`string`) contains the `EncryptionPublicKey` of the remote node - `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` @@ -223,3 +222,11 @@ Removes an existing box pub key. Returns: - 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 + +#### `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.