clementine_core::builder::transaction

Module operator_collateral

Source
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§