summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-10-28 11:15:21 -0400
committerNick Mathewson <nickm@torproject.org>2016-12-08 16:47:58 -0500
commit9e840e6c7d10a3dfa188d2186ce3c67ca1d698f5 (patch)
tree9361f0c7dc0663997200df0366bac68984916afd /src/or/or.h
parent6788418f28930467121537f31c4b43f981ae6ca8 (diff)
downloadtor-9e840e6c7d10a3dfa188d2186ce3c67ca1d698f5.tar.gz
tor-9e840e6c7d10a3dfa188d2186ce3c67ca1d698f5.zip
Add ExtendByEd25519ID consensus parameter/torrc option
I need to be able to turn on Ed25519 support in client generation of extend cells so I can test it, but leave it off-by-default until enough clients support it for us to turn it on for a bunch at once. This is part of #15056 / prop#220.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 32c194a7a8..0ebeda285a 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4571,6 +4571,10 @@ typedef struct {
/** If 1, we skip all OOS checks. */
int DisableOOSCheck;
+
+ /** Autobool: Should we include Ed25519 identities in extend2 cells?
+ * If -1, we should do whatever the consensus parameter says. */
+ int ExtendByEd25519ID;
} or_options_t;
/** Persistent state for an onion router, as saved to disk. */