I tried setting up strfry this week and it was still 64kb.

Reply to this note

Please Login to reply.

Discussion

Maybe the PR was merged but no new release yet? Idk..

Sir, I respectfully but strongly disagree here. Contrary to popular belief, strfry, and even strfry + nostream, as great as they are, still ≠ “all relays on Nostr.” I get that Nostr is an event-driven protocol and we want to keep events small, but honestly, 65 KB and even 135 KB are BS limits in terms of social media scalability. That would require us to reinvent not only NIP-51 but a bunch of other kinds as well.

For example, 135 KB for a long-term content blog post is really not great. One way or another, I don’t see why a relay limitation should dictate the encryption mechanism. And as far as I can tell, there isn’t a strong reason preventing NIP-44 from working with bigger payloads, is there? (Not a rhetorical question, I genuinely don’t know if this is a limitation relating to padding of the very last block or if there’s something in NIP-44 that prevents it from operating in block cipher mode).

But what are you going to do about it? You will have to individually convince every relay operator to accept it. Many think large Jsons are just spamming the network (similar to how knots people feel).

I tried to convince them for 2 years. Nothing changed.

Relay dev and small scale operator here Sir. I'll keep doing my thing and other relay devs can keep doing theirs. My only ask here is to make sure that NIP-44 can work in block mode for the folks that actually don't want to be constraint by unwritten limitations.

Fiatjaf has a change to nip44 to do this, but nobody has coded it yet. https://github.com/nostr-protocol/nips/pull/1907

If it's on Khatru then it has already been adopted by several relays :).

Unfortunately not on go-nostr yet. https://github.com/nbd-wtf/go-nostr/blob/master/nip44/nip44.go#L68-L70, but assuming that folks don't backport this, it is just a mater of time until Khatru relays migrate to nostrlib. So, what, at least 10% of relays out there will work fine.

relays don't care about it

Ah, true, brainfart on my side. Nostrlib basically merged client and relay side libraries anyway. But yes, so as long as clients adopt this and relays don't limit events to 65 KB everything should work.