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

Class BitVMClientPrivateData

bridge/src/client/client.rs:103–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
102#[derive(Serialize, Deserialize, Eq, PartialEq)]
103pub struct BitVMClientPrivateData {
104 // Peg in and peg out nonces all go into the same file for now
105 // Verifier public key -> Graph ID -> Tx ID -> Input index -> Secret nonce
106 #[allow(clippy::type_complexity)]
107 pub secret_nonces: HashMap<PublicKey, HashMap<String, HashMap<Txid, HashMap<usize, SecNonce>>>>,
108 // Operator Winternitz secrets for all the graphs.
109 // Operator public key -> Graph ID -> Message ID -> Winternitz secret
110 pub commitment_secrets:
111 HashMap<PublicKey, HashMap<String, HashMap<CommitmentMessageId, WinternitzSecret>>>,
112}
113
114pub struct BitVMClient {
115 pub esplora: AsyncClient,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected