[tor-bugs] #20763 [Metrics/Consensus Health]: Add shared random to consensus health

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 24 23:46:59 UTC 2016


#20763: Add shared random to consensus health
------------------------------------------+-----------------
     Reporter:  teor                      |      Owner:  tom
         Type:  enhancement               |     Status:  new
     Priority:  Medium                    |  Milestone:
    Component:  Metrics/Consensus Health  |    Version:
     Severity:  Normal                    |   Keywords:
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+-----------------
 Consensus method 23 introduced the shared random protocol, which has lines
 like these in the votes:
 {{{
 shared-rand-participate
 shared-rand-commit 1 sha3-256 188AB2EB56A3E6E097386E02DE799B14FC515C82
 AAAAAFg2L
 YBcpntRXkieDarbOn7IXXJuzNNjSyjPvUGWGiWQuiHI7w==
 AAAAAFg2LYBO0rQDcdSHsKm74LNZmyZk
 4leZENT8iVV1dsIsrOwKdQ==
 shared-rand-commit 1 sha3-256 4CAEC248004A0DC6CE86EBD5F608C9B05500C70C
 AAAAAFg2L
 YDLqk+EH1tqita97dnlxpfBWq6MFqFR5RA+SRXIrjoiWA==
 AAAAAFg2LYCc0lvA9/n4lf5ZPhM9JiRk
 j1l+/P9b7sAtfvbE3Zjbuw==
 (one commit with an optional reveal per authority)
 shared-rand-previous-value 8 SaljvGkIUuVY5e4XRiXH85mcS71/7FMbHvaZxdx6CYU=
 shared-rand-current-value 8 Nb3qyVtVOkeUG3o2c0jYZN59m+w45O0VzwGd33rp0rg=
 }}}

 And lines like these in the consensus:
 {{{
 shared-rand-previous-value 8 SaljvGkIUuVY5e4XRiXH85mcS71/7FMbHvaZxdx6CYU=
 shared-rand-current-value 8 Nb3qyVtVOkeUG3o2c0jYZN59m+w45O0VzwGd33rp0rg=
 }}}

 It might be useful to have these in Consensus Health, particularly when
 the authorities on the public network are running 0.2.9 and later.

 It would be useful to know, for each authority's commit and reveal in its
 own vote, how many other authorities have a vote with that authority's
 commit and reveal (and if any have mismatching values, that's a red flag).

 It would be useful to know, for the voted shared random current and
 previous values, how many other authorities have a the same, different, or
 missing voted current and previous value.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20763>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list