summaryrefslogtreecommitdiff
path: root/src/feature/dirauth
AgeCommit message (Collapse)Author
2019-06-05Run "make autostyle."Nick Mathewson
2019-05-23Merge branch 'tor-github/pr/988'David Goulet
2019-05-15fix typos, whitespace, commentsRoger Dingledine
2019-05-14Merge branch 'ticket30452_035_v3' into ticket30452_041_v3Nick Mathewson
2019-05-14Add a --list-modules commandNick Mathewson
Closes ticket 30452.
2019-05-07Merge branch 'tor-github/pr/994'David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-05-02Make keypin.c dirauth-onlyNick Mathewson
2019-05-02Make the bwauth.c module dirauth-only.Nick Mathewson
2019-05-02Move voteflags.[ch] to become dirauth only.Nick Mathewson
For various reasons, this was a nontrivial movement. There are several places in the code where we do something like "update the flags on this routerstatus or node if we're an authority", and at least one where we pretended to be an authority when we weren't.
2019-04-30Make the process_descs.c module dirauth-only.Nick Mathewson
2019-04-30Make the recommend_pkg file dirauth-only.Nick Mathewson
2019-04-30Replace all remaining tor_mem_is_zero() with fast_mem_is_zero()Nick Mathewson
2019-04-30Merge branch 'tor-github/pr/993'George Kadianakis
2019-04-30Rename and clarify some functions for periodic eventsNick Mathewson
When we tell the periodic event manager about an event, we are "registering" that event. The event sits around without being usable, however, until we "connect" the event to libevent. In the end, we "disconnect" the event and remove its libevent parts. Previously, we called these operations "add", "setup", and "destroy", which led to confusion.
2019-04-30Move dirauth periodic events into dirauth module.Nick Mathewson
Closes ticket 30294.
2019-04-29Merge branch 'bug30316_035' into bug30316_040Nick Mathewson
Fixes conflicts and also moves bandwidth-file-digest.
2019-04-29Move bandwidth-file-headers line to appear in the correct vote sectionNick Mathewson
Fixes bug 30316; bugfix on 0.3.5.1-alpha.
2019-04-26Make nodelist_get_list() return a const pointer.Nick Mathewson
2019-04-25Merge remote-tracking branch 'tor-github/pr/889'Nick Mathewson
2019-04-25Merge remote-tracking branch 'tor-github/pr/922'Nick Mathewson
2019-04-11Move code for setting bridges as running to voteflags.cNeel Chauhan
2019-04-10bwauth: update measured bandwidth file commentsteor
We forgot to update function header comments and code comments when we made changes in 0.3.5.1-alpha and later. Closes 30112.
2019-04-05crypto_format: Remove the return values from digest256_to_base64()teor
... and ed25519_public_to_base64(). Also remove all checks for the return values, which were redundant anyway, because the functions never failed. Part of 29960.
2019-04-04Merge branch 'maint-0.4.0'Nick Mathewson
2019-04-04bwauth: Actually include the bandwidth-file-digest in authority votesteor
Fixes bug 29959; bugfix on 0.4.0.2-alpha.
2019-03-26Merge branch 'maint-0.4.0'George Kadianakis
2019-03-26Merge branch 'ticket29806_035_squashed_merged' into ↵teor
ticket29806_040_squashed_merged
2019-03-21Merge branch 'ticket29806_034_squashed' into ticket29806_035_squashed_mergedteor
Copy and paste the vote=0 code from the old src/or/dirserv.c to the new src/feature/dirauth/bwauth.c.
2019-03-20Merge branch 'maint-0.3.4' into maint-0.3.5teor
2019-03-12Merge branch 'maint-0.4.0'Nick Mathewson
2019-03-12Merge remote-tracking branch 'tor-github/pr/776' into maint-0.4.0Nick Mathewson
2019-02-22When a DirAuth checks reachability on itself and has IPv6, mark it as reachableNeel Chauhan
2019-02-13dirvote: Add the bandwidth file digest in the votejuga0
2019-02-13test: Add test to get the digest of a bw filejuga0
2019-02-13bwauth: Add function to get the digest of a bw filejuga0
2019-01-16Bump copyright date to 2019Nick Mathewson
2019-01-16Bump copyright date to 2019.Nick Mathewson
2018-12-05Merge remote-tracking branch 'public/prop298'Nick Mathewson
2018-12-05Merge branch 'prop293_squashed'Nick Mathewson
2018-12-03Make input argument const in set_routerstatus_from_routerinfo.Nick Mathewson
2018-12-03Keep list of dirauth flags in sync between dirvote.c and fuzz_vrs.cNick Mathewson
Suggested by Teor on PR
2018-12-01Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-30sr: Switch from tor_assert() to BUG()Neel Chauhan
Closes #19566 Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-11-25Vote on the StaleDesc flag from prop293Nick Mathewson
The StaleDesc flag tells relays that they need to upload a new descriptor soon, or they will drop out of the consensus.
2018-11-24Add a consensus method in which md families get canonicalized.Nick Mathewson
Implements prop298. Closes ticket 28266.
2018-11-09Merge branch 'subsystems'Nick Mathewson
2018-11-06Merge remote-tracking branch 'tor-github/pr/464'Nick Mathewson
2018-11-05Move the code that knows our tor version into a lowest-level libNick Mathewson
2018-10-31Merge branch 'networkstatus_mmap' into networkstatus_mmap_mergeNick Mathewson
2018-10-23dircache: make dirauths reject non UTF-8 descriptors and extrainfocypherpunks
Ticket #27367.