diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-10-29 13:36:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-05-28 10:42:29 -0400 |
commit | 525383c46d1430abf680133e486fc532050d7123 (patch) | |
tree | 3e4959911477becf970ca6150c3b82a860437abf /src/or/dirvote.h | |
parent | 0b819a2a7c8a79a222ffd8af0b239133f9becd7c (diff) | |
download | tor-525383c46d1430abf680133e486fc532050d7123.tar.gz tor-525383c46d1430abf680133e486fc532050d7123.zip |
Checkpoint some work on voting on ed25519 identities
* Include ed25519 identities in votes
* Include "no ed25519 identity" in votes
* Include some commented-out code about identity voting. (This
will disappear.)
* Include some functions for identity voting (These will disappear.)
* Enforce uniqueness in ed25519 keys within a vote
Diffstat (limited to 'src/or/dirvote.h')
-rw-r--r-- | src/or/dirvote.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/dirvote.h b/src/or/dirvote.h index edd5751090..0fb2b2599b 100644 --- a/src/or/dirvote.h +++ b/src/or/dirvote.h @@ -89,6 +89,9 @@ /** Lowest consensus method where authorities may include an "id" line for * ed25519 identities in microdescriptors. */ #define MIN_METHOD_FOR_ED25519_ID_IN_MD 21 +/** Lowest consensus method where authorities vote on ed25519 ids and ensure + * ed25519 id consistency. */ +#define MIN_METHOD_FOR_ED25519_ID_VOTING MIN_METHOD_FOR_ED25519_ID_IN_MD /** Default bandwidth to clip unmeasured bandwidths to using method >= * MIN_METHOD_TO_CLIP_UNMEASURED_BW. (This is not a consensus method; do not |