aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirvote.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2021-01-16 23:40:18 -0500
committerDavid Goulet <dgoulet@torproject.org>2021-01-21 13:46:56 -0500
commit633b68bfe2cfaab41dc473923acc794e789a4c16 (patch)
tree8ab150417b032638ff1d825320821b8787aa7275 /src/feature/dirauth/dirvote.h
parent9e6064ec359a170ab37fb5d66ef7c46519ac1caa (diff)
downloadtor-633b68bfe2cfaab41dc473923acc794e789a4c16.tar.gz
tor-633b68bfe2cfaab41dc473923acc794e789a4c16.zip
log more during consensus voting process
Give more visibility to directory authority operators during the consensus voting process. Closes ticket 40245.
Diffstat (limited to 'src/feature/dirauth/dirvote.h')
-rw-r--r--src/feature/dirauth/dirvote.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feature/dirauth/dirvote.h b/src/feature/dirauth/dirvote.h
index 4f48e45dc3..f9441773a7 100644
--- a/src/feature/dirauth/dirvote.h
+++ b/src/feature/dirauth/dirvote.h
@@ -99,6 +99,7 @@ void dirvote_dirreq_get_status_vote(const char *url, smartlist_t *items,
/* Storing signatures and votes functions */
struct pending_vote_t * dirvote_add_vote(const char *vote_body,
time_t time_posted,
+ const char *where_from,
const char **msg_out,
int *status_out);
int dirvote_add_signatures(const char *detached_signatures_body,
@@ -149,11 +150,13 @@ dirvote_dirreq_get_status_vote(const char *url, smartlist_t *items,
static inline struct pending_vote_t *
dirvote_add_vote(const char *vote_body,
time_t time_posted,
+ const char *where_from,
const char **msg_out,
int *status_out)
{
(void) vote_body;
(void) time_posted;
+ (void) where_from;
/* If the dirauth module is disabled, this should NEVER be called else we
* failed to safeguard the dirauth module. */
tor_assert_nonfatal_unreached();