Function tappath_hash

Source
pub fn tappath_hash() -> u256
Expand description

Return a hash of the current input’s control block excluding the leaf version and the taproot internal key.

Using the notation of BIP-0341, it returns the SHA256 hash of c[33: 33 + 32m].

§Cost

143 mWU (milli weight units)