summaryrefslogtreecommitdiff
path: root/tor-dirmgr/src/docmeta.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add the "unreachable_pub" lint.Nick Mathewson2021-05-181-13/+13
| | | | | | This is a somewhat obnoxious change in its scope and requirements, but it makes it easier to understand what the real public and private parts of our APIs are.
* DirMgr: add text() and texts() functions to ask for document textNick Mathewson2021-03-311-1/+1
| | | | | Also, start on a larger refactoring where we ask for documents by their ID.
* Fix Rust-1.51 clippy warnings about acronyms in camel case.Nick Mathewson2021-03-291-5/+5
| | | | This is painful, but we shouldn't have to do it again.
* Initial tests for authcert storageNick Mathewson2020-11-301-0/+1
|
* tor-dirmgr: Refactor storage not to take AuthCert type.Nick Mathewson2020-11-301-1/+48
| | | | Add a new AuthCertMeta type to make it easier to test.
* tor-dirmgr: Refactor storage not to take Microdesc type.Nick Mathewson2020-11-301-2/+5
| | | | | Since all it needs is an MDDigest, that's what it should take. This will make it easier to test.
* Add a test for sha3_dualNick Mathewson2020-11-301-4/+26
|
* When storing consensuses, index them by the sha3 of the whole file.Nick Mathewson2020-11-231-10/+40
|
* Document and de-warning the rest of tor-dirmgrNick Mathewson2020-11-231-3/+14
|
* Move storage and config logic from netdir to dirmgr.Nick Mathewson2020-11-201-0/+36