What happens when VTXOs expire?
When a VTXO reaches its expiry height, the server gains the ability to sweep any remaining bitcoin to its own wallet through the timelock spend paths. Users also retain the ability to spend the VTXO or perform an emergency exit (as long as they haven’t forfeited it). This mechanism allows servers to replace liquidity deployed during the VTXO’s lifetime and prevents users from griefing servers by holding expired commitments indefinitely.Avoiding expiry
Users have several options to maintain control before their VTXOs expire:- Spend the VTXO: Create spend VTXOs for payments (inherits the original expiration time)
- Refresh in a round: Convert to a new refresh VTXO with a fresh lifetime
- Cooperative exit: Work with the server to create an offboard transaction
- Emergency exit: Broadcast all transactions in the VTXO to claim bitcoin on-chain (reserved for emergencies!)