Constant tor_dirmgr::storage::sqlite::FIND_LATEST_CONSENSUS_META
source ยท const FIND_LATEST_CONSENSUS_META: &str = "
SELECT valid_after, fresh_until, valid_until, sha3_of_signed_part, digest
FROM Consensuses
WHERE pending = 0 AND flavor = ?
ORDER BY valid_until DESC
LIMIT 1;
";
Expand description
Query: Find the valid-after time for the latest-expiring non-pending consensus of a given flavor.