Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network/tx: Ban peers with tx that fail to decode (paritytech#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: - paritytech#4977 cc @paritytech/networking Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
- Loading branch information