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

Use worst-case fee estimates #681

Merged
merged 1 commit into from
Oct 20, 2022
Merged

Use worst-case fee estimates #681

merged 1 commit into from
Oct 20, 2022

Conversation

casey
Copy link
Collaborator

@casey casey commented Oct 20, 2022

It's probably better to over-estimate fees than to under-estimate fees, so assume that all inputs are P2PKH inputs. The worst case would be a P2SH multisig, but those are much rarer, so use P2PKH since it's the worst of the most common input types.

@casey casey requested a review from raphjaph October 20, 2022 19:15
@casey casey merged commit e06c667 into master Oct 20, 2022
@casey casey deleted the worst-case-fee-estimation branch October 20, 2022 20:37
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.

None yet

2 participants