Just a follow-up to #205 -- @Stebalien made the valid point that response metadata is actually necessary to protect against DOS vectors from a malicious responder, and therefore should not be an optional extension. This makes sense especially given go-graphsync implements metadata as part of its protocol already.
Implementation
Move metadata into core protobuf, not an extension (I don't want get into required vs optional extensions for now -- all extensions are optional and are not required to be supported in the protocol ATM)
Goals
Just a follow-up to #205 -- @Stebalien made the valid point that response metadata is actually necessary to protect against DOS vectors from a malicious responder, and therefore should not be an optional extension. This makes sense especially given
go-graphsync
implements metadata as part of its protocol already.Implementation
Move metadata into core protobuf, not an extension (I don't want get into required vs optional extensions for now -- all extensions are optional and are not required to be supported in the protocol ATM)