pub fn create_challenge_timeout_txhandler(
kickoff_txhandler: &TxHandler,
paramset: &'static ProtocolParamset,
) -> Result<TxHandler, BridgeError>
Expand description
Creates a TxHandler
for the challenge_timeout
transaction.
This transaction is used to finalize a kickoff if no challenge is submitted in time, allowing the operator to proceed faster to the next round, thus getting their reimbursement, as the next round will generate the reimbursement connectors of the current round.
§Inputs
- KickoffTx: Challenge utxo
- KickoffTx: KickoffFinalizer utxo
§Outputs
- Anchor output for CPFP
§Arguments
kickoff_txhandler
- The kickoff transaction handler the challenge timeout belongs to.paramset
- Protocol parameter set.
§Returns
A TxHandler
for the challenge timeout transaction, or a BridgeError
if construction fails.