aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-02-16 06:18:03 +0000
committerRoger Dingledine <arma@torproject.org>2009-02-16 06:18:03 +0000
commit9ded433abba2d1f59cbec8c5194a450851653dd2 (patch)
treeaad840caca835086e109d17a39811506507118f0 /doc
parent323b33386fdec2f4de75bc1e040d09fb9abb4bb7 (diff)
downloadtor-9ded433abba2d1f59cbec8c5194a450851653dd2.tar.gz
tor-9ded433abba2d1f59cbec8c5194a450851653dd2.zip
new controller event NEWCONSENSUS that lists the networkstatus
lines for every recommended relay. still needs docdoc and changelog entry. svn:r18556
Diffstat (limited to 'doc')
-rw-r--r--doc/spec/control-spec.txt22
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt
index 883c78f407..86bdf84052 100644
--- a/doc/spec/control-spec.txt
+++ b/doc/spec/control-spec.txt
@@ -1556,7 +1556,13 @@ $Id$
4.1.12. Network status has changed
Syntax:
- "650" "+" "NS" CRLF 1*NetworkStatus "." CRLF "650" SP "OK" CRLF
+ "650" "+" "NS" CRLF 1*NetworkStatus "." CRLF "650" SP "OK" CRLF
+
+ The event is used whenever our local view of a relay status changes.
+ This happens when we get a new v3 consensus (in which case the entries
+ we see are a duplicate of what we see in the NEWCONSENSUS event,
+ below), but it also happens when we decide to mark a relay as up or
+ down in our local status, for example based on connection attempts.
[First added in 0.1.2.3-alpha]
@@ -1596,6 +1602,20 @@ $Id$
set of "countrycode=count" pairs. For example,
650-CLIENTS_SEEN TimeStarted="Thu Dec 25 23:50:43 EST 2008"
650 CountrySummary=us=16,de=8,uk=8
+[XXX Matt Edman informs me that the time format above is wrong. -RD]
+
+4.1.15. New consensus networkstatus has arrived.
+
+ The syntax is:
+ "650" "+" "NEWCONSENSUS" CRLF 1*NetworkStatus "." CRLF "650" SP
+ "OK" CRLF
+
+ A new consensus networkstatus has arrived. We include NS-style lines for
+ every relay in the consensus. NEWCONSENSUS is a separate event from the
+ NS event, because the list here represents every usable relay: so any
+ relay *not* mentioned in this list is implicitly no longer recommended.
+
+ [First added in 0.2.1.13-alpha]
5. Implementation notes