Skip to content

Conversation

@coreyphillips
Copy link
Contributor

Add Replace-By-Fee (RBF) and Child-Pays-For-Parent (CPFP) functionality
to allow users to bump fees on stuck transactions.

  • Add bump_fee_by_rbf to replace transactions with higher fee versions
  • Add accelerate_by_cpfp to create child transactions that pay for parent
  • Add calculate_cpfp_fee_rate helper for automatic fee calculation
  • Add new error variants for transaction fee bumping operations
  • Expose methods through OnchainPayment API
  • Add UniFFI bindings for RBF/CPFP functionality

RBF allows replacing an existing unconfirmed transaction with a new version
that pays a higher fee. CPFP allows accelerating a transaction by spending
one of its outputs with a high-fee child transaction.

Release Candidate has been made available for testing here.

Add Replace-By-Fee (RBF) and Child-Pays-For-Parent (CPFP) functionality
to allow users to bump fees on stuck transactions.

- Add `bump_fee_by_rbf` to replace transactions with higher fee versions
- Add `accelerate_by_cpfp` to create child transactions that pay for parent
- Add `calculate_cpfp_fee_rate` helper for automatic fee calculation
- Add new error variants for transaction fee bumping operations
- Expose methods through `OnchainPayment` API
- Add UniFFI bindings for RBF/CPFP functionality

RBF allows replacing an existing unconfirmed transaction with a new version
that pays a higher fee. CPFP allows accelerating a transaction by spending
one of its outputs with a high-fee child transaction.
Updates version to 0.6.0
Updates Package.swift.
Updates version to 0.6.0-rc.1
Updates Package.swift.
@ldk-reviews-bot
Copy link

👋 Hi! Please choose at least one reviewer by assigning them on the right bar.
If no reviewers are assigned within 10 minutes, I'll automatically assign one.
Once the first reviewer has submitted a review, a second will be assigned if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants