From d004d7279ff21b7ee90207a850ec26ba044799bb Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Fri, 29 Nov 2013 16:33:34 +0100 Subject: Move CAddrDB frrom db to net This was a leftover from the times in which peers.dat depended in BDB. Other functions in db.cpp still depend on BerkelyDB, to be able to compile without BDB this (small) functionality needs to be moved to another file. --- src/db.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/db.h') diff --git a/src/db.h b/src/db.h index e041a59300..66d7f31917 100644 --- a/src/db.h +++ b/src/db.h @@ -305,22 +305,4 @@ public: bool static Rewrite(const std::string& strFile, const char* pszSkip = NULL); }; - - - - - - - -/** Access to the (IP) address database (peers.dat) */ -class CAddrDB -{ -private: - boost::filesystem::path pathAddr; -public: - CAddrDB(); - bool Write(const CAddrMan& addr); - bool Read(CAddrMan& addr); -}; - #endif // BITCOIN_DB_H -- cgit v1.2.3