[#wallet-WalletDescriptor-2constructor-00f] = xref:wallet.adoc[wallet]::xref:wallet/WalletDescriptor.adoc[WalletDescriptor]::WalletDescriptor :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<wallet/walletutil.h>` Constructs an empty wallet descriptor. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:wallet/WalletDescriptor/2constructor-0f.adoc[WalletDescriptor]() = default; ---- [.small]#xref:wallet/WalletDescriptor/2constructor-0f.adoc[_» more..._]# Constructs a wallet descriptor from a descriptor and its range metadata. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:wallet/WalletDescriptor/2constructor-005.adoc[WalletDescriptor]( std::shared_ptr<Descriptor> descriptor, uint64_t creation_time, int32_t range_start, int32_t range_end, int32_t next_index); ---- [.small]#xref:wallet/WalletDescriptor/2constructor-005.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *descriptor* | The output script descriptor. | *creation_time* | Unix timestamp of when the descriptor was added. | *range_start* | First index in the descriptor's range. | *range_end* | Index past the last item in the range. | *next_index* | Index of the next item to generate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#