irungentoo/toxcore — pull request #1001 by JSmith-BitFlipper (2014-08-03 18:31:54+00:00)
Title: Improved nospam capabilities with hashcash

Implement a hashcash system that makes it harder for spammers to spam friend requests. Along with the nospam_num implementation, the hashcash proof of work requires the computer of the sender of the friend request to do work. This work is in the form of many sha256 hashes and stops until a valid hash is calculated. For non-spammer users, this work is negligible, < 1 sec, but for spammers, it is a massive setback.