mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-11 21:22:47 +01:00
wallet: Add GetClosestWalletFeature function
Given a version number, get the closest supported WalletFeature for a version number.
This commit is contained in:
@@ -30,6 +30,7 @@ enum WalletFeature
|
||||
};
|
||||
|
||||
bool IsFeatureSupported(int wallet_version, int feature_version);
|
||||
WalletFeature GetClosestWalletFeature(int version);
|
||||
|
||||
enum WalletFlags : uint64_t {
|
||||
// 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