nips icon indicating copy to clipboard operation
nips copied to clipboard

Unknown Kinds

Open frbitten opened this issue 1 year ago • 9 comments

Could anyone help me identify what these types are that I didn't find in the repository list. I imagine they are lost in some nip and the main list has not been updated.

  • 1000
  • 22024
  • 1009
  • 10312

I see a lot of notes with these types on my relay but I don't know what they are.

thanks

frbitten avatar Feb 25 '24 01:02 frbitten

  • 10312

This is probably a list of Live Event in NIP-53. Its REQ message is being sent by Nostr Nests.

As far as I remember, this kind has never been added to NIPs.

AsaiToshiya avatar Feb 26 '24 03:02 AsaiToshiya

10009 is a list specified in the NIP-29 PR that will be merged very soon.

fiatjaf avatar Feb 26 '24 18:02 fiatjaf

  • 10312

This is probably a list of Live Event in NIP-53. Its REQ message is being sent by Nostr Nests.

As far as I remember, this kind has never been added to NIPs.

Doesn't the NIP-53 say anything about kind 10312? I only found it about 1311. Could it be a customer's typing error?

Exempla kind 10312

{
    "content": "",
    "created_at": 1707567913,
    "id": "92e418e5c60337440d820630865e8f035540f43f752f45719836b58e0d42e574",
    "kind": 10312,
    "pubkey": "5c508c34f58866ec7341aaf10cc1af52e9232bb9f859c8103ca5ecf2aa93bf78",
    "sig": "e860974d8974b6b366b8e2dc298008dcc37187b7e921a342dccfa2f3cf6ea0a9d084e71cadaabd1870169180d42d945f251127115de5898f58b3bbd92da8885a",
    "tags": [
      [
        "a",
        "30312:5c508c34f58866ec7341aaf10cc1af52e9232bb9f859c8103ca5ecf2aa93bf78:d840eb9b-314b-49f3-83ed-fa22d99b5f3d",
        "wss://relay.damus.io/"
      ],
      [
        "expiration",
        "1707567975"
      ]
    ]
  },

frbitten avatar Feb 28 '24 19:02 frbitten

10009 is a list specified in the NIP-29 PR that will be merged very soon.

The lists are kind of around 10,000 as you typed. And 10009 really exists. But the one I have on my relay is 1009. Exemple kind 1009

{
    "content": "",
    "created_at": 1707534028,
    "id": "92df62f73126a33cfed6304ce34bf4ef042d2486394c10c6a6b9affd09571ea7",
    "kind": 1009,
    "pubkey": "84de35e2584d2b144aae823c9ed0b0f3deda09648530b93d1a2a146d1dea9864",
    "sig": "33361536818f618d1e4a29de987c32def3501a0b2d8e81add8c9271588f39308ebb0546895209196bdf573173448a52fe52f4b8851a572acfe764080b01b8c11",
    "tags": [
      [
        "d",
        "BTCUSD",
        "47334.25",
        "47332.35",
        "45902.71",
        "48051.70"
      ],
      [
        "d",
        "BTCEUR",
        "43829.89",
        "43832.83",
        "42611.29",
        "44529.93"
      ]
    ]
  },

frbitten avatar Feb 28 '24 20:02 frbitten

Looks like spam to me.

fiatjaf avatar Feb 28 '24 23:02 fiatjaf

Doesn't the NIP-53 say anything about kind 10312? I only found it about 1311.

Lists are defined in NIP-51, but kind 10312 hasn't been said yet.

Could it be a customer's typing error?

No, it is a list of kind 30311 and kind 30312. kind 10312 hasn't also been said.

Example kind 30312:

{
  "content": "",
  "created_at": 1707533246,
  "id": "2a152f1c95dc3202a2f04b21d2b295d7254490e0879bd5ecd5c3550685531ea2",
  "kind": 30312,
  "pubkey": "5c508c34f58866ec7341aaf10cc1af52e9232bb9f859c8103ca5ecf2aa93bf78",
  "sig": "bda5f6ef4ce055d394e97909bf2a1d72761d2219e20035c78b1c0f21397c5cbe2340e8cdbf194707bc693cf17ca89de3be8006b5877e5df78481360d9ca1dfe1",
  "tags": [
    [
      "color",
      "gradient-2"
    ],
    [
      "d",
      "d840eb9b-314b-49f3-83ed-fa22d99b5f3d"
    ],
    [
      "image",
      "https://i.nostr.build/jeJg.gif"
    ],
    [
      "relays",
      "wss://relay.snort.social",
      "wss://nos.lol",
      "wss://relay.damus.io"
    ],
    [
      "service",
      "https://nests.v0l.io"
    ],
    [
      "starts",
      "1707533246"
    ],
    [
      "status",
      "live"
    ],
    [
      "streaming",
      "http://minio:9010/d840eb9b-314b-49f3-83ed-fa22d99b5f3d/live.m3u8"
    ],
    [
      "streaming",
      "wss+livekit://nests.v0l.io:443"
    ],
    [
      "summary",
      "Finding new bugs to annoy @elsat with"
    ],
    [
      "title",
      "Planetarium"
    ]
  ]
}

AsaiToshiya avatar Feb 29 '24 03:02 AsaiToshiya

Doesn't the NIP-53 say anything about kind 10312? I only found it about 1311.

Lists are defined in NIP-51, but kind 10312 hasn't been said yet.

Could it be a customer's typing error?

No, it is a list of kind 30311 and kind 30312. kind 10312 hasn't also been said.

The messages I have with kind 10312 do not have this described format.

Where can I find the definition of this kind? Is there a PR or issue that has not yet been approved?

frbitten avatar Feb 29 '24 09:02 frbitten

kind 10312 hasn't also been said.

Sorry, I made a mistake. It's kind 30312, not kind 10312.

AsaiToshiya avatar Mar 01 '24 03:03 AsaiToshiya