[#ComputeTapleafHash] = ComputeTapleafHash :mrdocs: Compute the BIP341 tapleaf hash from leaf version & script. == Synopsis Declared in `<script/interpreter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:uint256.adoc[uint256] ComputeTapleafHash( uint8_t leaf_version, std::span<unsigned char const> script); ---- == Return Value The tapleaf hash. == Parameters [cols="1,4"] |=== | Name| Description | *leaf_version* | The tapleaf version byte. | *script* | The leaf script. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#