Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sweep: add support for a custom fee rate provider #858

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bhandras
Copy link
Member

With this commit we can parametrize the sweeper with a custom fee rate provider to use instead of the default walletkit one.

Pull Request Checklist

  • Update release_notes.md if your PR contains major features, breaking changes or bugfixes

With this commit we can parametrize the sweeper with a custom fee rate
provider to use instead of the default walletkit one.
@bhandras bhandras force-pushed the sweeper-custom-fee-rate-provider branch from 1a49e56 to 32d01f2 Compare November 27, 2024 18:44
@hieblmi hieblmi self-requested a review December 3, 2024 12:38
Copy link
Collaborator

@hieblmi hieblmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💾

Copy link
Collaborator

@starius starius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉


// FeeRateProvider if set will be used to estimate the fee rate for the
// sweep transaction.
FeeRateProvider FeeRateProvider
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose to add a unit test for this feature.

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