aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2018-09-13 13:35:10 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2019-05-29 18:40:31 +0900
commitf904723e0d5883309cb0dd14b826bc45c5e776fb (patch)
treebb155f2c136f7a1fad27f4aef2ba16b754a11860 /src/wallet/wallet.h
parent8247a0da3a46d7c38943ee0304343ab7465305bd (diff)
wallet/rpc: add setwalletflag RPC and MUTABLE_WALLET_FLAGS
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 311a5030cc..c2d1102c33 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -149,6 +149,9 @@ static constexpr uint64_t KNOWN_WALLET_FLAGS =
| WALLET_FLAG_KEY_ORIGIN_METADATA
| WALLET_FLAG_DISABLE_PRIVATE_KEYS;
+static constexpr uint64_t MUTABLE_WALLET_FLAGS =
+ WALLET_FLAG_AVOID_REUSE;
+
static const std::map<std::string,WalletFlags> WALLET_FLAG_MAP{
{"avoid_reuse", WALLET_FLAG_AVOID_REUSE},
{"blank", WALLET_FLAG_BLANK_WALLET},