-
Notifications
You must be signed in to change notification settings - Fork 133
tapd: bump maxFeeRatio for funded psbts #1545
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
base: main
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 16725425254Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
99bb86a
to
e9d48fa
Compare
This commit allows the user to set their own value for the maximum allowed fees to total output amount ratio that is used by the wallet when funding PSBTs.
e9d48fa
to
2028e61
Compare
Made the value configurable by the user via |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
|
||
// defaultPsbtMaxFeeRatio is the default maximum for fees to total | ||
// output amount ratio to use when funding PSBTs. | ||
defaultPsbtMaxFeeRatio = 0.75 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we export the lndservices.defaultPsbtMaxFeeRation
and use that here? Or the other way around, depending on what works without creating a circular package dependency.
than the anchor amount itself, which is helpful in high fee environment where | ||
pulling in extra inputs might not be preferred.It is exposed via the flag | ||
`wallet.psbt-max-fee-ratio` and is introduced by | ||
[PR #1545](https://github.com/lightninglabs/taproot-assets/pull/1545) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: missing final punctuation. And missing a space between "preferred." and "It".
@ffranr: review reminder |
Description
Allows the user to define the maximum ratio of fees to total output amounts that is used when funding a PSBT with our wallet. The default value is configured to be
0.75
.