summaryrefslogtreecommitdiff
path: root/node/Network.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-25 12:55:31 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-25 12:55:31 -0400
commit083ae2d0974394862735bf1ceff6a71f5e4dac64 (patch)
tree91c04580af64a720905a1e5fe55c0aeafaa1b928 /node/Network.hpp
parent668c428051706e33a1d5a411a1b446ca865a4854 (diff)
downloadinfinitytier-083ae2d0974394862735bf1ceff6a71f5e4dac64.tar.gz
infinitytier-083ae2d0974394862735bf1ceff6a71f5e4dac64.zip
Work in progress on RPC.
Diffstat (limited to 'node/Network.hpp')
-rw-r--r--node/Network.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/node/Network.hpp b/node/Network.hpp
index 417688f0..8429cf84 100644
--- a/node/Network.hpp
+++ b/node/Network.hpp
@@ -49,7 +49,15 @@ namespace ZeroTier {
class NodeConfig;
/**
- * Local network endpoint
+ * Local membership to a network
+ *
+ * Networks configure themselves via RPC by accessing the function
+ * com.zerotier.one.Network.bootstrap at any supernode. This returns
+ * a series of key/value pairs that includes the IP address
+ * information for this node on the network and -- for closed
+ * networks -- a URL to retreive the network's membership list.
+ * A SHA-256 hash is also included to verify the return from this
+ * URL query.
*/
class Network : NonCopyable
{