aboutsummaryrefslogtreecommitdiff
path: root/proposals/254-padding-negotiation.txt
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2018-11-06 01:25:45 +0000
committerMike Perry <mikeperry-git@torproject.org>2018-11-06 01:25:45 +0000
commit98e6c6637424fd1a887550a7336f193f6b84d50a (patch)
tree2e0f9611f0c719b9e594dc37c2e974cede96a8b5 /proposals/254-padding-negotiation.txt
parent470bde64e6d1161b0bcf0b266aa67ecbdd016774 (diff)
downloadtorspec-98e6c6637424fd1a887550a7336f193f6b84d50a.tar.gz
torspec-98e6c6637424fd1a887550a7336f193f6b84d50a.zip
Prop #254: The infinity bin is also special.
Diffstat (limited to 'proposals/254-padding-negotiation.txt')
-rw-r--r--proposals/254-padding-negotiation.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/proposals/254-padding-negotiation.txt b/proposals/254-padding-negotiation.txt
index 8cad35d..19ab6ce 100644
--- a/proposals/254-padding-negotiation.txt
+++ b/proposals/254-padding-negotiation.txt
@@ -201,14 +201,15 @@ are defined:
* Closest -- Remove from the closest non-empty bin by index
* Closest_time -- Remove from the closest non-empty bin by index, by time
-When all bins are empty in a histogram, the padding machine emits the internal
-"bins empty" event to itself.
+When all bins exept the infinity bin are empty in a histogram, the padding
+machine emits the internal "bins empty" event to itself.
Bin 0 and the bin before the infinity bin both have special rules for purposes
of token removal. While removing tokens, all values less than bin 0 are
treated as part of bin 0, and all values greater than
start_usec+rtt_estimate+range_sec are treated as part of the bin before the
-infinity bin.
+infinity bin. Tokens are not removed from the infinity bin when non-padding is
+sent. (They are only removed when an "infinite" delay is chosen).
3.2. State Machine Selection