Replying to Avatar Guy Swann

https://m.primal.net/HPlD.mp4Getting bombarded with what looks like a SPAM attack of fake followers. Anyone else seeing this? What's the best way to limit something like this?

Curious if (because the protocol is completely open) a small POW (aka hashcash) be a viable deterrent for brand new accounts and maybe the first 10 posts or something. This could make it easier to allow all new accounts without prejudice, and very little friction for the user, while preventing someone from just coming in and mass creating 1,000s of accounts and posting mountains of spam. (could even make them bitcoin block hashes that are handed to the primary relay, maybe one day after years of this some relay wins a totally random block reward 🤣)

For any accounts that make it past the initial "POW zone" and still end up spamming relentlessly, could just be managed on a per occurrence basis. I suspect a simple barrier like this would likely prevent the overwhelming majority of the problem. 🤔🤔

I guess in principle:

- Clients should be able to ask a relay if its POW enabled, posting the npub at the same time, and it gets back a positive or zero difficulty target

- The relay decides how to treat unknown/new or abusive npubs, raising the necessary difficulty target if needed. Relay owners discretion if it gets raised based on events per minute, content, or whatever

- There would need to be some kind of nonce/POW field in each posted event JSON

- The client must then use the POW field as a scratchpad for adding a value that allows the whole events hash to meet the target difficulty, or be continually rejected

Reply to this note

Please Login to reply.

Discussion

No replies yet.