"pr" lines in consensus can have trailing whitespace
dir-spec specifies keyword lines as:
KeywordLine ::= Keyword NL | Keyword WS ArgumentChar+ NL
However, observed in the wild:
There is trailing whitespace on line 1840 of the [19:00:00 consensus]. It is at line 1840.
As the directory authorities all seem to agree that this trailing whitespace should be there we don't have an issue, but it's against the spec and has likely happened by accident.
If we accidentally remove the trailing whitespace, we don't have a consensus anymore.
Options for fixing this are:
- require trailing whitespace for pr lines with no arguments
- make a new consensus method that doesn't have trailing whitespace
Either way, this needs a spec change before we write any code.