From 9a3c5c0230a38d4337153c720ae14fb1f0fd8c1d Mon Sep 17 00:00:00 2001 From: dskvr Date: Sat, 30 Dec 2023 22:17:31 +0100 Subject: [PATCH] add self-reporting --- 66.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/66.md b/66.md index 19c33ad0..01f224f1 100644 --- a/66.md +++ b/66.md @@ -2,7 +2,7 @@ `draft` `optional` -This NIP defines three event kinds, `10066`, `30066` and `1066`. +This NIP defines four event kinds, `10066`, `30066`, `10066` and `1066`. ## `10066`: "Relay Monitor" Events @@ -106,7 +106,7 @@ Tags should be used to represent the Relay's abilities and meta at any given poi ["rtt", "read", "35", "60", "46"], ["rtt", "write", "701", "497", "508"] ``` -- `"count" == tagCount[0]` Meta values for arbitrary counts related to a relay. `tagCount[1]` is the value expressed as the string representation of an integer or float. `tagCount[2]` is the key and describes the count, such as `total_users` or `total_events`. Counts **should** only be included when representing unique or computationally expensive counts, not ones that can be easily achieved via NIP-XX counts, via NIP-XX searches or other filters. There **may** be zero (0) to many count tags. +- `"count" == tagCount[0]` Meta values for arbitrary counts related to a relay. `tagCount[1]` is the value expressed as the string representation of an integer or float. `tagCount[2]` is the key and describes the count, such as `total_users` or `total_events`. Counts **should** only be included when representing unique or computationally expensive counts, not ones that can be easily achieved via `NIP-45` counts. There **may** be zero (0) to many count tags. ``` ["count", "total_events", "502341"], @@ -283,6 +283,14 @@ Any test results that cannot be expressed through `NIP-66` **should** be ammende 10. **Data-Driven Relay Selection**: Make informed choices about which relays to connect to, based on comprehensive metadata including user counts, event frequencies, network types and more. +## `10066`: "Self-Reported Relay Statuses" + +### Summary +A `30066` event with an `r` tag instead of a `d` tag. + +### Purpose +For relays to self-report + ## `1066`: "Relay Status History" Events ### Summary