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

fundrawtransaction fails when transaction already includes any number of inputs #1942

Open
jrick opened this issue Dec 9, 2020 · 0 comments

Comments

@jrick
Copy link
Member

jrick commented Dec 9, 2020

This method should still be usable even when the transaction already contains inputs, by adding more inputs (as needed) and adding a change output for the appropriate fee.

Since part of the reason we want this to work is for a multisig workflow through the json-rpc interface, we also want size estimation working properly when spending p2sh outputs where we know the redeem script and how large the redemption will be (as is the case for multisig). This size estimation is a prerequisite for determining the correct transaction fee and change output value.

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

No branches or pull requests

1 participant