Online help. Change refresh algorithm to refresh farther away buckets before closer ones. Remove (without replacement) stale routing nodes at some point. Debug why disabled-6 does not get peer/key storage. Give different networks a different minimum count to terminate bootstrap. Imperically, tox4: 6 buckets, tox6: 3 buckets handle exception: dhtd: Network.Socket.sendTo: does not exist (Network is unreachable tox: fallback to https://nodes.tox.chat/json tox: bootstrap motd query tox: nat ping tox: base64 read/show tox: cache diffie-helman secrets tox: Expire old Tox keys. tox: Chat support. bt: Collect PeerStore garbage: "Note that you should call .put() every hour for content that you want to keep alive, since nodes may discard data nodes older than 2 hours." (source: https://www.npmjs.com/package/bittorrent-dht) bt: Limit peers in get_peers response for UDP packet size limiting (around 1k). bt: Use LMDB backend for peer store (and nodes too?). Notes: new commands: p - put/publish a single given datum on a single given node. When destination address (node-addr) is optional, it's absense means to publish information in the local node's own database. Bittorrent: (peer) publish yourself as peer in swarm. arguments: {"id" : "", "implied_port": <0 or 1>, "info_hash" : "<20-byte infohash of target torrent>", "port" : , "token" : ""} response: {"id" : ""} p peer [node-addr] Tox: (toxid) publish a rendezvous onion route to dht node. (friend) publish friend-request to rendezvous point. (dhtkey) publish dht-nodeid to rendezvous point. p toxid [node-addr] p friend p dhtkey a - announce, like put/publish but automatically selects nodes to publish on and continually refreshes the records. The method name is preceded with a + to start or a - to stop a given recuring publication. a - with no arguments would list the currently active recuring publications. a +peer a +peer a +toxid a +friend a +dhtkey k - manage key-pairs k (list keys) k gen (generate new key and list keys) k add (input a specific secret key) k del k secrets (list key pairs, including secret keys)