You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge bitcoin/bitcoin#32977: wallet: Remove wallet version and several legacy related functions
60d1042 wallet: Remove unused `WalletFeature` enums (woltx)
66de582 wallet: Remove `CWallet::nWalletVersion` and related functions (woltx)
7cda3d0 wallet: Remove `IsFeatureSupported()` and `CanSupportFeature()` (woltx)
ba01585 wallet: `MigrateToDescriptor` no longer calls `CanSupportFeature` (woltx)
63acee2 wallet: Remove `GetClosestWalletFeature()` (woltx)
e27da31 wallet: Remove `GetVersion()` (woltx)
Pull request description:
This PR incorporates the suggestion provided by PRabahy and pablomartin4btc in bitcoin/bitcoin#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 bitcoin/bitcoin#32944
ACKs for top commit:
maflcko:
review ACK 60d1042 🐾
achow101:
ACK 60d1042
pablomartin4btc:
ACK 60d1042
Tree-SHA512: 1a7ad8e15d57df8f66545776e7d178a2cd5312c87769a29770588375e3de5f24247aab9919acf004ed3eca16d08ba595b5f1c7b2b3eef7752e89d9c295624583
{RPCResult::Type::STR, "walletname", "the wallet name"},
43
-
{RPCResult::Type::NUM, "walletversion", "the walletversion"},
43
+
{RPCResult::Type::NUM, "walletversion", "(DEPRECATED) only related to unsupported legacy wallet, returns the latest version 169900 for backwards compatibility"},
44
44
{RPCResult::Type::STR, "format", "the database format (only sqlite)"},
45
45
{RPCResult::Type::NUM, "txcount", "the total number of transactions in the wallet"},
46
46
{RPCResult::Type::NUM, "keypoolsize", "how many new keys are pre-generated (only counts external keys)"},
0 commit comments