[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Add new consensus params
commit 7e9265b38361f5b70963c1c079606107e16a758b
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Mon Dec 2 15:28:15 2019 -0800
Add new consensus params
One new parameter, and another from an earlier commit I missed.
https://gitweb.torproject.org/torspec.git/commit/?id=29a110f
---
stem/descriptor/networkstatus.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stem/descriptor/networkstatus.py b/stem/descriptor/networkstatus.py
index 5f542c2f..cd65da9e 100644
--- a/stem/descriptor/networkstatus.py
+++ b/stem/descriptor/networkstatus.py
@@ -182,6 +182,8 @@ DEFAULT_PARAMS = {
'onion-key-grace-period-days': 7,
'hs_service_max_rdv_failures': 2,
'circ_max_cell_queue_size': 50000,
+ 'circpad_max_circ_queued_cells': 1000,
+ 'HiddenServiceEnableIntroDoSDefense': 0,
}
# KeyCertificate fields, tuple is of the form...
@@ -250,6 +252,8 @@ PARAM_RANGE = {
'onion-key-grace-period-days': (1, 90), # max is the highest onion-key-rotation-days
'hs_service_max_rdv_failures': (1, 10),
'circ_max_cell_queue_size': (1000, 4294967295),
+ 'circpad_max_circ_queued_cells': (0, 50000),
+ 'HiddenServiceEnableIntroDoSDefense': (0, 1),
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits