MCPcopy Create free account
hub / github.com/BitVM/BitVM / taproot_scripts_len

Method taproot_scripts_len

bridge/src/connectors/connector_c.rs:147–149  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

145 }
146
147 pub fn taproot_scripts_len(&self) -> usize {
148 self.taproot_spend_info_cached().scripts_length
149 }
150
151 pub fn taproot_script_and_control_block(&self, leaf_index: usize) -> (ScriptBuf, ControlBlock) {
152 let cache_id = lock_script_cache_id(&self.commitment_public_keys, leaf_index);

Callers 1

Calls 1

Tested by

no test coverage detected