121 | @@ -122,8 +122,6 @@ bool WalletInit::ParameterInteraction() const
122 |
123 | if (gArgs.GetBoolArg("-sysperms", false))
124 | return InitError("-sysperms is not allowed in combination with enabled wallet functionality");
125 | - if (gArgs.GetArg("-prune", 0) && gArgs.GetBoolArg("-rescan", false))
126 | - return InitError(_("Rescans are not possible in pruned mode. You will need to use -reindex which will download the whole blockchain again.").translated);
This seems like a pretty user friendly error message that might be better to keep.
I agree with commit description, which is in line with #16037.
Side note, there was no test for this 😞
I think this error message is wrong. You can rescan in pruned mode if rescan height is in range of non-pruned blocks. It's really likely it's going to fail if wallet has been disabled for a long time but not sure. Maybe a warning?
I agree with commit description, which is in line with #16037.
Oops, I hadn't seen the commit description. I see the message in CreateWalletFile keeps the suggestion to use -reindex, so this looks good to me.