aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-02-06 15:01:49 +0100
committerWladimir J. van der Laan <[email protected]>2017-02-06 16:14:17 +0100
commit02464da5e4aa8c19d4fff3859dcdee822e2af78c (patch)
tree00784ec6963a8370dc424c679856abd61331874e /src/wallet/walletdb.h
parentMerge #9378: [trivial] Add documentation for CWalletTx::fFromMe member. (diff)
parentMake nWalletDBUpdated atomic to avoid a potential race. (diff)
downloaddiscoin-02464da5e4aa8c19d4fff3859dcdee822e2af78c.tar.xz
discoin-02464da5e4aa8c19d4fff3859dcdee822e2af78c.zip
Merge #9227: Make nWalletDBUpdated atomic to avoid a potential race.
d63ff62 Make nWalletDBUpdated atomic to avoid a potential race. (Patrick Strateman)
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r--src/wallet/walletdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h
index b9db55baa..8437a95ba 100644
--- a/src/wallet/walletdb.h
+++ b/src/wallet/walletdb.h
@@ -176,10 +176,11 @@ public:
//! write the hdchain model (external chain child index counter)
bool WriteHDChain(const CHDChain& chain);
+ static void IncrementUpdateCounter();
+ static unsigned int GetUpdateCounter();
private:
CWalletDB(const CWalletDB&);
void operator=(const CWalletDB&);
-
};
void ThreadFlushWalletDB();