bitcoin/bitcoin — pull request #787 by sipa (2012-01-27 04:16:49+00:00)
Title: CAddrMan: stochastic address manager

Design goals:
* Only keep a limited number of addresses around, so that addr.dat does not grow without bound.
* Keep the address tables in-memory, and asynchronously dump the entire to able in addr.dat.
* Make sure no (localized) attacker can fill the entire table with his nodes/addresses.

See comments in addrman.h for more detailed information.