diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-06-28 17:22:59 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-06-28 18:32:32 +0300 |
commit | 551ad20c43b39c384cbab9eee5442d4fa9cfefb1 (patch) | |
tree | d47cccc764228065b0e5c76df6e9c0a5bfa6b5f7 /src/or/protover.h | |
parent | c17a04376de9e0517e611ad164172e7a5de26953 (diff) | |
download | tor-551ad20c43b39c384cbab9eee5442d4fa9cfefb1.tar.gz tor-551ad20c43b39c384cbab9eee5442d4fa9cfefb1.zip |
nodelist: Make HSv3 protover magic numbers a bit more readable.
Diffstat (limited to 'src/or/protover.h')
-rw-r--r-- | src/or/protover.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/protover.h b/src/or/protover.h index 22667bed79..2066aeec72 100644 --- a/src/or/protover.h +++ b/src/or/protover.h @@ -17,6 +17,11 @@ /* This is a guess. */ #define FIRST_TOR_VERSION_TO_ADVERTISE_PROTOCOLS "0.2.9.3-alpha" +/** The protover version number that signifies HSDir support for HSv3 */ +#define PROTOVER_HSDIR_V3 2 +/** The protover version number that signifies HSv3 intro point support */ +#define PROTOVER_HS_INTRO_V3 4 + /** List of recognized subprotocols. */ typedef enum protocol_type_t { PRT_LINK, |