mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
Improve the comment on networkstatus_compute_consensus()
This commit is contained in:
parent
22139c0b28
commit
305f947671
@ -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
|
/** 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>,
|
* 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
|
* 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
|
* voting quorum, generate the text of a new v3 consensus or microdescriptor
|
||||||
* value in a newly allocated string.
|
* 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
|
* Note: this function DOES NOT check whether the votes are from
|
||||||
* recognized authorities. (dirvote_add_vote does that.)
|
* recognized authorities. (dirvote_add_vote does that.)
|
||||||
|
Loading…
Reference in New Issue
Block a user