- 25 Feb, 2010 4 commits
-
-
Nick Mathewson authored
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.
-
Nick Mathewson authored
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.
-
Mike Perry authored
Maybe this is what parakeep was complaining about? Really wish he would stick around more. Playing these guessing games is not fun :(
-
Mike Perry authored
They are capped to be between 0 and weight_scale (10000) by the code just before the snprintf.
-
- 24 Feb, 2010 1 commit
-
-
Mike Perry authored
Still not sure why they generate an empty consensus document.. Too much frobbing going on there.
-
- 23 Feb, 2010 4 commits
-
-
Mike Perry authored
-
Mike Perry authored
-
Mike Perry authored
-
Mike Perry authored
Also add bwweightscale consensus param. Use it as our fixed-point calculation width.
-
- 12 Dec, 2009 2 commits
-
-
Nick Mathewson authored
-
Sebastian Hahn authored
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.
-
- 18 Nov, 2009 1 commit
-
-
Nick Mathewson authored
-
- 17 Nov, 2009 1 commit
-
-
Nick Mathewson authored
Also, regenerate the detached-signature document whenever any signatures are successfully added.
-
- 12 Nov, 2009 1 commit
-
-
Roger Dingledine authored
Fix a memory leak on directory authorities during voting that was introduced in 0.2.2.1-alpha. Found via valgrind.
-
- 27 Oct, 2009 1 commit
-
-
Karsten Loesing authored
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.
-
- 20 Oct, 2009 1 commit
-
-
Nick Mathewson authored
One was a simple buffer overrun; the other was a high-speed pointer collision. Both were introduced by my microdescs branch.
-
- 18 Oct, 2009 2 commits
-
-
Sebastian Hahn authored
-
Nick Mathewson authored
-
- 15 Oct, 2009 7 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
This means we need to handle the existence of multiple flavors of signature in a detached signatures document, generate them correctly, and so on.
-
Nick Mathewson authored
-
Nick Mathewson authored
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>.
-
Nick Mathewson authored
The consensus documents are not signed properly, not served, and not exchanged yet.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 15 Sep, 2009 2 commits
-
-
-
Nick Mathewson authored
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.
-
- 20 Aug, 2009 1 commit
-
-
Nick Mathewson authored
Add a new function to derive the declared method list from consensus_method_is_supported().
-
- 06 Aug, 2009 2 commits
-
-
Mike Perry authored
-
Mike Perry authored
-
- 13 Jul, 2009 1 commit
-
-
Roger Dingledine authored
-
- 28 May, 2009 1 commit
-
-
Nick Mathewson authored
-
- 27 May, 2009 1 commit
-
-
Nick Mathewson authored
-
- 04 May, 2009 1 commit
-
-
- 02 May, 2009 1 commit
-
-
Karsten Loesing authored
-
- 04 Jan, 2009 1 commit
-
-
Nick Mathewson authored
The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
-
- 22 Dec, 2008 3 commits
-
-
Nick Mathewson authored
svn:r17734
-
Nick Mathewson authored
Add DOCDOC comments for all undocumented functions. Add missing *s to other comments so that they will get recognized as doxygen. svn:r17729
-
Nick Mathewson authored
svn:r17727
-
- 02 Dec, 2008 1 commit
-
-
Nick Mathewson authored
svn:r17446
-