Updates this spkm's descriptor, e.g. to add private keys or cache data.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

util::Result<void>
UpdateWalletDescriptor(
    WalletDescriptor& descriptor,
    FlatSigningProvider const& provider);

Return Value

Success, or an error if the update is not possible.

Parameters

Name

Description

descriptor

The descriptor to update to.

provider

The signing provider supplying keys for the descriptor.

Created with MrDocs