pub trait IntoNodeHash {
    fn into_node_hash(self) -> TapNodeHash;
}
Expand description

Marker trait for all forms of hashes which may participate in the construction of taproot script tree.

Required Methods§

Converts leaf or branch hash into a generic SHA256 hash value, which can be used to construct hidden nodes in the tap tree.

Implementations on Foreign Types§

Converts this leaf hash into a generic SHA256 hash value, which can be used to construct hidden nodes in the tap tree.

Converts this branch hash into a generic SHA256 hash value, which can be used to construct hidden nodes in the tap tree.

Implementors§