summaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-10-15 12:08:55 -0400
committerteor <teor2345@gmail.com>2017-10-15 12:08:55 -0400
commit305f9476713b8c2d098dc6ba8098a4a9f39a86ad (patch)
treeebc75209fee366ae9ae93fc74b4d0914c45fdeaf /src/or/dirvote.c
parent22139c0b285e32639b35d671bef12277d3441791 (diff)
downloadtor-305f9476713b8c2d098dc6ba8098a4a9f39a86ad.tar.gz
tor-305f9476713b8c2d098dc6ba8098a4a9f39a86ad.zip
Improve the comment on networkstatus_compute_consensus()
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index ba0ab7a776..ee6691cbb7 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1315,8 +1315,9 @@ compute_nth_protocol_set(int n, int n_voters, const smartlist_t *votes)
/** Given a list of vote networkstatus_t in <b>votes</b>, our public
* authority <b>identity_key</b>, our private authority <b>signing_key</b>,
* and the number of <b>total_authorities</b> that we believe exist in our
- * voting quorum, generate the text of a new v3 consensus vote, and return the
- * value in a newly allocated string.
+ * voting quorum, generate the text of a new v3 consensus or microdescriptor
+ * consensus (depending on <b>flavor</b>), and return the value in a newly
+ * allocated string.
*
* Note: this function DOES NOT check whether the votes are from
* recognized authorities. (dirvote_add_vote does that.)