aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2013-11-29 16:33:34 +0100
committerWladimir J. van der Laan <[email protected]>2013-12-04 12:46:13 +0100
commitd004d7279ff21b7ee90207a850ec26ba044799bb (patch)
tree37ddc5ee8062d6b85905bf4ffb82fcc78dbc4ae0 /src/db.h
parentDelimit code with #ifdef ENABLE_WALLET (diff)
downloaddiscoin-d004d7279ff21b7ee90207a850ec26ba044799bb.tar.xz
discoin-d004d7279ff21b7ee90207a850ec26ba044799bb.zip
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.
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/db.h b/src/db.h
index e041a5930..66d7f3191 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