Sebastian Hahn
|
5a7e39c0cb
Fix diff generation with line added at start
|
7 år sedan |
Nick Mathewson
|
eca9b3424d
consdiff: Fix 32-bit compilation.
|
7 år sedan |
Nick Mathewson
|
643c9078c9
Switch ed-command parsing to use tor_parse_long.
|
7 år sedan |
Nick Mathewson
|
672e2a5461
Consdiff: extract router ID hash iteration functions
|
7 år sedan |
Nick Mathewson
|
83049cebc0
Make CONSENSUS_LINE_MAX_LEN a real define
|
7 år sedan |
Nick Mathewson
|
5e81436428
Remove a couple of {\n\n instances
|
7 år sedan |
Nick Mathewson
|
e84276124b
Use a better for X outside of base64_compare_table.
|
7 år sedan |
Nick Mathewson
|
91e3250bf1
Reindent a few labels.
|
7 år sedan |
Nick Mathewson
|
d8c129a11a
Avoid all needless memory copies when computing consensus diffs.
|
7 år sedan |
Nick Mathewson
|
52fa6bb947
Swap memory allocation strategy for lists of lines for diffs
|
7 år sedan |
Nick Mathewson
|
b36e311eab
Fill in the missing documentation on the new functions
|
7 år sedan |
Nick Mathewson
|
12d428aaff
Prop140: Fix a crash bug.
|
7 år sedan |
Nick Mathewson
|
653c6d129e
Make consensus diff sha3 operations mockable.
|
7 år sedan |
Nick Mathewson
|
6a36e5ff3b
String-based API for consensus diffs.
|
7 år sedan |
Nick Mathewson
|
eff9fbd17d
Fix an abstraction violation.
|
7 år sedan |
Nick Mathewson
|
69b3e11e59
Use "const" in consdiff.[ch]
|
7 år sedan |
Nick Mathewson
|
3647751c2a
prop140: Use sha3-256, not sha2-256
|
7 år sedan |
Nick Mathewson
|
e1418c09fc
Fix an unreachable memory leak.
|
7 år sedan |
Nick Mathewson
|
f193b666cd
Remove digest[12]_hex
|
7 år sedan |
Nick Mathewson
|
c6046f4db8
Tweak&test log messages on apply_diff
|
7 år sedan |
Nick Mathewson
|
5766eed38f
Fixes when applying diffs: Allow 2-line diffs, fix bogus free
|
7 år sedan |
Nick Mathewson
|
ab1fd85c99
Mark some warnings as bugs, and as (hopefully) unreachable.
|
7 år sedan |
Nick Mathewson
|
06017f35e8
Fix some logging on failed apply_ed_diff
|
7 år sedan |
Nick Mathewson
|
97620cf18f
No need to end a log message with newline.
|
7 år sedan |
Nick Mathewson
|
360d043ac7
Use "STATIC" to export consdiff fns for testing
|
7 år sedan |
Daniel Martí
|
590ffdb2c9
Consensus diff backend from Daniel Martí GSOC project.
|
7 år sedan |