From 3fcc37fdf1761fdd9a7ceca836dbbd344afda020 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Fri, 26 Jan 2024 19:56:00 +0900 Subject: [PATCH] add benchmarking --- XX.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 XX.md diff --git a/XX.md b/XX.md new file mode 100644 index 0000000..561ec7f --- /dev/null +++ b/XX.md @@ -0,0 +1,22 @@ +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:", "wss://relay1"] +``` + +# 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.