summaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorMatt Traudt <sirmatt@ksu.edu>2016-10-03 21:09:25 -0400
committerNick Mathewson <nickm@torproject.org>2016-10-26 16:37:16 -0400
commit7ba0ae942638794c4c1e80e0ff3fb9eca514839c (patch)
tree6d3c855e5d12fc4a340cdc1a020a221859062d8f /src/or/dirvote.c
parent909ee0e55fa7f03b8b85bc220ba11d91cb495d06 (diff)
downloadtor-7ba0ae942638794c4c1e80e0ff3fb9eca514839c.tar.gz
tor-7ba0ae942638794c4c1e80e0ff3fb9eca514839c.zip
Add consensus weight calculation tests
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 4a955e35de..3d23119e51 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -913,7 +913,7 @@ networkstatus_check_weights(int64_t Wgg, int64_t Wgd, int64_t Wmg,
*
* It returns true if weights could be computed, false otherwise.
*/
-static int
+int
networkstatus_compute_bw_weights_v10(smartlist_t *chunks, int64_t G,
int64_t M, int64_t E, int64_t D,
int64_t T, int64_t weight_scale)