[tor-commits] [stem/master] Add circ_max_cell_queue_size consensus parameter

atagar at torproject.org atagar at torproject.org
Mon Apr 16 16:29:45 UTC 2018


commit 82b22046f40f49579ff37c4247db50050334998a
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Apr 16 09:35:17 2018 -0700

    Add circ_max_cell_queue_size consensus parameter
    
    Noting a new parameter...
    
      https://gitweb.torproject.org/torspec.git/commit/?id=7a25d14
---
 stem/descriptor/networkstatus.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stem/descriptor/networkstatus.py b/stem/descriptor/networkstatus.py
index 2c1817cb..1be802f5 100644
--- a/stem/descriptor/networkstatus.py
+++ b/stem/descriptor/networkstatus.py
@@ -170,6 +170,7 @@ DEFAULT_PARAMS = {
   'onion-key-rotation-days': 28,
   'onion-key-grace-period-days': 7,
   'hs_service_max_rdv_failures': 2,
+  'circ_max_cell_queue_size': 50000,
 }
 
 # KeyCertificate fields, tuple is of the form...
@@ -224,6 +225,7 @@ PARAM_RANGE = {
   'onion-key-rotation-days': (1, 90),
   '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),
 }
 
 



More information about the tor-commits mailing list