protover: Move all hardcoded lists in one place
commit3d1a49908c2727746928d40bc71da0373aad7fcf
authorDavid Goulet <dgoulet@torproject.org>
Fri, 5 Nov 2021 14:10:24 +0000 (5 10:10 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Fri, 5 Nov 2021 14:13:47 +0000 (5 10:13 -0400)
treee1e930dcd38be6a26fd6ac9b7409a7ff29de5c7e
parent7c085490f5324f374dd7caa570dff5902f0e32cc
protover: Move all hardcoded lists in one place

This also moves the warnings and add some theatrical effect around the
code so anyone modifying those list should notice the warnings signs and
read the comment accordingly.

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/core/or/protover.c
src/core/or/protover.h
src/feature/dirauth/dirvote.c