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

Method new

bridge/src/transactions/peg_in_refund.rs:45–56  ·  view source on GitHub ↗
(context: &DepositorContext, connector_z: &ConnectorZ, input_0: Input)

Source from the content-addressed store, hash-verified

43
44impl PegInRefundTransaction {
45 pub fn new(context: &DepositorContext, connector_z: &ConnectorZ, input_0: Input) -> Self {
46 let mut this = Self::new_for_validation(
47 context.network,
48 &context.depositor_public_key,
49 connector_z,
50 input_0,
51 );
52
53 this.sign_input_0(context, connector_z);
54
55 this
56 }
57
58 pub fn new_with_signature(
59 network: Network,

Callers

nothing calls this directly

Calls 1

sign_input_0Method · 0.45

Tested by

no test coverage detected