Ensure previous clients can't open HD wallets

This commit is contained in:
janko33bd
2017-09-02 19:57:05 +01:00
parent 5b49f32c85
commit 87698fe7ce
2 changed files with 10 additions and 5 deletions

View File

@@ -82,6 +82,9 @@ enum WalletFeature
FEATURE_COMPRPUBKEY = 60000, // compressed public keys
FEATURE_LATEST = 60000
FEATURE_HD = 330000, // Hierarchical key derivation after BIP32 (HD Wallet)
FEATURE_LATEST = FEATURE_COMPRPUBKEY // HD is optional, use FEATURE_COMPRPUBKEY as latest version
};