[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #16943 [Tor]: Implement prop250 (Random Number Generation During Tor Voting)



#16943: Implement prop250 (Random Number Generation During Tor Voting)
-------------------------+------------------------------------
 Reporter:  asn          |          Owner:  dgoulet
     Type:  enhancement  |         Status:  needs_review
 Priority:  High         |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor          |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:  tor-hs       |  Actual Points:
Parent ID:  #8244        |         Points:  large
  Sponsor:  SponsorR     |
-------------------------+------------------------------------

Comment (by teor):

 And finally, from clang-scan:

 In sr_act_post_consensus, this code can be executed when consensus is NULL
 - it should be surrounded by `if (consensus)` like some of the code above
 it:
 {{{
   /* Update our state with the valid_after time of the next consensus so
 once
    * the next voting period start we are ready to receive votes. */
   time_t next_consensus_valid_after =
     get_next_valid_after_time(consensus->valid_after);
   sr_state_update(next_consensus_valid_after);
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16943#comment:39>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs