From 1bcf7bd2f72ff1d1e4df04cc61c4bb5dd12f6b8d Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 12 Oct 2017 12:58:29 -0400 Subject: [PATCH] docs --- docs/cli.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/cli.md b/docs/cli.md index 017865ff1..c0f84a0a4 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -759,6 +759,32 @@ Returns: resolvable ``` +## routing_table_get + +```text +Get DHT routing information + +Usage: + routing_table_get + +Returns: + (dict) dictionary containing routing and contact information + { + "buckets": { + : [ + { + "address": (str) peer address, + "node_id": (str) peer node id, + "blobs": (list) blob hashes announced by peer + } + ] + }, + "contacts": (list) contact node ids, + "blob_hashes": (list) all of the blob hashes stored by peers in the list of buckets, + "node_id": (str) the local dht node id + } +``` + ## settings_get ```text @@ -857,6 +883,8 @@ Returns: 'session_status': { 'managed_blobs': count of blobs in the blob manager, 'managed_streams': count of streams in the file manager + 'announce_queue_size': number of blobs currently queued to be announced + 'should_announce_blobs': number of blobs that should be announced } If given the dht status option: