Skip to content

Pre-signed redeem fee tiers to let Alice fee-bump the BTC redeem #984

@binarybaron

Description

@binarybaron

Today the BTC redeem tx is built once with a fixed fee baked in, and Bob's adaptor signature commits to that fee via Sighash::All (swap-core/src/bitcoin/redeem.rs). Alice can't bump the fee unilaterally, and with external_redeem_address she also can't CPFP.

Have Bob produce N encrypted signatures over N parallel TxRedeems at different feerates (e.g. 2/5/10/25/50 sat/vB), with sequence = 0xFFFFFFFD so they RBF-replace each other. Alice picks a tier at broadcast based on current mempool, and replaces with a higher tier if it gets stuck.

No sighash change, no anchor output, works with external redeem addresses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    asbRelated to the ASB (maker side)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions