This PR incorporates the suggestion provided by PRabahy and pablomartin4btc in #32944 of removing CWallet::nWalletVersion
and several related functions, such as SetMinVersion()
, GetVersion()
, GetClosestWalletFeature()
, IsFeatureSupported()
, CanSupportFeature()
, etc …
This field is no longer used in the descriptor wallet and there is still a lot of code related to it, so the changes here provide a good cleanup in the wallet code.
Built on top of https://github.com/bitcoin/bitcoin/pull/32944