[tor-commits] [stem/master] Add StaleDesc flag
atagar at torproject.org
atagar at torproject.org
Mon Dec 17 18:44:02 UTC 2018
commit 098c571928c231fc12619049ddcb6e02a80cddaf
Author: Damian Johnson <atagar at torproject.org>
Date: Mon Dec 17 10:40:09 2018 -0800
Add StaleDesc flag
Recognize tor's new StaleDesc flag. This hasn't yet made its way into the
spec...
https://trac.torproject.org/projects/tor/ticket/28887
... but tor's changelog has a nice description of it. This removes a couple
more 'missing capability' notices from our test runs...
[Flag (consensus)] StaleDesc
[Flag (microdescriptor consensus)] StaleDesc
---
stem/__init__.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/stem/__init__.py b/stem/__init__.py
index d07b40ba..10a5d21b 100644
--- a/stem/__init__.py
+++ b/stem/__init__.py
@@ -78,6 +78,9 @@ Library for working with the tor process.
.. versionchanged:: 1.5.0
Added the NO_ED_CONSENSUS flag.
+ .. versionchanged:: 1.8.0
+ Added the STALE_DESC flag.
+
=================== ===========
Flag Description
=================== ===========
@@ -92,6 +95,7 @@ Library for working with the tor process.
**NO_ED_CONSENSUS** relay's Ed25519 doesn't reflrect the consensus
**RUNNING** relay is currently usable
**STABLE** relay's suitable for long-lived circuits
+ **STALE_DESC** relay descriptor is outdated and should be re-uploaded
**UNNAMED** relay isn't currently bound to a nickname
**V2DIR** relay supports the v2 directory protocol
**VALID** relay has been validated
@@ -724,6 +728,7 @@ Flag = stem.util.enum.Enum(
('NO_ED_CONSENSUS', 'NoEdConsensus'),
('RUNNING', 'Running'),
('STABLE', 'Stable'),
+ ('STALE_DESC', 'StaleDesc'),
('UNNAMED', 'Unnamed'),
('V2DIR', 'V2Dir'),
('V3DIR', 'V3Dir'),
More information about the tor-commits
mailing list