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

Method new

bridge/src/connectors/connector_3.rs:21–27  ·  view source on GitHub ↗
(network: Network, operator_public_key: &PublicKey)

Source from the content-addressed store, hash-verified

19
20impl Connector3 {
21 pub fn new(network: Network, operator_public_key: &PublicKey) -> Self {
22 Connector3 {
23 network,
24 operator_public_key: *operator_public_key,
25 num_blocks_timelock: num_blocks_per_network(network, NUM_BLOCKS_PER_3_DAYS),
26 }
27 }
28}
29
30impl P2wshConnector for Connector3 {

Callers

nothing calls this directly

Calls 1

num_blocks_per_networkFunction · 0.85

Tested by

no test coverage detected