wallet::WalletDescriptor::WalletDescriptor

Constructors

Synopses

Declared in <wallet/walletutil.h>

Constructs an empty wallet descriptor.

constexpr
WalletDescriptor() = default;
» more...

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);
» more...

Parameters

NameDescription
descriptorThe output script descriptor.
creation_timeUnix timestamp of when the descriptor was added.
range_startFirst index in the descriptor's range.
range_endIndex past the last item in the range.
next_indexIndex of the next item to generate.