These messages weren't from the bitcoin spammers. But, no, there's no way to block certain IPs due to the nature of Tor, as far as I understand it.