Construct a Taproot tweaked output point with this point as internal key.

Synopsis

Declared in <pubkey.h>

std::optional<std::pair<XOnlyPubKey, bool>>
CreateTapTweak(uint256 const* merkle_root) const;

Return Value

The tweaked output point and its parity, or std::nullopt on failure.

Parameters

Name

Description

merkle_root

Optional Merkle root of the script tree.

Created with MrDocs