Alexander Færøy
|
64116ab97f
Fix tautological constant out-of-range comparison warnings.
|
7 years ago |
Alexander Færøy
|
a1e8ef0076
Fix DoubleNL warning from `make check-spaces`.
|
7 years ago |
Nick Mathewson
|
db370bb8a8
Test fix: expect old consensuses to be deleted if not deflate-compressed
|
7 years ago |
Nick Mathewson
|
30dfb36148
consdiffmgr: Reload latest consensus entries on start.
|
7 years ago |
Nick Mathewson
|
8100305e71
consdiffmgr: expose cached consensuses
|
7 years ago |
Nick Mathewson
|
7b0dcf5c4a
Cleanup logic: only retain zlib-compressed consensuses
|
7 years ago |
Nick Mathewson
|
151cd121a2
consdiffmgr: compress incoming consensuses in the background
|
7 years ago |
Nick Mathewson
|
6da31ec484
consdiffmgr: Extract the code for compressing and storing
|
7 years ago |
Nick Mathewson
|
c276c10d3b
Turn consdiffmgr.cache_max_age_hours into a parameter
|
7 years ago |
Nick Mathewson
|
6beb7028d8
Do not BUG on missing sha3-as-signed field
|
7 years ago |
Nick Mathewson
|
3af9704e45
bug#22143/prop#140: in consdiffmgr, store and use digest-as-signed
|
7 years ago |
Nick Mathewson
|
fd437f2a02
Remove special-casing for NO_METHOD in consdiffmgr.c
|
7 years ago |
Nick Mathewson
|
b8f7488e94
Fix a brazen memleak in consdiffmgr_add_consensus()
|
7 years ago |
Nick Mathewson
|
00a12337ff
Merge branches 'consdiffmgr_orig_squashed' and 'actually_compute_diffs_squashed'
|
7 years ago |
Nick Mathewson
|
1e1581a24e
Pre-compress consensus diffs with supported consensus methods.
|
7 years ago |
Nick Mathewson
|
a1172b6774
Store archived consensuses compressed on disk.
|
7 years ago |
Nick Mathewson
|
7a0964279f
Functionality to ensure there is space to add files to cache.
|
7 years ago |
Nick Mathewson
|
920475f293
New force-delete option on consensus_cache_delete_pending()
|
7 years ago |
Nick Mathewson
|
466e914088
Lower the file limit in consdiffmgr, to support seccomp2
|
7 years ago |
Nick Mathewson
|
fba8d7b222
Initialize consdiffmgr when running as (or becoming) a server.
|
7 years ago |
Sebastian Hahn
|
ee478bdf38
Fix coverity cid 1405510
|
7 years ago |
Nick Mathewson
|
24f7059704
Configure sandbox using consdiffmgr; free cdm on exit.
|
7 years ago |
Nick Mathewson
|
9e081a44a9
Teach consdiffmgr to remember two digests: one compressed, one not.
|
7 years ago |
Nick Mathewson
|
6cc21aa89c
consdiffmgr: add tests for cdm_entry_get_sha3_value
|
7 years ago |
Nick Mathewson
|
43d683e0ad
Fix reference leak & handle leak in consensus_diff_worker_replyfn
|
7 years ago |
Nick Mathewson
|
7ca86b9cd6
Add a hashtable to consdiffmgr to keep track of diff status
|
7 years ago |
Nick Mathewson
|
69a212ff3d
Consdiffmgr: extract "get a sha3 digest" function.
|
7 years ago |
Nick Mathewson
|
655f1c8e01
consdiffmgr: function to re-validate stored sha3 digests at startup
|
7 years ago |
Nick Mathewson
|
6c86e63029
Consdiffmgr: use aggressive-release flag on consensuses
|
7 years ago |
Nick Mathewson
|
35f6b678ab
Test the easiest cases of consdiffmgr_cleanup.
|
7 years ago |