diff options
author | Matt Traudt <sirmatt@ksu.edu> | 2016-10-03 21:09:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-10-26 16:37:16 -0400 |
commit | 7ba0ae942638794c4c1e80e0ff3fb9eca514839c (patch) | |
tree | 6d3c855e5d12fc4a340cdc1a020a221859062d8f /src/or/dirvote.h | |
parent | 909ee0e55fa7f03b8b85bc220ba11d91cb495d06 (diff) | |
download | tor-7ba0ae942638794c4c1e80e0ff3fb9eca514839c.tar.gz tor-7ba0ae942638794c4c1e80e0ff3fb9eca514839c.zip |
Add consensus weight calculation tests
Diffstat (limited to 'src/or/dirvote.h')
-rw-r--r-- | src/or/dirvote.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/dirvote.h b/src/or/dirvote.h index 334734654a..ac7db69db2 100644 --- a/src/or/dirvote.h +++ b/src/or/dirvote.h @@ -238,6 +238,10 @@ STATIC smartlist_t *dirvote_compute_params(smartlist_t *votes, int method, int total_authorities); STATIC char *compute_consensus_package_lines(smartlist_t *votes); STATIC char *make_consensus_method_list(int low, int high, const char *sep); +STATIC 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); #endif #endif |