class CAddrMan;
class CBlockLocator;
class CDiskBlockIndex;
-class CDiskTxPos;
class CMasterKey;
class COutPoint;
-class CTxIndex;
class CWallet;
class CWalletTx;
bool fDbEnvInit;
bool fMockDb;
boost::filesystem::path pathEnv;
- std::string strPath;
void EnvShutdown();
explicit CDB(const char* pszFile, const char* pszMode="r+");
~CDB() { Close(); }
public:
+ void Flush();
void Close();
private:
CDB(const CDB&);
bool static Rewrite(const std::string& strFile, const char* pszSkip = NULL);
};
-
/** Access to the (IP) address database (peers.dat) */
class CAddrDB
{