Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletutil.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | enum WalletFlags : uint64_t { | ||||
//! The only function this flag serves is to distinguish a blank wallet from | //! 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 | //! a newly created wallet when the wallet database is loaded, to avoid | ||||
//! initialization that should only happen on first run. | //! initialization that should only happen on first run. | ||||
//! | //! | ||||
//! This flag is also a mandatory flag to prevent previous versions of | //! This flag is also a mandatory flag to prevent previous versions of | ||||
//! bitcoin from opening the wallet, thinking it was newly created, and | //! bitcoin from opening the wallet, thinking it was newly created, and | ||||
//! then improperly reinitializing it. | //! then improperly reinitializing it. | ||||
WALLET_FLAG_BLANK_WALLET = (1ULL << 33), | WALLET_FLAG_BLANK_WALLET = (1ULL << 33), | ||||
//! Indicate that this wallet supports DescriptorScriptPubKeyMan | |||||
WALLET_FLAG_DESCRIPTORS = (1ULL << 34), | |||||
}; | }; | ||||
//! Get the path of the wallet directory. | //! Get the path of the wallet directory. | ||||
fs::path GetWalletDir(); | fs::path GetWalletDir(); | ||||
//! Get wallets in wallet directory. | //! Get wallets in wallet directory. | ||||
std::vector<fs::path> ListWalletDir(); | std::vector<fs::path> ListWalletDir(); | ||||
Show All 20 Lines |