![]() |
Bitcoin Core
21.99.0
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
class | WalletDescriptor |
Descriptor with some wallet metadata. More... | |
Enumerations | |
enum | WalletFeature { FEATURE_BASE = 10500, FEATURE_WALLETCRYPT = 40000, FEATURE_COMPRPUBKEY = 60000, FEATURE_HD = 130000, FEATURE_HD_SPLIT = 139900, FEATURE_NO_DEFAULT_KEY = 159900, FEATURE_PRE_SPLIT_KEYPOOL = 169900, FEATURE_LATEST = FEATURE_PRE_SPLIT_KEYPOOL } |
(client) version numbers for particular wallet features More... | |
enum | WalletFlags : uint64_t { WALLET_FLAG_AVOID_REUSE = (1ULL << 0), WALLET_FLAG_KEY_ORIGIN_METADATA = (1ULL << 1), WALLET_FLAG_DISABLE_PRIVATE_KEYS = (1ULL << 32), WALLET_FLAG_BLANK_WALLET = (1ULL << 33), WALLET_FLAG_DESCRIPTORS = (1ULL << 34), WALLET_FLAG_EXTERNAL_SIGNER = (1ULL << 35) } |
Functions | |
bool | IsFeatureSupported (int wallet_version, int feature_version) |
WalletFeature | GetClosestWalletFeature (int version) |
fs::path | GetWalletDir () |
Get the path of the wallet directory. More... | |
enum WalletFeature |
(client) version numbers for particular wallet features
Enumerator | |
---|---|
FEATURE_BASE | |
FEATURE_WALLETCRYPT | |
FEATURE_COMPRPUBKEY | |
FEATURE_HD | |
FEATURE_HD_SPLIT | |
FEATURE_NO_DEFAULT_KEY | |
FEATURE_PRE_SPLIT_KEYPOOL | |
FEATURE_LATEST |
Definition at line 14 of file walletutil.h.
enum WalletFlags : uint64_t |
Enumerator | |
---|---|
WALLET_FLAG_AVOID_REUSE | |
WALLET_FLAG_KEY_ORIGIN_METADATA | |
WALLET_FLAG_DISABLE_PRIVATE_KEYS | |
WALLET_FLAG_BLANK_WALLET | Flag set when a wallet contains no HD seed and no private keys, scripts, addresses, and other watch only things, and is therefore "blank.". The only function this flag serves is to distinguish a blank wallet from a newly created wallet when the wallet database is loaded, to avoid initialization that should only happen on first run. This flag is also a mandatory flag to prevent previous versions of bitcoin from opening the wallet, thinking it was newly created, and then improperly reinitializing it. |
WALLET_FLAG_DESCRIPTORS | Indicate that this wallet supports DescriptorScriptPubKeyMan. |
WALLET_FLAG_EXTERNAL_SIGNER | Indicates that the wallet needs an external signer. |
Definition at line 35 of file walletutil.h.
WalletFeature GetClosestWalletFeature | ( | int | version | ) |
fs::path GetWalletDir | ( | ) |
Get the path of the wallet directory.
Definition at line 10 of file walletutil.cpp.
bool IsFeatureSupported | ( | int | wallet_version, |
int | feature_version | ||
) |