aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-dirmgr/src/storage
Commit message (Expand)AuthorAgeFilesLines
* Remove users of fslock other than fslock-guard.Nick Mathewson2026-05-061-62/+70
* dirmgr: port to web-time-compat.Nick Mathewson2026-03-261-10/+16
* dirmgr: Stub out usage of Lockfile on wasm32-unknown.Nick Mathewson2026-03-251-2/+31
* Fix word duplicate typosTobias Stoeckmann2026-03-151-1/+1
* dirmgr: Rewrite .is_some()/.unwrap() using let matchGabriela Moldovan2025-12-011-4/+6
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-11/+17
* dirmgr, netdir: Store protocol requirments as soon as they are validated.Nick Mathewson2025-04-161-2/+0
* dirmgr: Backend support for cacheing protocol status.Nick Mathewson2025-04-161-1/+118
* tor-dirmgr: remove `dbg!`Steven Engler2025-03-051-1/+0
* sqlite: Handle vanished blobs during consensus loadingNick Mathewson2025-03-051-16/+38
* sqlite: add a method to tidy extdocs for vanished blobsNick Mathewson2025-03-051-1/+93
* sqlite.rs: Let read_blob signal whether it cleaned up.Nick Mathewson2025-03-051-8/+28
* sqlite: Extract body of latest_consensus into a new methodNick Mathewson2025-03-051-23/+33
* sqlite: Stop ignoring any errors.Nick Mathewson2025-03-051-3/+22
* sqlite: Add a comment about O(n) query.Nick Mathewson2025-03-051-0/+2
* sqlite.rs: Rustfmt.Nick Mathewson2025-03-051-86/+87
* sqlite.rs: Put SavedBlobHandle into its own moduleNick Mathewson2025-03-051-13/+30
* sqlite.rs: More comments about blob rollback.Nick Mathewson2025-03-051-1/+7
* sqlite.rs: Give SavedBlobHandle more methods.Nick Mathewson2025-03-051-24/+47
* sqlite.rs: add comments about consistencyNick Mathewson2025-03-051-2/+14
* sqlite.rs: Add a note on blob consistency (or lack thereof)Nick Mathewson2025-03-051-0/+77
* sqlite.rs: Rename dtype to digest_type to avoid further confusion.Nick Mathewson2025-03-051-6/+6
* dirmgr: Propagate row-conversion failure from expire_all.Nick Mathewson2025-03-051-5/+4
* dirmgr: When expiring a consensus, remove its blob.Nick Mathewson2025-03-051-2/+68
* dirmgr: Store the correct value in ExtDocs.typeNick Mathewson2025-03-051-2/+5
* Merge branch 'sqlite-race' into 'main'gabi-2502024-07-311-9/+38
|\
| * tor-dirmgr: Replace from_conn impl with a call to from_conn_internal helper.Gabriela Moldovan2024-07-301-7/+16
| * tor-dirmgr: Return an error if storage is readonly and DB is missing/incompat...Gabriela Moldovan2024-07-301-14/+34
* | tor-dirmgr: Use Path::try_exists() instead of Path::exists().Gabriela Moldovan2024-07-301-1/+1
|/
* tor-dirmgr: Add some duplicate dead code allowsIan Jackson2024-07-081-0/+2
* sqlite: (style) Use consistent casing on "ExtDocs"Nick Mathewson2024-06-181-2/+2
* storage: Remove orphaned files from dir_blobsNick Mathewson2024-06-121-0/+117
* dirmgr: create temporary testing stores with correct paths.Nick Mathewson2024-06-121-3/+3
* dirmgr::storage: Enable foreign keys on our sqlite connections.Nick Mathewson2024-06-121-0/+4
* dirmgr::storage: Treat a missing blob file as an absent object.Nick Mathewson2024-06-121-19/+36
* Mark tor_dirmgr::storage::Store::consensus_by_meta cfg(test)Ian Jackson2024-04-251-0/+1
* tor-dirmgr: Work around an apparent regression in `time`.Nick Mathewson2023-02-171-3/+3
* Fix a bunch of "needless borrow" warnings on nightlyNick Mathewson2022-11-181-2/+2
* sqlite cache: Document reasoning about timestampsIan Jackson2022-11-081-2/+9
* bridge desc: Implement storage functions at the DB layerIan Jackson2022-11-041-8/+67
* bridge desc: Implement cache reuse logic and if-modified-sinceIan Jackson2022-11-041-0/+23
* bridge desc: Provide a Store to the bridge desc managerIan Jackson2022-11-041-2/+2
* dirmgr sqlite store: Improve schema updatesIan Jackson2022-11-041-9/+25
* fix clippy::needless_borrowtrinity-1686a2022-09-101-1/+1
* Merge branch 'dirmgr_error_cleanup' into 'main'Nick Mathewson2022-07-181-15/+25
|\
| * dirmgr: Add a helper to create LockFile errors.Nick Mathewson2022-07-181-8/+3
| * dirmgr: Make UnrecognizedSchema more helpfulNick Mathewson2022-07-141-1/+4
| * dirmgr: Clarify disk IO errors.Nick Mathewson2022-07-141-14/+26
* | Fix illegal formatting in cache filenamesfeelingnothing2022-07-141-1/+1
|/
* Work around an erroneous warning from nightly clippyNick Mathewson2022-06-151-0/+3