rpc: createwallet warning that descriptor wallets are experimental
Remove unimplemented SetCrypted from DescriptorScriptPubKeyMan
Change SetType to SetInternal and remove m_address_type
m_address_type was used for two things:
- Determine the type of descriptor to generate during SetupDescriptorGeneration
- Sanity check during GetNewDestination.
There is no need to have this variable to accomplish those things.
- Add a argument to SetupDescriptorGeneration indicating the address type to use
- Use Descriptor::GetOutputType for the sanity check.
This is a backport of Core PR18787
It does not include the release notes from the original backport.