pub fn combine_emergency_stop_txhandler(
txs: Vec<(Txid, Transaction)>,
add_anchor: bool,
paramset: &'static ProtocolParamset,
) -> Transaction
Expand description
Combines multiple emergency stop transactions into a single transaction.
§Arguments
txs
- A vector of (Txid, Transaction) pairs, each representing a signed emergency stop transaction using Sighash Single | AnyoneCanPay.add_anchor
- If true, an anchor output will be appended to the outputs.
§Returns
A new [Transaction
] that merges all inputs and outputs from the provided transactions, optionally adding an anchor output.
§Warning
This function does not perform any safety checks and assumes all inputs/outputs are valid and compatible.