network/tx: Ban peers with tx that fail to decode (#5002)
A malicious peer can submit random bytes on transaction protocol.
In this case, the peer is not disconnected or reported back to the
peerstore.
This PR ensures the peer's reputation is properly reported.
Discovered during testing:
- https://github.com/paritytech/polkadot-sdk/pull/4977
cc @paritytech/networking
Signed-off-by: Alexandru Vasile <[email protected]>