Trait ExitUnilaterally

Source
pub trait ExitUnilaterally:
    GetBalance
    + GetWalletTx
    + MakeCpfp
    + SignPsbt
    + GetSpendingTx
    + Send
    + Sync { }
Expand description

Trait alias for wallets that support unilateral exit end-to-end.

Any wallet type implementing these component traits automatically implements ExitUnilaterally. The trait requires Send + Sync because exit flows may be executed from async tasks and across threads.

Required capabilities:

  • GetBalance: to evaluate available funds
  • GetWalletTx: to query related transactions and their confirmations
  • MakeCpfp: to accelerate slow/pinned exits
  • SignPsbt: to finalize transactions
  • GetSpendingTx: to detect local spends relevant to exit coordination

Implementors§