aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
Commit message (Collapse)AuthorAge
* Create routerparse.hSebastian Hahn2010-07-27
|
* Create rephist.hSebastian Hahn2010-07-27
|
* Create policies.hSebastian Hahn2010-07-27
|
* Create networkstatus.hSebastian Hahn2010-07-27
|
* Create microdesc.hSebastian Hahn2010-07-27
|
* Create dirvote.hSebastian Hahn2010-07-27
|
* Create dirserv.hSebastian Hahn2010-07-27
|
* Create directory.hSebastian Hahn2010-07-27
|
* Create config.hSebastian Hahn2010-07-27
|
* Create routerlist.hSebastian Hahn2010-07-27
|
* Create router.hSebastian Hahn2010-07-27
|
* immediate reachability check for new relaysRoger Dingledine2010-04-21
|
* fetch unknown descriptors if we see them in a voteRoger Dingledine2010-04-20
|
* minor cleanupsRoger Dingledine2010-04-20
|
* Merge branch 'asprintf'Nick Mathewson2010-04-02
|\
| * Tweak users of snprintf to use asprintf where appropriateNick Mathewson2010-02-28
| |
* | Segfault less during consensus generation without paramsSebastian Hahn2010-03-29
| | | | | | | | | | If no authority votes on any params, Tor authorities segfault when trying to make a new consensus from the votes. Let's change that.
* | Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-02-27
|\ \ | | | | | | | | | | | | | | | Conflicts: src/common/test.h src/or/test.c
| * | Update Tor Project copyright yearsNick Mathewson2010-02-27
| | |
* | | For integers, if !(E<G), then we can infer that E>=G.Nick Mathewson2010-02-25
| | | | | | | | | | | | | | | | | | | | | | | | This means that "if (E<G) {abc} else if (E>=G) {def}" can be replaced with "if (E<G) {abc} else {def}" Doing the second test explicitly made my mingw gcc nervous that we might never be initializing casename.
* | | Fix 64-bit printf issues in consensus-bw-weights5-merge.Nick Mathewson2010-02-25
| | | | | | | | | | | | | | | | | | | | | | | | For my 64-bit Linux system running with GCC 4.4.3-fc12-whatever, you can't do 'printf("%lld", (int64_t)x);' Instead you need to tell the compiler 'printf("%lld", (long long int)x);' or else it doesn't believe the types match. This is why we added U64_PRINTF_ARG; it looks like we needed an I64_PRINTF_ARG too.
* | | Check snprintf return values in format_networkstatus_vote.Mike Perry2010-02-25
| | | | | | | | | | | | | | | Maybe this is what parakeep was complaining about? Really wish he would stick around more. Playing these guessing games is not fun :(
* | | Cast our weights down to ints from int64.Mike Perry2010-02-25
| | | | | | | | | | | | | | | They are capped to be between 0 and weight_scale (10000) by the code just before the snprintf.
* | | Make unit tests work.Mike Perry2010-02-24
| | | | | | | | | | | | | | | Still not sure why they generate an empty consensus document.. Too much frobbing going on there.
* | | Add consensus method #defines.Mike Perry2010-02-22
| | |
* | | Clearly mark directory footer so we parse the new weight line.Mike Perry2010-02-22
| | |
* | | Add parsing+verification for bw weight values.Mike Perry2010-02-22
| | |
* | | Perform calculation of consensus bandwidth weights.Mike Perry2010-02-22
| |/ |/| | | | | | | Also add bwweightscale consensus param. Use it as our fixed-point calculation width.
* | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
| |
* | *_free functions now accept NULLSebastian Hahn2009-12-12
| | | | | | | | | | | | | | | | Some *_free functions threw asserts when passed NULL. Now all of them accept NULL as input and perform no action when called that way. This gains us consistence for our free functions, and allows some code simplifications where an explicit null check is no longer necessary.
* | Not everybody likes debugging printfs as much as INick Mathewson2009-11-18
| |
* | Do not report a partially-successful detached signature add as failed.Nick Mathewson2009-11-17
| | | | | | | | | | Also, regenerate the detached-signature document whenever any signatures are successfully added.
* | Fix a memory leak on directory authorities during votingRoger Dingledine2009-11-12
| | | | | | | | | | Fix a memory leak on directory authorities during voting that was introduced in 0.2.2.1-alpha. Found via valgrind.
* | Fix bug 1066.Karsten Loesing2009-10-26
| | | | | | | | | | | | If all authorities restart at once right before a consensus vote, nobody will vote about "Running", and clients will get a consensus with no usable relays. Instead, authorities refuse to build a consensus if this happens.
* | Fix two bugs found by Coverity scan.Nick Mathewson2009-10-19
| | | | | | | | | | One was a simple buffer overrun; the other was a high-speed pointer collision. Both were introduced by my microdescs branch.
* | Fix compile with warnings problems on Snow LeopardSebastian Hahn2009-10-19
| |
* | Document the microdescriptor code better.Nick Mathewson2009-10-18
| |
* | Actually remember all the consensus types when we are done generating them.Nick Mathewson2009-10-15
| |
* | Implement signatures for microdesc consensuses right.Nick Mathewson2009-10-15
| | | | | | | | | | This means we need to handle the existence of multiple flavors of signature in a detached signatures document, generate them correctly, and so on.
* | Generate all the flavors of consensuses when building consensuses.Nick Mathewson2009-10-15
| |
* | Refactor consensus signature storage for multiple digests and flavors.Nick Mathewson2009-10-15
| | | | | | | | | | | | | | | | This patch introduces a new type called document_signature_t to represent the signature of a consensus document. Now, each consensus document can have up to one document signature per voter per digest algorithm. Also, each detached-signatures document can have up to one signature per <voter, algorithm, flavor>.
* | Code to generate, store, and parse microdescriptors and consensuses.Nick Mathewson2009-10-15
| | | | | | | | | | The consensus documents are not signed properly, not served, and not exchanged yet.
* | Functions to encode microdescriptors and their lines.Nick Mathewson2009-10-15
| |
* | Make signature-generation code handle different key and digest lengths.Nick Mathewson2009-10-15
| |
* | Fix compile on Snow LeopardSebastian Hahn2009-09-15
| |
* | Implement proposal 167: Authorities vote on network parameters.Nick Mathewson2009-09-14
| | | | | | | | | | | | | | | | This code adds a new field to vote on: "params". It consists of a list of sorted key=int pairs. The output is computed as the median of all the integers for any key on which anybody voted. Improved with input from Roger.
* | Make consensus_method_is_supported() be the canonical source for its info.Nick Mathewson2009-08-20
| | | | | | | | | | Add a new function to derive the declared method list from consensus_method_is_supported().
* | Throw the switch on consensus method 6.Mike Perry2009-08-06
| |
* | Implement measured bw parsing + unit tests.Mike Perry2009-08-06
| |
* | fix comments and other typosRoger Dingledine2009-07-13
|/