diff --git a/xx.md b/xx.md new file mode 100644 index 00000000..65e87149 --- /dev/null +++ b/xx.md @@ -0,0 +1,20 @@ +NIP-XX +====== + +Delegated aggregate signature verification +------------------------------------------ + +`draft` `optional` + +Relays MAY choose to strip signatures from events. If they do so, they MUST provide a proof to clients that the relay has validated signatures for all events returned for a given REQ, using the `REQ-PROOF` verb with the request ID as the first argument, and the proof string as the second argument. This proof MUST be provided after the given `EVENT`s are sent, and applies to all previous events returned for the request since the last proof. + +``` +-> ["REQ", "", ] +<- ["EVENT", "", ] +<- ["EVENT", "", ] +<- ["EOSE", ""] +<- ["REQ-PROOF", "", ""] // This proof applies to the previous two events +<- ["EVENT", "", ] +<- ["REQ-PROOF", "", ""] // This proof applies to the most recent event only +-> ["CLOSE", ""] +```