
commit ac536965c8e053a7304f6d38f4000020833cfe37 Author: Damian Johnson <atagar@torproject.org> Date: Mon Jan 22 09:01:29 2018 -0800 Add hs_service_max_rdv_failures consensus parameter https://gitweb.torproject.org/torspec.git/commit/?id=e7231f3 --- stem/descriptor/networkstatus.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stem/descriptor/networkstatus.py b/stem/descriptor/networkstatus.py index 9e7b74b8..9f14d4f8 100644 --- a/stem/descriptor/networkstatus.py +++ b/stem/descriptor/networkstatus.py @@ -167,6 +167,7 @@ DEFAULT_PARAMS = { 'try-diff-for-consensus-newer-than': 72, 'onion-key-rotation-days': 28, 'onion-key-grace-period-days': 7, + 'hs_service_max_rdv_failures': 2, } # KeyCertificate fields, tuple is of the form... @@ -218,6 +219,7 @@ PARAM_RANGE = { 'try-diff-for-consensus-newer-than': (0, 8192), '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), }