aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
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 688c390e40..47fa40245e 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:
@@ -313,7 +313,7 @@ public:
bool LoadAddresses();
-
+/** A key pool entry */
class CKeyPool
{
public:
@@ -342,7 +342,7 @@ public:
-
+/** Error statuses for the wallet database */
enum DBErrors
{
DB_LOAD_OK,
@@ -352,6 +352,7 @@ enum DBErrors
DB_NEED_REWRITE
};
+/** Access to the wallet database (wallet.dat) */
class CWalletDB : public CDB
{
public: