I just turned the example whitelist into a blacklist today! I also made some minor tweaks to print an "ACCEPTED" or "REJECTED" line along with the public key hash to the log file. Now I can grep through the logs and see who's being naughty or nice... A simple grep | cut | sort makes a list where large blocks of the same ID are easy to eyeball.

#bash #grep #nostr #spam

Reply to this note

Please Login to reply.

Discussion

No replies yet.