aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-03-26 16:48:23 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-03-26 16:48:23 +0200
commit6b8de05d0a6696dff4b7dccec5b74889f3cdc486 (patch)
tree123b892a842e3a99342cc4806b4a833b2a635b52 /src/db.h
parent01a196e08db49d83cf6c5abd8a799c56dcfef503 (diff)
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: