wallet::DescriptorScriptPubKeyMan::UpdateWalletDescriptor

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

NameDescription
descriptorThe descriptor to update to.
providerThe signing provider supplying keys for the descriptor.