Skip to content

Implement proposal 275 (no published-on time in md consensuses)

Nick Mathewson requested to merge nickm/tor:prop275_completed into main

This branch removes everything that even looked at the published_on times in consensus routerstatus entries, and moves the field into vote_routerstatus_t.

It then adds a new consensus method to change the published_on time in microdesc consensuses to a fixed 2038-01-01 00:00:00. This value is nicely in the future, and so won't mess with any existing tors that still look at it. Once it is in the past again, all those tor versions will be obsolete.

We can only do this for md consensuses right now, because 0.3.5.x relays still rely on the published_on time in ns consensus documents to tell them when to publish. (Newer relays use StaleDesc.)

Merge request reports