What do you mean by garbage? Sending tons of messages by making tons if REQs?
Discussion
+1
What is the to-avoid doing list?
I would say being lazy is a red flag. I'll give an example.
One time my relay crashed because someone sent an event with an ID shorter than 64 characters...
After investigating, I found that the method event.CheckID (go-nostr library) wrongly assumed that IDs had exactly 64 characters.
I opened a PR but fuck sake!
no, that is fine. By garbage I mean a library that forgets to ping, or to pong, which leads to unpredictable disconnections, or again race conditions that make your program panic, or bad handling of cancellations