diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-03-26 15:31:32 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-03-26 15:31:32 -0400 |
commit | c698633447b95cd69113676a5cc4d554ba408e14 (patch) | |
tree | ba40fa7775e7d5cbc4042b0c8d743dfa34554bab /src/db.h | |
parent | bf5b80a8ae67b177e06c7024eb3b7a14097a8814 (diff) | |
parent | c289d95d6bb3105a67b96a697ddb9dd773cf1033 (diff) |
Merge branch 'master' of github.com:bitcoin/bitcoin
Diffstat (limited to 'src/db.h')
-rw-r--r-- | src/db.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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: |