Nick Mathewson
38b84d9659
r14043@Kushana: nickm | 2007-08-15 12:12:25 -0400
...
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 16:12:40 +00:00
Nick Mathewson
d5bd7d9fa3
r14032@Kushana: nickm | 2007-08-15 11:35:16 -0400
...
Add unit tests for median functions; enforce sensible ranges for intervals and delays.
svn:r11121
2007-08-15 15:38:58 +00:00
Nick Mathewson
42fa1de585
r14017@Kushana: nickm | 2007-08-14 15:13:14 -0400
...
Enable more code for v3 voting timing information. Also, spec clarification.
svn:r11107
2007-08-14 20:19:40 +00:00
Nick Mathewson
25d2901857
r14015@Kushana: nickm | 2007-08-14 12:39:04 -0400
...
Try to avoid adding duplicate signatures to a consensus.
svn:r11105
2007-08-14 16:39:18 +00:00
Nick Mathewson
925394022a
r14011@Kushana: nickm | 2007-08-14 10:29:49 -0400
...
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 14:30:45 +00:00
Nick Mathewson
3268ab58f2
r14005@kushana: nickm | 2007-08-14 09:34:19 -0400
...
add a warning to find a bug (maybe)
svn:r11100
2007-08-14 13:34:35 +00:00
Nick Mathewson
cd5eaf53f9
r14003@kushana: nickm | 2007-08-13 22:23:49 -0400
...
Resolve a pile of XXXXs in and around voting code
svn:r11099
2007-08-14 02:23:57 +00:00
Nick Mathewson
7113ab8f90
r14001@kushana: nickm | 2007-08-13 20:06:36 -0400
...
Check for *at least* as many signatures as required, not for *more* signatures than required.
svn:r11098
2007-08-14 00:07:29 +00:00
Nick Mathewson
b6c548094c
r13998@kushana: nickm | 2007-08-13 19:20:28 -0400
...
Add some insanely verbose log messages on voting authorities.
svn:r11097
2007-08-13 23:23:06 +00:00
Nick Mathewson
9356a0b1dd
r14544@catbus: nickm | 2007-08-13 17:00:09 -0400
...
Give a 200 when a duplicate vote gets uploaded.
svn:r11094
2007-08-13 21:01:02 +00:00
Nick Mathewson
7d990b5aa1
r13992@Kushana: nickm | 2007-08-13 16:45:22 -0400
...
A vote we already have a nd a double-upload are different things.
svn:r11093
2007-08-13 20:45:36 +00:00
Nick Mathewson
94c90c42e3
r13987@Kushana: nickm | 2007-08-13 16:17:09 -0400
...
Stop segfaulting on failed consensus.
svn:r11090
2007-08-13 20:17:14 +00:00
Nick Mathewson
936edd901d
r13985@Kushana: nickm | 2007-08-13 16:05:07 -0400
...
Fix some simple logic errors in voting.
svn:r11089
2007-08-13 20:05:25 +00:00
Nick Mathewson
ce1f01c3e6
r14531@catbus: nickm | 2007-08-13 14:46:25 -0400
...
Cache v3 networkstatus consensuses on disk.
svn:r11086
2007-08-13 18:47:22 +00:00
Nick Mathewson
33cf3ada94
r14526@catbus: nickm | 2007-08-13 14:08:37 -0400
...
Make voting interval configurable.
svn:r11083
2007-08-13 18:09:38 +00:00
Nick Mathewson
a4e7dffc94
r13886@Kushana: nickm | 2007-08-01 09:43:06 -0700
...
Unit tests and debugging for detached signature manipulation.
svn:r11015
2007-08-01 16:43:44 +00:00
Nick Mathewson
3dbc825f36
r13996@catbus: nickm | 2007-07-29 19:17:53 -0400
...
Fix whitespace
svn:r10977
2007-07-29 23:18:06 +00:00
Nick Mathewson
77508edd36
r13989@catbus: nickm | 2007-07-29 19:11:07 -0400
...
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-29 23:11:44 +00:00
Nick Mathewson
afe9f33d35
r13956@catbus: nickm | 2007-07-27 20:09:48 -0400
...
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-28 00:11:34 +00:00
Nick Mathewson
0e5d8925d9
r13946@catbus: nickm | 2007-07-27 16:09:31 -0400
...
Fix median_int for platforms where sizeof(int)!=sizeof(time_t)
svn:r10949
2007-07-27 20:09:37 +00:00
Nick Mathewson
65cdda20b3
r13938@catbus: nickm | 2007-07-27 14:26:07 -0400
...
More code to handle incoming consensus signatures
svn:r10946
2007-07-27 18:33:34 +00:00
Nick Mathewson
10f166045b
r13937@catbus: nickm | 2007-07-27 12:43:36 -0400
...
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 18:33:30 +00:00
Nick Mathewson
a65cea38d2
r13936@catbus: nickm | 2007-07-27 12:23:26 -0400
...
Code to implement detached signature documents.
svn:r10944
2007-07-27 18:33:28 +00:00
Nick Mathewson
6c4864f351
r13924@catbus: nickm | 2007-07-26 16:46:45 -0400
...
We can have multiple authority certificates for an authority at a time: make the code reflect that.
svn:r10937
2007-07-26 20:49:04 +00:00
Nick Mathewson
fb2f3c035b
r13921@catbus: nickm | 2007-07-26 16:26:48 -0400
...
Code to add signatures to a pending consensus directory.
svn:r10936
2007-07-26 20:26:59 +00:00
Nick Mathewson
47f3a40900
r13904@catbus: nickm | 2007-07-25 18:04:46 -0400
...
Fix whitespaces and compilation in and around dirvote code.
svn:r10929
2007-07-25 22:56:50 +00:00
Nick Mathewson
a66f259354
r13902@catbus: nickm | 2007-07-25 17:43:52 -0400
...
Some dirvote code to handle generating votes and slinging them around. More code is still needed.
svn:r10927
2007-07-25 22:56:44 +00:00
Nick Mathewson
70aef18db1
r13826@catbus: nickm | 2007-07-19 12:21:30 -0400
...
Fix a copy-and-paste error in dirvote.c
svn:r10879
2007-07-19 18:46:06 +00:00
Nick Mathewson
d920683718
r13821@catbus: nickm | 2007-07-18 16:29:17 -0400
...
Initial code to manipulate vote timing correctly.
svn:r10873
2007-07-18 20:46:12 +00:00
Roger Dingledine
5c1daed3ad
the non-controversial changes i found in my sandbox
...
svn:r10729
2007-07-02 22:07:53 +00:00
Nick Mathewson
3df7fc5e5a
r13438@catbus: nickm | 2007-06-15 15:01:42 -0400
...
document some functions
svn:r10637
2007-06-17 15:10:43 +00:00
Nick Mathewson
9e944d07f8
r13418@catbus: nickm | 2007-06-14 13:29:21 -0400
...
Adjust networkstatus_compute_consensus to take an argument saying how many voters there _should_ be.
svn:r10634
2007-06-17 15:10:23 +00:00
Nick Mathewson
649a802322
r13409@catbus: nickm | 2007-06-13 18:01:56 -0400
...
Test the remainder of the contents of the consensus; fix a bug in geneating addresses on routerstatuses.
svn:r10597
2007-06-13 22:39:08 +00:00
Nick Mathewson
6462683669
r13403@catbus: nickm | 2007-06-13 16:15:44 -0400
...
Test all of consensus contents, except for routerstatus_list contents. And signatures.
svn:r10593
2007-06-13 20:17:27 +00:00
Nick Mathewson
c3626cdba7
r13395@catbus: nickm | 2007-06-13 15:01:23 -0400
...
Unit tests and debugging for generating and parsing consensus networkstatus documents. Still need to test actual contents.
svn:r10589
2007-06-13 19:06:23 +00:00
Nick Mathewson
0cf38ddef6
r13387@catbus: nickm | 2007-06-13 14:15:49 -0400
...
Unit tests and debugging for vote generation and parsing code.
svn:r10587
2007-06-13 18:16:05 +00:00
Nick Mathewson
1d6db7ec3d
r13325@catbus: nickm | 2007-06-08 15:02:37 -0400
...
Parse networkstatuses (v2, vote, and consensus) after generating them, and fail fast if there is a parse error.
svn:r10540
2007-06-08 19:02:39 +00:00
Nick Mathewson
171969656c
r13314@catbus: nickm | 2007-06-08 14:30:31 -0400
...
Enfore that known_flags in networkstatus votes must be unique.
svn:r10534
2007-06-08 18:41:12 +00:00
Nick Mathewson
7a6f3cd223
r13313@catbus: nickm | 2007-06-08 14:23:11 -0400
...
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-08 18:41:09 +00:00
Nick Mathewson
2e0713222b
r13252@catbus: nickm | 2007-06-04 18:57:21 -0400
...
Code to check signatures on consensus directories.
svn:r10492
2007-06-04 22:57:23 +00:00
Nick Mathewson
8b0e6a4466
r13250@catbus: nickm | 2007-06-04 18:28:55 -0400
...
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 22:29:00 +00:00
Nick Mathewson
8d1224eb51
r13248@catbus: nickm | 2007-06-04 15:53:23 -0400
...
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 19:54:02 +00:00
Nick Mathewson
bb6f53d60c
r13243@catbus: nickm | 2007-06-04 15:17:15 -0400
...
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-04 19:19:01 +00:00
Nick Mathewson
f4ce7f9c9b
r13166@catbus: nickm | 2007-06-02 23:02:40 -0400
...
First cut at code to parse and validate v3 networkstatus votes.
svn:r10461
2007-06-03 03:05:10 +00:00