-
Notifications
You must be signed in to change notification settings - Fork 902
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
Elements PSBT / test fixup #4033
Elements PSBT / test fixup #4033
Commits on Sep 10, 2020
-
elementsd: use the elements version of a 'witness utxo'
Elements requires the witness utxo to include the asset and value info, in order for the signing hash to be constructed correctly Changelog-Fixed: elementsd: PSBTs include correct witness_utxo struct for elements transactions
Configuration menu - View commit details
-
Copy full SHA for d5bf271 - Browse repository at this point
Copy the full SHA d5bf271View commit details -
elements: include the value + asset tag for 'PSET's
Not strictly necessary as technically this info is included in the witness_utxo, but nice to have
Configuration menu - View commit details
-
Copy full SHA for f8b34af - Browse repository at this point
Copy the full SHA f8b34afView commit details -
elements: run sign + send psbt check for elements tests
Now that we're using an 'elements' witness_utxo and issue 3998 has been resolved, this should work as expected.
Configuration menu - View commit details
-
Copy full SHA for f317c0a - Browse repository at this point
Copy the full SHA f317c0aView commit details -
bitcoin: pull up elements_fee calc to allow wtx passed in
We're moving away from bitcoin_tx, slowly
Configuration menu - View commit details
-
Copy full SHA for 0da50ae - Browse repository at this point
Copy the full SHA 0da50aeView commit details -
txprepare: elements requires inclusion of an accurate fee output
so we add an accurate one
Configuration menu - View commit details
-
Copy full SHA for 34204c1 - Browse repository at this point
Copy the full SHA 34204c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5debfc7 - Browse repository at this point
Copy the full SHA 5debfc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 539bd12 - Browse repository at this point
Copy the full SHA 539bd12View commit details -
elements: use normalization for elements fee output
This will update the fee output if it exists, rather than unilaterally adding a new one. Also, if the fee output already exists, we should make sure that it doesn't interfere with the outnums of the other outputs
Configuration menu - View commit details
-
Copy full SHA for ea1a192 - Browse repository at this point
Copy the full SHA ea1a192View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2826d8 - Browse repository at this point
Copy the full SHA b2826d8View commit details -
elements: consolidate fee outputs into a single fee output
In the case that you've got more than one fee output already on a psbt, we consolidate them into a single fee output (the first)
Configuration menu - View commit details
-
Copy full SHA for 6cf66e6 - Browse repository at this point
Copy the full SHA 6cf66e6View commit details