Age | Commit message (Collapse) | Author |
|
Add some voting-related documentation.
svn:r11255
|
|
seeing too, and that doesn't seem to be critical
svn:r11179
|
|
Implement code to serve pending votes, consensuses, and signatures.
svn:r11125
|
|
Add more logs to try to hunt down latest voting bug.
svn:r11123
|
|
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
|
|
Add unit tests for median functions; enforce sensible ranges for intervals and delays.
svn:r11121
|
|
Enable more code for v3 voting timing information. Also, spec clarification.
svn:r11107
|
|
Try to avoid adding duplicate signatures to a consensus.
svn:r11105
|
|
Actually upload signatures when we vote. log more about the signatures we get. discard pending vote stuff after we publish.
svn:r11104
|
|
add a warning to find a bug (maybe)
svn:r11100
|
|
Resolve a pile of XXXXs in and around voting code
svn:r11099
|
|
Check for *at least* as many signatures as required, not for *more* signatures than required.
svn:r11098
|
|
Add some insanely verbose log messages on voting authorities.
svn:r11097
|
|
Give a 200 when a duplicate vote gets uploaded.
svn:r11094
|
|
A vote we already have a nd a double-upload are different things.
svn:r11093
|
|
Stop segfaulting on failed consensus.
svn:r11090
|
|
Fix some simple logic errors in voting.
svn:r11089
|
|
Cache v3 networkstatus consensuses on disk.
svn:r11086
|
|
Make voting interval configurable.
svn:r11083
|
|
Unit tests and debugging for detached signature manipulation.
svn:r11015
|
|
Fix whitespace
svn:r10977
|
|
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
|
|
Better certificate manipulations: extract certificates from incoming votes, forget ones that are very old, and remember to store them on disk.
svn:r10954
|
|
Fix median_int for platforms where sizeof(int)!=sizeof(time_t)
svn:r10949
|
|
More code to handle incoming consensus signatures
svn:r10946
|
|
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
|
|
Code to implement detached signature documents.
svn:r10944
|
|
We can have multiple authority certificates for an authority at a time: make the code reflect that.
svn:r10937
|
|
Code to add signatures to a pending consensus directory.
svn:r10936
|
|
Fix whitespaces and compilation in and around dirvote code.
svn:r10929
|
|
Some dirvote code to handle generating votes and slinging them around. More code is still needed.
svn:r10927
|
|
Fix a copy-and-paste error in dirvote.c
svn:r10879
|
|
Initial code to manipulate vote timing correctly.
svn:r10873
|
|
svn:r10729
|
|
document some functions
svn:r10637
|
|
Adjust networkstatus_compute_consensus to take an argument saying how many voters there _should_ be.
svn:r10634
|
|
Test the remainder of the contents of the consensus; fix a bug in geneating addresses on routerstatuses.
svn:r10597
|
|
Test all of consensus contents, except for routerstatus_list contents. And signatures.
svn:r10593
|
|
Unit tests and debugging for generating and parsing consensus networkstatus documents. Still need to test actual contents.
svn:r10589
|
|
Unit tests and debugging for vote generation and parsing code.
svn:r10587
|
|
Parse networkstatuses (v2, vote, and consensus) after generating them, and fail fast if there is a parse error.
svn:r10540
|
|
Enfore that known_flags in networkstatus votes must be unique.
svn:r10534
|
|
Refactor v3 vote generation code into "build a networkstatus_vote_t" and "format a networkstatus_vote_t". This should make testing possible.
svn:r10533
|
|
Code to check signatures on consensus directories.
svn:r10492
|
|
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
|
|
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
|
|
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
|
|
First cut at code to parse and validate v3 networkstatus votes.
svn:r10461
|