Why Nostr? What is Njump?
2024-09-09 07:56:11

Jesse 🇫🇷 :versia: on Nostr: Hi, thanks for the compliments! Couple points raised here that I'm going to try to ...

Hi, thanks for the compliments!

Couple points raised here that I'm going to try to answer

> 1. the signature based authentication algorithm is susceptible to being replayed.

I care very much about security, would you mind sharing some details so that we could work on fixing any issues?

> 2. there's no real way to negotiate protocols.

There is the Nodeinfo for discovering which protocols an instance supports (such as https://mastodon.social/nodeinfo/2.0) but you're right that it's not actually mandated inside the protocol, mainly because we've been looking for any better ways to do protocol negotation. If you're interested, the reference implementation tries to search for `/.well-known/versia` in order to find out if Versia is supported (otherwise it falls back to ActivityPub), but this is not ideal.

> 3. websockets as a lower overhead transport 😕 ???? What

According to our testing, this actually makes a lot of sense for very high-volume traffic, as keeping a WebSockets connection alive takes basically zero resources.

The goal with that particular idea is to allow for a king of "request batching", so instead of sending each entity in its own individual HTTP request, with the associated overhead, hundreds of entities could be sent at once rather easily, significantly reducing the load on instances (it's pretty crazy how efficient WS is)

If y'all have more questions or suggestions, I'd be happy to listen (even if it'd introduce breaking changes)
Author Public Key
npub1zd3x53vpdwhm6kt9dwrjr82hryeemrs58j4yujmjxr7n4qj766escxujj7