aboutsummaryrefslogtreecommitdiff
path: root/proposals/254-padding-negotiation.txt
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2018-11-06 01:20:32 +0000
committerMike Perry <mikeperry-git@torproject.org>2018-11-06 01:20:32 +0000
commita66d8a650f6ab540fb6b63d09dc737e59eefb67a (patch)
treed16ac85f651a2c4de5f636beb386bb3538188d1b /proposals/254-padding-negotiation.txt
parentacd4a89c1c81d0de37c57313e31ffca7413ae511 (diff)
downloadtorspec-a66d8a650f6ab540fb6b63d09dc737e59eefb67a.tar.gz
torspec-a66d8a650f6ab540fb6b63d09dc737e59eefb67a.zip
Prop #254: Use range_usec instead of range_sec.
Diffstat (limited to 'proposals/254-padding-negotiation.txt')
-rw-r--r--proposals/254-padding-negotiation.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/proposals/254-padding-negotiation.txt b/proposals/254-padding-negotiation.txt
index f166d5f..e569dcc 100644
--- a/proposals/254-padding-negotiation.txt
+++ b/proposals/254-padding-negotiation.txt
@@ -156,13 +156,12 @@ The first bin of the histogram (bin 0) has 0 width, with a delay value of
start_usec+rtt_estimate (from the machine definition, and rtt estimate above).
The remaining bins are exponentially spaced, starting at this offset and
-covering the range of the histogram, which is range_sec*USEC_PER_SEC.
+covering the range of the histogram, which is range_usec.
-The intermediate bins thus divide the timespan range_sec*USEC_PER_SEC with
-offset start_usec+rtt_estimate, so that smaller bin indexes represent narrower
-time ranges, doubling up until the last bin. The last bin before the "infinity
-bin" thus covers [start_usec+rtt_estimate+range_sec*USEC_PER_SEC/2,
-CIRCPAD_DELAY_INFINITE).
+The intermediate bins thus divide the timespan range_usec with offset
+start_usec+rtt_estimate, so that smaller bin indexes represent narrower time
+ranges, doubling up until the last bin. The last bin before the "infinity bin"
+thus covers [start_usec+rtt_estimate+range_usec/2, CIRCPAD_DELAY_INFINITE).
This exponentially increasing bin width allows the histograms to most
accurately represent small interpacket delay (where accuracy is needed), and