Permalink
Browse files

dhtrunner: improve getId()/getNodeId() documentation.

  • Loading branch information...
aberaud committed Oct 29, 2018
1 parent f9a12a9 commit 971f96bf95cf04c5c4ee22ceae6488b309f4bc7e
Showing with 7 additions and 1 deletion.
  1. +1 −1 include/opendht/dht_interface.h
  2. +6 −0 include/opendht/dhtrunner.h
@@ -40,7 +40,7 @@ class OPENDHT_PUBLIC DhtInterface {
virtual NodeStatus getStatus() const = 0;
/**
* Get the ID of the node.
* Get the ID of the DHT node.
*/
virtual const InfoHash& getNodeId() const = 0;
@@ -248,8 +248,14 @@ class OPENDHT_PUBLIC DhtRunner {
void dumpTables() const;
/**
* Get the public key fingerprint if an identity is used with this node, 0 otherwise.
*/
InfoHash getId() const;
/**
* Get the ID of the DHT node.
*/
InfoHash getNodeId() const;
/**

0 comments on commit 971f96b

Please sign in to comment.