Skip to content

Conversation

@coreyphillips
Copy link
Collaborator

@coreyphillips coreyphillips commented Jun 17, 2025

This PR exposes the calculate_cpfp_fee_rate method, allowing users to calculate appropriate fee rates for Child-Pays-For-Parent (CPFP) transactions before creating them.

  • Add public calculate_cpfp_fee_rate method to OnchainPayment
  • Expose method in UDL bindings
  • Handle uniffi/non-uniffi return type differences

New release available for testing here:

Adds public method to calculate appropriate fee rates for CPFP (Child-Pays-For-Parent) transactions. This allows users to determine the optimal fee rate before creating CPFP transactions to accelerate parent transaction confirmation.

- Add public calculate_cpfp_fee_rate method to OnchainPayment
- Expose method in UDL bindings
- Handle uniffi/non-uniffi return type differences
@coreyphillips coreyphillips self-assigned this Jun 17, 2025
@coreyphillips coreyphillips requested a review from Jasonvdb June 17, 2025 13:54
@coreyphillips coreyphillips merged commit 3d89630 into main Jun 19, 2025
@coreyphillips coreyphillips deleted the feat/expose-cpfp-fee-calculation- branch June 19, 2025 22:44
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.

3 participants