Constructors

Synopses

Declared in <wallet/walletutil.h>

Constructs an empty wallet descriptor.

constexpr
WalletDescriptor() = default;

Constructs a wallet descriptor from a descriptor and its range metadata.

WalletDescriptor(
    std::shared_ptr<Descriptor> descriptor,
    uint64_t creation_time,
    int32_t range_start,
    int32_t range_end,
    int32_t next_index);

Parameters

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.

Created with MrDocs