Avatar
powrespecter
27a9ee7edc5486882d7acd61e6631ff18a09e99b6ee5e45906f1d0dc60c61f5f
I respect proof of work. https://powrelay.xyz

wss://powrelay.xyz is designed to target a constant size

events with the least POW per byte are continuously discarded

Hopefully, that means it stays speedy

I think mostly because the db is small enough to fit in memory 😂

tbh I should have used sqlite from the start, but I'm new to databases

Switched from postgres to sqlite for wss://powrelay.xyz

Much snappier now. Tried moving all the events but there might be a couple I missed, just rebroadcast if one of yours is missing 😅

What will you put in the content field?

I don't think POW is the best solution to spam. POW is to prove that the message it's attached to is important to you.

Not all social media has to be about "historical context" and "conversations". imo best use of social media is about sharing important messages with as many people as possible. Once the message is out there, people can discuss among themselves and make up their own minds.

Good point, new references would point to the new note. That doesn't seem so bad to me though, it's not like the old note dissapears entirely when its replaced by higher pow notes, other relays can still store it.

If you designed some kind of proxy pow event kind, I would be interested and potentially start a new relay for that. I do love the simplicity of just highest pow per byte though.

Great read!

I guess you'd want relays to have websocket connection slots that clients could bid for with POW, then storing events could work like powrelay or maybe there'd be some kind of time expiration component. I just wanted to collect most precious events in one place but resource allocation with pow would be awesome too.

POW is "memoryless" in the sense that if you want, say, 30 leading zeroes it doesn't matter if you already have a nonce that gives you 29 leading zeroes or not, you'll still end up searching for the special "30 leading zeroes" nonce for just as long. So there's no really any reason to "add" POW to an event that already has POW.

Oh, I see what you mean. Yes, of course, it'll have more POW.

For example, I want to keep my profile event on wss://powrelay.xyz so whenever the POW threshold increases I can post a new copy of to the relay with more POW. Here's the latest: nostr:nevent1qqsqqqqqpj3xduakge9aw5gtee28e3tn2e9483z42d30wu64xmvm2xqpzfmhxue69uhhqmmhwfjkccte9eu8j7scnmsur