Expand description
§Collaterals
This module contains the logic for creating the round_tx, ready_to_reimburse_tx,
and unspent_kickoff_tx transactions. These transactions are used to control the sequence of transactions
in the withdrawal process and limits the number of withdrawals the operator can make in a given time period.
The flow is as follows:
round_tx -> ready_to_reimburse_tx -> round_tx -> ...
The round_tx is used to create a collateral for the withdrawal, kickoff utxos for the current
round and the reimburse connectors for the previous round.
Enums§
Functions§
- create_
assert_ timeout_ txhandlers - Creates a vector of
TxHandlerforassert_timeout_txtransactions. - create_
burn_ unused_ kickoff_ connectors_ txhandler - Creates a
TxHandlerfor burning unused kickoff connectors. - create_
ready_ to_ reimburse_ txhandler - Creates a
TxHandlerfor theready_to_reimburse_tx. - create_
round_ nth_ txhandler - Creates the nth (1-indexed)
round_txhandlerandreimburse_generator_txhandlerpair for a specific operator. - create_
round_ txhandler - Creates a
TxHandlerforround_tx. - create_
unspent_ kickoff_ txhandlers - Creates a vector of
TxHandlerforunspent_kickoff_txtransactions. These transactions can be sent if an operator sends ReadyToReimburse transaction without spending all the kickoff utxos of the round.