wallet::WalletDescriptor

Descriptor with some wallet metadata

Synopsis

Declared in <wallet/walletutil.h>

class WalletDescriptor;

Member Functions

NameDescription
WalletDescriptor [constructor]Constructors
DecNext Increments the next_index of the descriptor.
DeserializeDescriptor Parses a descriptor from its string form and updates the descriptor and id.
GetEnd Returns the index past the end of the descriptor's range.
GetNext Returns the index of the next item to generate.
GetStart Returns the first index in the descriptor's range.
IncNext Increments the next_index of the descriptor.
SetEnd Sets the range_end of the descriptor.

Data Members

NameDescription
cache Cached expanded keys and scripts for the descriptor.
creation_time Unix timestamp of when the descriptor was added to the wallet.
descriptor The parsed output script descriptor.
id Descriptor ID (calculated once at descriptor initialization/deserialization).

Non-Member Functions

NameDescription
GenerateWalletDescriptorBuilds a new wallet descriptor for the given key and output type.