From f904723e0d5883309cb0dd14b826bc45c5e776fb Mon Sep 17 00:00:00 2001 From: Karl-Johan Alm Date: Thu, 13 Sep 2018 13:35:10 +0900 Subject: wallet/rpc: add setwalletflag RPC and MUTABLE_WALLET_FLAGS --- src/wallet/wallet.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/wallet/wallet.h') 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 WALLET_FLAG_MAP{ {"avoid_reuse", WALLET_FLAG_AVOID_REUSE}, {"blank", WALLET_FLAG_BLANK_WALLET}, -- cgit v1.2.3