aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2016-09-09 08:15:01 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2016-11-11 11:35:49 +0000
commitfb0c934d1b2d58b165e13d2b301e54870c5dc60f (patch)
tree50e25726ca442c99754413e283ac7adca78a8413 /src/wallet/wallet.h
parentbfc7aad0088432b3693a055b0916a869632bdbe2 (diff)
downloadbitcoin-fb0c934d1b2d58b165e13d2b301e54870c5dc60f.tar.xz
Wallet: Let the interval-flushing thread figure out the filename
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index a527c6d84e..1814870c5e 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -18,6 +18,7 @@
#include "wallet/rpcwallet.h"
#include <algorithm>
+#include <atomic>
#include <map>
#include <set>
#include <stdexcept>
@@ -550,6 +551,8 @@ private:
class CWallet : public CCryptoKeyStore, public CValidationInterface
{
private:
+ static std::atomic<bool> fFlushThreadRunning;
+
/**
* Select a set of coins such that nValueRet >= nTargetValue and at least
* all coins from coinControl are selected; Never select unconfirmed coins