summaryrefslogtreecommitdiff
path: root/node/Packet.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-07 08:54:48 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-07 08:54:48 -0700
commitc863ff3f02e9d68eb9bea32160d252eaddb7f1f5 (patch)
treefee1fd7b40123e7f9b015f803cc3b523b8e0aa9a /node/Packet.hpp
parentf398952a6c03574e5947f6dfe5ea0f7b0f0b5224 (diff)
downloadinfinitytier-c863ff3f02e9d68eb9bea32160d252eaddb7f1f5.tar.gz
infinitytier-c863ff3f02e9d68eb9bea32160d252eaddb7f1f5.zip
A bunch of comments and cleanup, including some to yesterday's direct path pushing changes. Move path viability check to one place, and stop trying to use link-local addresses since they are not reliable.
Diffstat (limited to 'node/Packet.hpp')
-rw-r--r--node/Packet.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp
index 51a241ba..9787edb7 100644
--- a/node/Packet.hpp
+++ b/node/Packet.hpp
@@ -678,9 +678,10 @@ public:
* <[...] serialized certificate of membership>
* [ ... additional certificates may follow ...]
*
- * Certificate contains network ID, peer it was issued for, etc.
- *
- * OK/ERROR are not generated.
+ * OK/ERROR are not generated, but the recipient should push its network
+ * membership certificate if the certificate the peer pushed is valid
+ * and agrees and if it hasn't done so in too long. This ensures instant
+ * network authentication setup between valid and authorized peers.
*/
VERB_NETWORK_MEMBERSHIP_CERTIFICATE = 10,