Hidden service descriptor spec clarifications
Hi Nick, as per legacy/trac#15004 (closed) I'm adding the ability to parse hidden service descriptors to Stem. In general the rend-spec is delightfully clear, though there's a couple spots that could do with clarification...
-
The 'version' and 'protocol-versions' fields are defined as a version-number which isn't a thing. In practice these versions are presently integers, but I need for the spec to explicitly either say they're integers or what they can contain. This will determine if they're an int or str in Stem.
-
The 'introduction-points' contains a 'ip-address' with a field defined as a ip-address. Again, that's not a well defined type. For this one I'm curious 'is this IPv4? IPv6? Would IPv32 be cool too?'. This will determine if/how I try to validate this field.
Cheers! -Damian