Does naddr only apply to replaceable event? The nip didn’t mention that. And I sent a PR to nostr-tool to make it support kind 1
Discussion
Yes, it applies to only replceable events, and NIP-19 does mention it. “naddr: a nostr replaceable event coordinate”
https://github.com/nostr-protocol/nips/blob/master/19.md#shareable-identifiers-with-extra-metadata
Damn I’m rugged by nostr
A problem has been bugging my mind since the ever beginning.
What should be the role of relays?
If we treat it as a node of a distributed system, such as a Cassandra node, then it should not differentiate and clients just treat it as an opaque network & storage layer. All the replaceable events & consistency discussions come from this angle.
If we treat it as a discord server or a Slack workspace, then each relay differentiates in content and possibly in functionality.
Right now, most developers seem to want relays to be both. But these 2 have very different design trade offs . Wanting to be both might just end up being good at none.
Or, maybe some developers haven’t thought of it consciously.
Fruit for thought: should relays be aware of each other? Should the awareness be mandatory like a distributed system or just a nice to have?
For example, a DM client has very different needs for relays from a social client.
Love your thought process. My vote is #2, but it is a tradeoff. I had a beer with nostr:nprofile1qqsx8zd7vjg70d5na8ek3m8g3lx3ghc8cp5d9sdm4epy0wd4aape6vsppemhxue69uhkummn9ekx7mp0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qg3waehxw309ahx7um5wgh8w6twv5hsef8nss this afternoon and I have some ideas for making "relay proxies" that can augment parochial relays as routers/brokers. Post to come.
We are also building a kind of relay proxy. To hide the difference, to save the bandwidth and to provide connectivity for those have no direct access to relays
Cool, you should read my latest blog post, it might be relevant
Link please?
It's long and rambly, look for relay proxies if that's all you're interested in
I think it will be cool if you support 30023 too