arjenstens on Nostr: Hi all! Nostr protocol question I'm trying to learn the inner workings of Nostr by ...
Hi all! Nostr protocol question
I'm trying to learn the inner workings of Nostr by trying to explain what I learn in my public notes. But I have a question about the lifetime of events. In the NIP-01 docs I read the following:
- "for kind n such that 1000 <= n < 10000, events are regular"
- "for kind n such that 10000 <= n < 20000 || n == 0 || n == 3, events are replaceable"
- "for kind n such that 20000 <= n < 30000, events are ephemeral"
- "for kind n such that 30000 <= n < 40000, events are parameterized replaceable"
There are several of those ranges for all other lifetimes too. But what about kind 1 to 44? They're not mentioned in these ranges except for kind 3. Are they of lifetime 'Regular' as well?
https://notes.arjenstens.com/blog/tech/nostr/Nostr---Event-lifetimesPublished at
2024-06-17 21:46:32Event JSON
{
"id": "3bc360351c398ba0c3577a8560b0531c88e95a8e7ee339f1be429b71b057ce4a",
"pubkey": "bbb5dda0e15567979f0543407bdc2033d6f0bbb30f72512a981cfdb2f09e2747",
"created_at": 1718660792,
"kind": 1,
"tags": [],
"content": "Hi all! Nostr protocol question\n\nI'm trying to learn the inner workings of Nostr by trying to explain what I learn in my public notes. But I have a question about the lifetime of events. In the NIP-01 docs I read the following:\n\n- \"for kind n such that 1000 \u003c= n \u003c 10000, events are regular\"\n- \"for kind n such that 10000 \u003c= n \u003c 20000 || n == 0 || n == 3, events are replaceable\"\n- \"for kind n such that 20000 \u003c= n \u003c 30000, events are ephemeral\"\n- \"for kind n such that 30000 \u003c= n \u003c 40000, events are parameterized replaceable\"\n\nThere are several of those ranges for all other lifetimes too. But what about kind 1 to 44? They're not mentioned in these ranges except for kind 3. Are they of lifetime 'Regular' as well?\n\nhttps://notes.arjenstens.com/blog/tech/nostr/Nostr---Event-lifetimes\n",
"sig": "144722ee9e106ceb1e17a8a6626aac2b4952af7536b6944b9e129cb82de96091dd7bb4569c5fac0322acf9890de4111ba516f97bfd5a4c515b142957d96dbc97"
}