Quicr / quicr-protocol-spec

Media of QuicR Protocol
3 stars 0 forks source link

Manifest Encoding #15

Open TimEvens opened 1 year ago

TimEvens commented 1 year ago

https://github.com/Quicr/quicr-protocol-spec/blob/main/manifest.md?plain=1 does not appear to describe a message type and encoding. A JSON representation is provided as an example, but the message that is actually transmitted is unclear. What control message type is used to transmit the manifest to the relays and for the relays to send to subscribers?

It would make sense to add a new control message type considering it has a specific encoding. A schema doesn't have to be defined, but JSON should be called out. It should also be called out if the JSON schema is minified or pretty print formatted.

Considering there can be revisions, it might make sense to add some revision number to the message transmitted so that other relays and subscribers can correctly replace/dedup old revisions.