Bitcoin ABC 0.26.3
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 = 160300 , FEATURE_NO_DEFAULT_KEY = 190700 , FEATURE_PRE_SPLIT_KEYPOOL = 200300 , 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) } |
Functions | |
fs::path | GetWalletDir () |
Get the path of the wallet directory. | |
std::vector< fs::path > | ListWalletDir () |
Get wallets in wallet directory. | |
(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.
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. |
Definition at line 39 of file walletutil.h.
fs::path GetWalletDir | ( | ) |
Get the path of the wallet directory.
Definition at line 13 of file walletutil.cpp.
std::vector< fs::path > ListWalletDir | ( | ) |
Get wallets in wallet directory.
Definition at line 70 of file walletutil.cpp.