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