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

Class DisproveChainTransaction

bridge/src/transactions/disprove_chain.rs:24–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23#[derive(Serialize, Deserialize, Eq, PartialEq, Clone)]
24pub struct DisproveChainTransaction {
25 #[serde(with = "consensus::serde::With::<consensus::serde::Hex>")]
26 tx: Transaction,
27 #[serde(with = "consensus::serde::With::<consensus::serde::Hex>")]
28 prev_outs: Vec<TxOut>,
29 prev_scripts: Vec<ScriptBuf>,
30 reward_output_amount: Amount,
31
32 musig2_nonces: HashMap<usize, HashMap<PublicKey, PubNonce>>,
33 musig2_nonce_signatures: HashMap<usize, HashMap<PublicKey, Signature>>,
34 musig2_signatures: HashMap<usize, HashMap<PublicKey, PartialSignature>>,
35}
36
37impl PreSignedTransaction for DisproveChainTransaction {
38 fn tx(&self) -> &Transaction {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected