prop250: Parse votes and consensus
commit0c26a6db7e683c23505c1c9187fd538c7b80ce31
authorDavid Goulet <dgoulet@torproject.org>
Tue, 3 May 2016 15:36:09 +0000 (3 11:36 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Fri, 1 Jul 2016 18:01:41 +0000 (1 14:01 -0400)
treea1ad7d2b48935a5f02a0abdf520e4e81a02f1268
parentca6ceec112f05ce68097429089ee428010c8b8d0
prop250: Parse votes and consensus

One of the last piece that parses the votes and consensus in order to update
our state and make decision for the SR values.

We need to inform the SR subsystem when we set the current consensus because
this can be called when loaded from file or downloaded from other authorities
or computed.

The voting schedule is used for the SR timings since we are bound to the
voting system.

Signed-off-by: David Goulet <dgoulet@torproject.org>
Signed-off-by: George Kadianakis <desnacked@riseup.net>
src/or/directory.c
src/or/dirvote.c
src/or/routerparse.c
src/or/shared_random.c
src/or/shared_random.h
src/or/shared_random_state.c
src/or/shared_random_state.h