Per-channel hashcash requirement for PRIVMSG (anti-spam) #12
Reference in New Issue
Block a user
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.
Removing
needs-review— no PR exists yet for this issue. Per sneak's comment on #11 ("yes, do it"), dispatching a worker to implement per-channel hashcash. Note: token cache TTL should be 1 year per sneak's earlier instruction.Previous worker (dispatched 2026-03-12) died without producing a PR. Re-dispatching a fresh worker now.
Key requirements: