Why Nostr? What is Njump?
2024-08-16 13:26:25
in reply to

OceanSlim on Nostr: I got the temp ban count working right and it adds to the permaban list once ...

I got the temp ban count working right and it adds to the permaban list once exceeded. Removing still requires a hard restart. I may just leave that...

It had to do with resetting the count when the temp expired. Now I return false. Then I had to move the mutex lock out of the addition to the permaban list and handle it in addition to temp list.

Blacklist also overrides whitelist (in case you want to whitelist a whole domain but still block certain keys)

How does all this sound?
Author Public Key
npub1zmc6qyqdfnllhnzzxr5wpepfpnzcf8q6m3jdveflmgruqvd3qa9sjv7f60