Merge 138356bf7a2d1664732162b8e2e794d628d9fc0f into 0619f370bca3485bb9c5870bc2defa03c7c3d10e

This commit is contained in:
mattn 2025-03-23 15:00:52 +09:00 committed by GitHub
commit efe944af8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

24
XX.md Normal file
View File

@ -0,0 +1,24 @@
NIP-XX
======
Benchmarking
------------
`draft` `optional`
This NIP is a specification for benchmarking relay servers online. The specification defines a kind `XXXXX` that is never displayed to the client. Benchmarking software must specify the name and version in the tags in the following format.
```
"kind": xxxxx,
"client": "nostr-benchmark-v0.0.2", "31990:app1-pubkey:<d-identifier>", "wss://relay1"]
```
This NIP number SHOULD be provided from the NIP-11 relay information and the benchmarking software SHOULD see this information and cancel the benchmark.
# Relay server
Normally, the benchmarking software SHOULD delete the posted event after the benchmark has completed. Relay server CAN delete them automatically or one's own thinking.
# Client
Clients that are not interested in the data used in the benchmark SHOULD NOT receive this kind.