Returns whether this spkm can be updated to the given descriptor.
Declared in <wallet/scriptpubkeyman.h>
bool
CanUpdateToWalletDescriptor(
WalletDescriptor const& descriptor,
std::string& error);
true if this spkm can be updated to the descriptor.
| Name | Description |
|---|---|
| descriptor | The descriptor to check for compatibility. |
| error | Filled with the reason if the update is not possible. |