Mempool maintains a cache of the last 10000 transactions to prevent replaying old transactions (plus transactions coming from other validators, who are continually exchanging transactions). Read Replay Protection for details.
Sending incorrectly encoded data or data exceeding maxMsgSize
will result
in stopping the peer.