mikedilger / nostr-next

Issues with nostr that would require breaking changes to fix
4 stars 0 forks source link

Tags mean MORE than their type #13

Open mikedilger opened 4 months ago

mikedilger commented 4 months ago

The very comnon 'p' and 'e' tags in nostr are defined by a TYPE -- a pubkey or an event. But TYPE is only half of what a tag should mean. Why is a person or event tagged? We tried to explain this with markers but that was inefficient. We need multiple kinds of tags that tag pubkeys, and multiple kinds of tags that tag events.

Maybe (due to this) single-letter isn't the best way to determine what tags are indexed. Instead indexed tags can start with a '#' or something.