| 22 | |
| 23 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone)] |
| 24 | pub 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 | |
| 37 | impl PreSignedTransaction for DisproveChainTransaction { |
| 38 | fn tx(&self) -> &Transaction { |
nothing calls this directly
no outgoing calls
no test coverage detected