aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-03-26 15:31:32 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-03-26 15:31:32 -0400
commitc698633447b95cd69113676a5cc4d554ba408e14 (patch)
treeba40fa7775e7d5cbc4042b0c8d743dfa34554bab /src/db.h
parentbf5b80a8ae67b177e06c7024eb3b7a14097a8814 (diff)
parentc289d95d6bb3105a67b96a697ddb9dd773cf1033 (diff)
Merge branch 'master' of github.com:bitcoin/bitcoin
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: