aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
AgeCommit message (Collapse)Author
2007-08-22 r14185@Kushana: nickm | 2007-08-22 11:07:01 -0400Nick Mathewson
Add some voting-related documentation. svn:r11255
2007-08-19get rid of a debugging message that non v3-authorities wereRoger Dingledine
seeing too, and that doesn't seem to be critical svn:r11179
2007-08-15 r14049@Kushana: nickm | 2007-08-15 14:43:56 -0400Nick Mathewson
Implement code to serve pending votes, consensuses, and signatures. svn:r11125
2007-08-15 r14045@Kushana: nickm | 2007-08-15 13:07:21 -0400Nick Mathewson
Add more logs to try to hunt down latest voting bug. svn:r11123
2007-08-15 r14043@Kushana: nickm | 2007-08-15 12:12:25 -0400Nick Mathewson
Fix consensus signatures: regenerate the entire signature list when we get a new signature, rather than just appending the new signature. This lets us tentatively accept weird signatures, since we can replace them with better ones later. svn:r11122
2007-08-15 r14032@Kushana: nickm | 2007-08-15 11:35:16 -0400Nick Mathewson
Add unit tests for median functions; enforce sensible ranges for intervals and delays. svn:r11121
2007-08-14 r14017@Kushana: nickm | 2007-08-14 15:13:14 -0400Nick Mathewson
Enable more code for v3 voting timing information. Also, spec clarification. svn:r11107
2007-08-14 r14015@Kushana: nickm | 2007-08-14 12:39:04 -0400Nick Mathewson
Try to avoid adding duplicate signatures to a consensus. svn:r11105
2007-08-14 r14011@Kushana: nickm | 2007-08-14 10:29:49 -0400Nick Mathewson
Actually upload signatures when we vote. log more about the signatures we get. discard pending vote stuff after we publish. svn:r11104
2007-08-14 r14005@kushana: nickm | 2007-08-14 09:34:19 -0400Nick Mathewson
add a warning to find a bug (maybe) svn:r11100
2007-08-14 r14003@kushana: nickm | 2007-08-13 22:23:49 -0400Nick Mathewson
Resolve a pile of XXXXs in and around voting code svn:r11099
2007-08-14 r14001@kushana: nickm | 2007-08-13 20:06:36 -0400Nick Mathewson
Check for *at least* as many signatures as required, not for *more* signatures than required. svn:r11098
2007-08-13 r13998@kushana: nickm | 2007-08-13 19:20:28 -0400Nick Mathewson
Add some insanely verbose log messages on voting authorities. svn:r11097
2007-08-13 r14544@catbus: nickm | 2007-08-13 17:00:09 -0400Nick Mathewson
Give a 200 when a duplicate vote gets uploaded. svn:r11094
2007-08-13 r13992@Kushana: nickm | 2007-08-13 16:45:22 -0400Nick Mathewson
A vote we already have a nd a double-upload are different things. svn:r11093
2007-08-13 r13987@Kushana: nickm | 2007-08-13 16:17:09 -0400Nick Mathewson
Stop segfaulting on failed consensus. svn:r11090
2007-08-13 r13985@Kushana: nickm | 2007-08-13 16:05:07 -0400Nick Mathewson
Fix some simple logic errors in voting. svn:r11089
2007-08-13 r14531@catbus: nickm | 2007-08-13 14:46:25 -0400Nick Mathewson
Cache v3 networkstatus consensuses on disk. svn:r11086
2007-08-13 r14526@catbus: nickm | 2007-08-13 14:08:37 -0400Nick Mathewson
Make voting interval configurable. svn:r11083
2007-08-01 r13886@Kushana: nickm | 2007-08-01 09:43:06 -0700Nick Mathewson
Unit tests and debugging for detached signature manipulation. svn:r11015
2007-07-29 r13996@catbus: nickm | 2007-07-29 19:17:53 -0400Nick Mathewson
Fix whitespace svn:r10977
2007-07-29 r13989@catbus: nickm | 2007-07-29 19:11:07 -0400Nick Mathewson
More directory voting code. Now, if everything works, and I haven't forgotten anything, it is possible to set up some v3 authorities and start voting. Of course, I have probably forgotten something, and there are probably bugs in there somewhere too. svn:r10976
2007-07-28 r13956@catbus: nickm | 2007-07-27 20:09:48 -0400Nick Mathewson
Better certificate manipulations: extract certificates from incoming votes, forget ones that are very old, and remember to store them on disk. svn:r10954
2007-07-27 r13946@catbus: nickm | 2007-07-27 16:09:31 -0400Nick Mathewson
Fix median_int for platforms where sizeof(int)!=sizeof(time_t) svn:r10949
2007-07-27 r13938@catbus: nickm | 2007-07-27 14:26:07 -0400Nick Mathewson
More code to handle incoming consensus signatures svn:r10946
2007-07-27 r13937@catbus: nickm | 2007-07-27 12:43:36 -0400Nick Mathewson
Maintain a detached-signatures document along with pending consensus document. Add a dirvote_free_all() to clean up static vars in dirvote.c svn:r10945
2007-07-27 r13936@catbus: nickm | 2007-07-27 12:23:26 -0400Nick Mathewson
Code to implement detached signature documents. svn:r10944
2007-07-26 r13924@catbus: nickm | 2007-07-26 16:46:45 -0400Nick Mathewson
We can have multiple authority certificates for an authority at a time: make the code reflect that. svn:r10937
2007-07-26 r13921@catbus: nickm | 2007-07-26 16:26:48 -0400Nick Mathewson
Code to add signatures to a pending consensus directory. svn:r10936
2007-07-25 r13904@catbus: nickm | 2007-07-25 18:04:46 -0400Nick Mathewson
Fix whitespaces and compilation in and around dirvote code. svn:r10929
2007-07-25 r13902@catbus: nickm | 2007-07-25 17:43:52 -0400Nick Mathewson
Some dirvote code to handle generating votes and slinging them around. More code is still needed. svn:r10927
2007-07-19 r13826@catbus: nickm | 2007-07-19 12:21:30 -0400Nick Mathewson
Fix a copy-and-paste error in dirvote.c svn:r10879
2007-07-18 r13821@catbus: nickm | 2007-07-18 16:29:17 -0400Nick Mathewson
Initial code to manipulate vote timing correctly. svn:r10873
2007-07-02the non-controversial changes i found in my sandboxRoger Dingledine
svn:r10729
2007-06-17 r13438@catbus: nickm | 2007-06-15 15:01:42 -0400Nick Mathewson
document some functions svn:r10637
2007-06-17 r13418@catbus: nickm | 2007-06-14 13:29:21 -0400Nick Mathewson
Adjust networkstatus_compute_consensus to take an argument saying how many voters there _should_ be. svn:r10634
2007-06-13 r13409@catbus: nickm | 2007-06-13 18:01:56 -0400Nick Mathewson
Test the remainder of the contents of the consensus; fix a bug in geneating addresses on routerstatuses. svn:r10597
2007-06-13 r13403@catbus: nickm | 2007-06-13 16:15:44 -0400Nick Mathewson
Test all of consensus contents, except for routerstatus_list contents. And signatures. svn:r10593
2007-06-13 r13395@catbus: nickm | 2007-06-13 15:01:23 -0400Nick Mathewson
Unit tests and debugging for generating and parsing consensus networkstatus documents. Still need to test actual contents. svn:r10589
2007-06-13 r13387@catbus: nickm | 2007-06-13 14:15:49 -0400Nick Mathewson
Unit tests and debugging for vote generation and parsing code. svn:r10587
2007-06-08 r13325@catbus: nickm | 2007-06-08 15:02:37 -0400Nick Mathewson
Parse networkstatuses (v2, vote, and consensus) after generating them, and fail fast if there is a parse error. svn:r10540
2007-06-08 r13314@catbus: nickm | 2007-06-08 14:30:31 -0400Nick Mathewson
Enfore that known_flags in networkstatus votes must be unique. svn:r10534
2007-06-08 r13313@catbus: nickm | 2007-06-08 14:23:11 -0400Nick Mathewson
Refactor v3 vote generation code into "build a networkstatus_vote_t" and "format a networkstatus_vote_t". This should make testing possible. svn:r10533
2007-06-04 r13252@catbus: nickm | 2007-06-04 18:57:21 -0400Nick Mathewson
Code to check signatures on consensus directories. svn:r10492
2007-06-04 r13250@catbus: nickm | 2007-06-04 18:28:55 -0400Nick Mathewson
Adapt code to parse v3 networkstatus votes so it can also parse a consensus. Make networkstatus_vote_t the catch-all type for votes and conensuses. Correct/clarify the second argument to directory-signature. svn:r10491
2007-06-04 r13248@catbus: nickm | 2007-06-04 15:53:23 -0400Nick Mathewson
More code to generate a consensus from a list of votes. Now, we handle Named, and we actually generate and sign the signed consensus. Yippee. Still needs testing. Still not actually called. svn:r10490
2007-06-04 r13243@catbus: nickm | 2007-06-04 15:17:15 -0400Nick Mathewson
Start of code to compute consensus network-status stuff from a bunch of votes. Strangely, it does not yet feel like an enormous ugly hack. svn:r10489
2007-06-03 r13166@catbus: nickm | 2007-06-02 23:02:40 -0400Nick Mathewson
First cut at code to parse and validate v3 networkstatus votes. svn:r10461