|
|
|
@ -111,7 +111,8 @@ static constexpr uint64_t KNOWN_WALLET_FLAGS =
|
|
|
|
|
WALLET_FLAG_AVOID_REUSE
|
|
|
|
|
| WALLET_FLAG_BLANK_WALLET
|
|
|
|
|
| WALLET_FLAG_KEY_ORIGIN_METADATA
|
|
|
|
|
| WALLET_FLAG_DISABLE_PRIVATE_KEYS;
|
|
|
|
|
| WALLET_FLAG_DISABLE_PRIVATE_KEYS
|
|
|
|
|
| WALLET_FLAG_DESCRIPTORS;
|
|
|
|
|
|
|
|
|
|
static constexpr uint64_t MUTABLE_WALLET_FLAGS =
|
|
|
|
|
WALLET_FLAG_AVOID_REUSE;
|
|
|
|
@ -121,6 +122,7 @@ static const std::map<std::string,WalletFlags> WALLET_FLAG_MAP{
|
|
|
|
|
{"blank", WALLET_FLAG_BLANK_WALLET},
|
|
|
|
|
{"key_origin_metadata", WALLET_FLAG_KEY_ORIGIN_METADATA},
|
|
|
|
|
{"disable_private_keys", WALLET_FLAG_DISABLE_PRIVATE_KEYS},
|
|
|
|
|
{"descriptor_wallet", WALLET_FLAG_DESCRIPTORS},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern const std::map<uint64_t,std::string> WALLET_FLAG_CAVEATS;
|
|
|
|
|