Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Namespaces | Enumerations | Functions
walletutil.h File Reference
#include <script/descriptor.h>
#include <util/fs.h>
#include <vector>
Include dependency graph for walletutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  wallet::WalletDescriptor
 Descriptor with some wallet metadata. More...
 

Namespaces

namespace  wallet
 

Enumerations

enum  wallet::WalletFeature {
  wallet::FEATURE_BASE = 10500 , wallet::FEATURE_WALLETCRYPT = 40000 , wallet::FEATURE_COMPRPUBKEY = 60000 , wallet::FEATURE_HD = 130000 ,
  wallet::FEATURE_HD_SPLIT = 139900 , wallet::FEATURE_NO_DEFAULT_KEY = 159900 , wallet::FEATURE_PRE_SPLIT_KEYPOOL = 169900 , wallet::FEATURE_LATEST = FEATURE_PRE_SPLIT_KEYPOOL
}
 (client) version numbers for particular wallet features More...
 
enum  wallet::WalletFlags : uint64_t {
  wallet::WALLET_FLAG_AVOID_REUSE = (1ULL << 0) , wallet::WALLET_FLAG_KEY_ORIGIN_METADATA = (1ULL << 1) , wallet::WALLET_FLAG_LAST_HARDENED_XPUB_CACHED = (1ULL << 2) , wallet::WALLET_FLAG_DISABLE_PRIVATE_KEYS = (1ULL << 32) ,
  wallet::WALLET_FLAG_BLANK_WALLET = (1ULL << 33) , wallet::WALLET_FLAG_DESCRIPTORS = (1ULL << 34) , wallet::WALLET_FLAG_EXTERNAL_SIGNER = (1ULL << 35)
}
 

Functions

bool wallet::IsFeatureSupported (int wallet_version, int feature_version)
 
WalletFeature wallet::GetClosestWalletFeature (int version)
 
fs::path wallet::GetWalletDir ()
 Get the path of the wallet directory. More...
 
WalletDescriptor wallet::GenerateWalletDescriptor (const CExtPubKey &master_key, const OutputType &addr_type, bool internal)