diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-23 17:18:20 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-23 17:18:20 -0700 |
commit | d647a587a1c920cdf58ce77872280e4e4ec9cca9 (patch) | |
tree | 0a548e6819a26eab49fc8a3670aff915fd0560c0 /node/Constants.hpp | |
parent | a493fc23f4305f80d93f0879324aa87f536a1a90 (diff) | |
download | infinitytier-d647a587a1c920cdf58ce77872280e4e4ec9cca9.tar.gz infinitytier-d647a587a1c920cdf58ce77872280e4e4ec9cca9.zip |
(1) Fix updating of network revision counter on member change.
(2) Go back to timestamp as certificate revision number. This is simpler
and more robust than using the network revision number for this and
forcing network revision fast-forward, which could cause some peers
to fall off the horizon when you don't want them to.
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r-- | node/Constants.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp index d15fef13..c192381c 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -158,7 +158,7 @@ /** * Maximum number of packet fragments we'll support - * + * * The actual spec allows 16, but this is the most we'll support right * now. Packets with more than this many fragments are dropped. */ @@ -216,7 +216,7 @@ /** * Maximum number of ZT hops allowed (this is not IP hops/TTL) - * + * * The protocol allows up to 7, but we limit it to something smaller. */ #define ZT_RELAY_MAX_HOPS 3 |