Unique identifier that may not change over time, unless explicitly marked as not backwards compatible. This is not part of BIP 380, not guaranteed to be interoperable and should not be exposed to the user.

Synopsis

Declared in <script/descriptor.h>

uint256
DescriptorID(Descriptor const& desc);

Return Value

The descriptor's unique identifier.

Parameters

Name

Description

desc [in]

The descriptor to identify.

Created with MrDocs