bitcoin/bitcoin — pull request #1198 by jgarzik (2012-05-05 07:38:17+00:00)
Title: Replace BDB-managed addr.dat with bitcoin-managed ipaddr.dat

CAddrMan is the new address storage manager, and it already knows how to read/write its own serialized data.

Therefore, we may treat it like the block file and implement WriteToDisk() and ReadFromDisk() similarly. This eliminates the need for the BDB-managed addr.dat, replacing it with "ipaddr.dat" containing nothing but a flat file storing addrman data.