Returns whether this spkm can be updated to the given descriptor.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

bool
CanUpdateToWalletDescriptor(
    WalletDescriptor const& descriptor,
    std::string& error);

Return Value

true if this spkm can be updated to the descriptor.

Parameters

Name

Description

descriptor

The descriptor to check for compatibility.

error

Filled with the reason if the update is not possible.

Created with MrDocs