tari
tari copied to clipboard
Ban public key
When a new peer misbehaves before we have added them as a peer the current code does not ban them. We get this error
Failed to ban peer due to internal error: The requested peer does not exist. Original ban error: Invalid multiaddr: Multiaddr was empty.
We should either create a list of banned public keys or add the peer and then ban them immediately.