aboutsummaryrefslogtreecommitdiff
path: root/padding-spec.txt
diff options
context:
space:
mode:
Diffstat (limited to 'padding-spec.txt')
-rw-r--r--padding-spec.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/padding-spec.txt b/padding-spec.txt
index 511ea01..2ffd33d 100644
--- a/padding-spec.txt
+++ b/padding-spec.txt
@@ -266,6 +266,16 @@ Table of Contents
immediately after sending their NETINFO cell. Recipients SHOULD, however,
accept padding negotiation messages at any time.
+ If a client which previously negotiated reduced, or disabled, padding, and
+ wishes to re-enable default padding (ie padding according to the consensus
+ parameters), it SHOULD send CELL_PADDING_NEGOTIATE START with zero in the
+ ito_low_ms and ito_high_ms fields. (It therefore SHOULD NOT copy the values
+ from its own established consensus into the CELL_PADDING_NEGOTIATE cell.)
+ This avoids the client needing to send updated padding negotiations if the
+ consensus parameters should change. The recipient's clamping of the timing
+ parameters will cause the recipienty to use its notion of the consensus
+ parameters.
+
Clients and bridges MUST reject padding negotiation messages from relays,
and close the channel if they receive one.