wallet::DescriptorScriptPubKeyMan::GetNewDestination

GetNewDestination overloads

Synopses

Declared in <wallet/scriptpubkeyman.h>

Returns a new destination of the given output type.

virtual
util::Result<CTxDestination>
GetNewDestination(OutputType type) override;
» more...

Returns a new destination of the given output type, or an error if unsupported.

virtual
util::Result<CTxDestination>
GetNewDestination(OutputType const type);
» more...

Return Value

  • The new destination, or an error if it could not be created.
  • The new destination, or an error if the type is unsupported.

Parameters

NameDescription
typeThe output type of the destination to create.