Compute the BIP341 tapbranch hash from two branches. Spans must be 32 bytes each.
Synopsis
Declared in <script/interpreter.h>
uint256
ComputeTapbranchHash(
std::span<unsigned char const> a,
std::span<unsigned char const> b);
Return Value
The combined tapbranch hash.
Parameters
Name |
Description |
a |
The first 32‐byte branch hash. |
b |
The second 32‐byte branch hash. |
Created with MrDocs