|
|
@ -95,13 +95,13 @@ class CWalletDBWrapper |
|
|
|
friend class CDB; |
|
|
|
friend class CDB; |
|
|
|
public: |
|
|
|
public: |
|
|
|
/** Create dummy DB handle */ |
|
|
|
/** Create dummy DB handle */ |
|
|
|
CWalletDBWrapper() : nLastSeen(0), nLastFlushed(0), nLastWalletUpdate(0), env(nullptr) |
|
|
|
CWalletDBWrapper() : nUpdateCounter(0), nLastSeen(0), nLastFlushed(0), nLastWalletUpdate(0), env(nullptr) |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** Create DB handle to real database */ |
|
|
|
/** Create DB handle to real database */ |
|
|
|
CWalletDBWrapper(CDBEnv *env_in, const std::string &strFile_in) : |
|
|
|
CWalletDBWrapper(CDBEnv *env_in, const std::string &strFile_in) : |
|
|
|
nLastSeen(0), nLastFlushed(0), nLastWalletUpdate(0), env(env_in), strFile(strFile_in) |
|
|
|
nUpdateCounter(0), nLastSeen(0), nLastFlushed(0), nLastWalletUpdate(0), env(env_in), strFile(strFile_in) |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|