diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-09-17 18:05:48 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-09-20 11:00:27 -0400 |
commit | f8b44eedf725cadb15c3a0ad1bc5a0fa1dbbc21d (patch) | |
tree | c6f99d0d664da350fbb2c774f483887288f178ca /src/or/or.h | |
parent | 1d0ba9a61f0bc30209a8eae48b863241044b6b23 (diff) | |
download | tor-f8b44eedf725cadb15c3a0ad1bc5a0fa1dbbc21d.tar.gz tor-f8b44eedf725cadb15c3a0ad1bc5a0fa1dbbc21d.zip |
Get ready to stop sending timestamps in INTRODUCE cells
For now, round down to the nearest 10 minutes. Later, eliminate entirely by
setting a consensus parameter.
(This rounding is safe because, in 0.2.2, where the timestamp mattered,
REND_REPLAY_TIME_INTERVAL was a nice generous 60 minutes.)
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 8c6c1e3635..eff5a6d2b4 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -4099,6 +4099,9 @@ typedef struct { /** How long (seconds) do we keep a guard before picking a new one? */ int GuardLifetime; + + /** Should we send the timestamps that pre-023 hidden services want? */ + int Support022HiddenServices; } or_options_t; /** Persistent state for an onion router, as saved to disk. */ |