Like Add(), but for a Merkle node with a given hash to the tree.

Synopsis

Declared in <script/signingprovider.h>

TaprootBuilder&
AddOmitted(
    int depth,
    uint256 const& hash);

Return Value

A reference to this builder for chaining.

Parameters

Name

Description

depth

The depth in the Merkle tree to add the node at.

hash

The Merkle hash of the omitted subtree.

Created with MrDocs