wallet::CWallet::GetDescriptorsForLegacy

Get all of the descriptors from a legacy wallet

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7fb955bd1778), requires_capability(0x7fb94db86098), requires_capability(0x7fb95ab15f18), requires_capability(0x7fb959fb2af8), requires_capability(0x7fb956cbcd88)]]
std::optional<MigrationData>
GetDescriptorsForLegacy(bilingual_str& error) const;

Return Value

The migration data, or nullopt on failure.

Parameters

NameDescription
errorSet to an error message on failure.