[#wallet-WalletDescriptor] = xref:wallet.adoc[wallet]::WalletDescriptor :relfileprefix: ../ :mrdocs: Descriptor with some wallet metadata == Synopsis Declared in `<wallet/walletutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class WalletDescriptor; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:wallet/WalletDescriptor/2constructor-00f.adoc[`WalletDescriptor`] [.small]#[constructor]# | Constructors | xref:wallet/WalletDescriptor/DecNext.adoc[`DecNext`] | Increments the next_index of the descriptor. | xref:wallet/WalletDescriptor/DeserializeDescriptor.adoc[`DeserializeDescriptor`] | Parses a descriptor from its string form and updates the descriptor and id. | xref:wallet/WalletDescriptor/GetEnd.adoc[`GetEnd`] | Returns the index past the end of the descriptor's range. | xref:wallet/WalletDescriptor/GetNext.adoc[`GetNext`] | Returns the index of the next item to generate. | xref:wallet/WalletDescriptor/GetStart.adoc[`GetStart`] | Returns the first index in the descriptor's range. | xref:wallet/WalletDescriptor/IncNext.adoc[`IncNext`] | Increments the next_index of the descriptor. | xref:wallet/WalletDescriptor/SetEnd.adoc[`SetEnd`] | Sets the range_end of the descriptor. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:wallet/WalletDescriptor/cache.adoc[`cache`] | Cached expanded keys and scripts for the descriptor. | xref:wallet/WalletDescriptor/creation_time.adoc[`creation_time`] | Unix timestamp of when the descriptor was added to the wallet. | xref:wallet/WalletDescriptor/descriptor.adoc[`descriptor`] | The parsed output script descriptor. | xref:wallet/WalletDescriptor/id.adoc[`id`] | Descriptor ID (calculated once at descriptor initialization/deserialization). |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:wallet/GenerateWalletDescriptor.adoc[`GenerateWalletDescriptor`] | Builds a new wallet descriptor for the given key and output type. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#