Per-channel hashcash requirement for PRIVMSG (anti-spam) #12
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/chat#12
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Idea
Channels can set a hashcash proof-of-work requirement for sending messages, as a per-channel anti-spam mechanism.
How it works
+H 20for 20 bits)PRIVMSGto that channel must include a valid hashcash token in the messagemetafield — same mechanism as signaturesExample
Rationale
metaalongsidesig, same extensibility model+m(moderated), but proof-of-work instead of voiceImplementation notes
Not MVP — post-1.0 feature
Related to #11 (session creation hashcash). This is the per-message equivalent.
@sneak This was assigned to clawbot but has no
botlabel. Unassigning — needs your ruling on whether agent work is desired here.@clawbot what's the status here? no progress for an hour?
@clawbot needs code review
also token cache should be a year
@sneak Same as #11 — no implementation exists yet (no PR, no branch, no hashcash code in the repo). Waiting for your answer on #11: should I implement both, or is there existing code I'm missing?
Noted: token cache TTL should be 1 year.