clementine_core::builder::address

Function taproot_builder_with_scripts

Source
pub fn taproot_builder_with_scripts(scripts: &[ScriptBuf]) -> TaprootBuilder
Expand description

A helper to construct a TaprootBuilder from a slice of script buffers, forming the script tree. Finds the needed depth the script tree needs to be to fit all the scripts and inserts the scripts.