aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-03-26 12:27:49 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2012-03-26 12:27:49 -0700
commit57de7cd603660b20b5f5c611f11f458d80be886f (patch)
tree9fd23e79d512ebfe4bd6d6d00cfc483db2d3ce70 /src/db.h
parente9f9282bde3292b4df35a245b9fbd9d13020a8c6 (diff)
parent6b8de05d0a6696dff4b7dccec5b74889f3cdc486 (diff)
Merge pull request #990 from sipa/doc
Begin doxygen-compatible comments
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/db.h b/src/db.h
index 2a869d511b..430880e988 100644
--- a/src/db.h
+++ b/src/db.h
@@ -34,7 +34,7 @@ void ThreadFlushWalletDB(void* parg);
bool BackupWallet(const CWallet& wallet, const std::string& strDest);
-
+/** RAII class that provides access to a Berkeley database */
class CDB
{
protected:
@@ -266,7 +266,7 @@ public:
-
+/** Access to the transaction database (blkindex.dat) */
class CTxDB : public CDB
{
public:
@@ -297,7 +297,7 @@ public:
-
+/** Access to the (IP) address database (addr.dat) */
class CAddrDB : public CDB
{
public:
@@ -315,7 +315,7 @@ public:
bool LoadAddresses();
-
+/** A key pool entry */
class CKeyPool
{
public:
@@ -344,7 +344,7 @@ public:
-
+/** Error statuses for the wallet database */
enum DBErrors
{
DB_LOAD_OK,
@@ -354,6 +354,7 @@ enum DBErrors
DB_NEED_REWRITE
};
+/** Access to the wallet database (wallet.dat) */
class CWalletDB : public CDB
{
public: