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

Class BitVMClient

bridge/src/client/client.rs:114–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114pub struct BitVMClient {
115 pub esplora: AsyncClient,
116 pub source_network: Network,
117
118 depositor_context: Option<DepositorContext>,
119 operator_context: Option<OperatorContext>,
120 verifier_context: Option<VerifierContext>,
121 withdrawer_context: Option<WithdrawerContext>,
122
123 data_store: DataStore,
124 data: BitVMClientPublicData,
125 latest_processed_file_name: Option<String>,
126 remote_file_path: String,
127 local_file_path: PathBuf,
128
129 private_data: BitVMClientPrivateData,
130
131 chain_service: Chain,
132
133 zkproof_verifying_key: Option<ZkProofVerifyingKey>,
134}
135
136impl BitVMClient {
137 #[allow(clippy::too_many_arguments)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected