Skip to content

Commit 60d1042

Browse files
committed
wallet: Remove unused WalletFeature enums
1 parent 66de582 commit 60d1042

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/wallet/walletutil.h

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,6 @@
1111
#include <vector>
1212

1313
namespace wallet {
14-
/** (client) version numbers for particular wallet features */
15-
enum WalletFeature
16-
{
17-
FEATURE_BASE = 10500, // the earliest version new wallets supports (only useful for getwalletinfo's clientversion output)
18-
19-
FEATURE_WALLETCRYPT = 40000, // wallet encryption
20-
FEATURE_COMPRPUBKEY = 60000, // compressed public keys
21-
22-
FEATURE_HD = 130000, // Hierarchical key derivation after BIP32 (HD Wallet)
23-
24-
FEATURE_HD_SPLIT = 139900, // Wallet with HD chain split (change outputs will use m/0'/1'/k)
25-
26-
FEATURE_NO_DEFAULT_KEY = 159900, // Wallet without a default key written
27-
28-
FEATURE_PRE_SPLIT_KEYPOOL = 169900, // Upgraded to HD SPLIT and can have a pre-split keypool
29-
30-
FEATURE_LATEST = FEATURE_PRE_SPLIT_KEYPOOL
31-
};
3214

3315
enum WalletFlags : uint64_t {
3416
// wallet flags in the upper section (> 1 << 31) will lead to not opening the wallet if flag is unknown

0 commit comments

Comments
 (0)