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

Method pre_sign

bridge/src/transactions/kick_off_timeout.rs:152–160  ·  view source on GitHub ↗
(
        &mut self,
        context: &VerifierContext,
        connector_1: &Connector1,
        secret_nonces: &HashMap<usize, SecNonce>,
    )

Source from the content-addressed store, hash-verified

150 }
151
152 pub fn pre_sign(
153 &mut self,
154 context: &VerifierContext,
155 connector_1: &Connector1,
156 secret_nonces: &HashMap<usize, SecNonce>,
157 ) {
158 let input_index = 0;
159 self.sign_input_0(context, connector_1, &secret_nonces[&input_index]);
160 }
161
162 pub fn add_output(&mut self, output_script_pubkey: ScriptBuf) {
163 let output_index = 1;

Callers

nothing calls this directly

Calls 1

sign_input_0Method · 0.45

Tested by

no test coverage detected