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

Class DisproveTransaction

bridge/src/transactions/disprove.rs:22–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected