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

Class ChallengeTransaction

bridge/src/transactions/challenge.rs:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17#[derive(Serialize, Deserialize, Eq, PartialEq, Clone)]
18pub struct ChallengeTransaction {
19 #[serde(with = "consensus::serde::With::<consensus::serde::Hex>")]
20 tx: Transaction,
21 #[serde(with = "consensus::serde::With::<consensus::serde::Hex>")]
22 prev_outs: Vec<TxOut>,
23 prev_scripts: Vec<ScriptBuf>,
24 input_amount_crowdfunding: Amount,
25}
26
27impl PreSignedTransaction for ChallengeTransaction {
28 fn tx(&self) -> &Transaction {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected