-
Notifications
You must be signed in to change notification settings - Fork 43
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
Rethink fee estimation to ensure accuracy and prevent overspending #358
Comments
Couldn't the field clearing and |
That's not a bad idea, with some caveats:
|
We should be able to estimate the sender's P2SH weight with |
I wonder if we could estimate the receiver input weights/fees by first signing the PSBT in |
Closes #39 and #358 Adds support for mixed input script types in payjoin v2, and disables that option in v1. In v1, the check is fixed to only error if the receiver would *introduce* mixed input types. Additionally, renames `contribute_witness_inputs` to `contribute_inputs` and changes the function signature to better support non-witness and nested segwit inputs.
Closed by #367 |
rust-payjoin/payjoin/src/receive/mod.rs
Lines 976 to 978 in 59c3d27
Originally posted by @DanGould in #332 (comment)
Originally posted by @spacebear21 in #332 (comment)
The text was updated successfully, but these errors were encountered: