mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-25 20:11:35 +02:00
wallet: Remove unused WalletFeature
enums
This commit is contained in:
@@ -11,24 +11,6 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace wallet {
|
namespace wallet {
|
||||||
/** (client) version numbers for particular wallet features */
|
|
||||||
enum WalletFeature
|
|
||||||
{
|
|
||||||
FEATURE_BASE = 10500, // the earliest version new wallets supports (only useful for getwalletinfo's clientversion output)
|
|
||||||
|
|
||||||
FEATURE_WALLETCRYPT = 40000, // wallet encryption
|
|
||||||
FEATURE_COMPRPUBKEY = 60000, // compressed public keys
|
|
||||||
|
|
||||||
FEATURE_HD = 130000, // Hierarchical key derivation after BIP32 (HD Wallet)
|
|
||||||
|
|
||||||
FEATURE_HD_SPLIT = 139900, // Wallet with HD chain split (change outputs will use m/0'/1'/k)
|
|
||||||
|
|
||||||
FEATURE_NO_DEFAULT_KEY = 159900, // Wallet without a default key written
|
|
||||||
|
|
||||||
FEATURE_PRE_SPLIT_KEYPOOL = 169900, // Upgraded to HD SPLIT and can have a pre-split keypool
|
|
||||||
|
|
||||||
FEATURE_LATEST = FEATURE_PRE_SPLIT_KEYPOOL
|
|
||||||
};
|
|
||||||
|
|
||||||
enum WalletFlags : uint64_t {
|
enum WalletFlags : uint64_t {
|
||||||
// wallet flags in the upper section (> 1 << 31) will lead to not opening the wallet if flag is unknown
|
// wallet flags in the upper section (> 1 << 31) will lead to not opening the wallet if flag is unknown
|
||||||
|
Reference in New Issue
Block a user