aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-dirserver/testdata/descriptor1-ns-unsigned
Commit message (Collapse)AuthorAgeFilesLines
* tor-dirserver: Query missing descriptor logicClara Engler2026-03-091-0/+47
This commit implements the logic for querying missing descriptors by adding three new methods to ConsensusMeta: * missing_servers * missing_extras * missing_micros All of them essentially work the same, namely by querying the consensus_router_descriptor_member database table alongside the docid of the current consensus, left joining the respective router_descriptor and returning the digests on all rows where the left join resulteed in a NULL. A small exception are extra-info descriptors. There, we can only return the ones where we have an accompanying server descriptor, hence why we perform an inner join with the server descriptors between the from and the left join.