aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-05-21 23:15:41 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-06-22 14:59:09 -0400
commit3a9aba21a49a6d80bd187940d5e26893937b6832 (patch)
tree7e1609717e04984f8b639a841f6def38a3380320 /src/wallet/wallet.h
parentd9cd095b5965fc20c09f401370e7ba99446663e3 (diff)
downloadbitcoin-3a9aba21a49a6d80bd187940d5e26893937b6832.tar.xz
Split SetWalletFlags into Add/LoadWalletFlags
Remove memonly bool and follow typical Add and Load pattern used everywhere else.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index e55257bd5d..046b79c307 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -1174,7 +1174,9 @@ public:
/** overwrite all flags by the given uint64_t
returns false if unknown, non-tolerable flags are present */
- bool SetWalletFlags(uint64_t overwriteFlags, bool memOnly);
+ bool AddWalletFlags(uint64_t flags);
+ /** Loads the flags into the wallet. (used by LoadWallet) */
+ bool LoadWalletFlags(uint64_t flags);
/** Determine if we are a legacy wallet */
bool IsLegacy() const;