-
Notifications
You must be signed in to change notification settings - Fork 136
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
Updates, candidate 0.9.1 release #406
Commits on Jul 26, 2023
-
psbt: return NULL rather than an error when fetching missing structs
This allows the caller to differentiate between an invalid PSBT/arguments and whether a given struct is present or not.
Configuration menu - View commit details
-
Copy full SHA for cf67e09 - Browse repository at this point
Copy the full SHA cf67e09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 836f1e0 - Browse repository at this point
Copy the full SHA 836f1e0View commit details -
psbt: allow setting a global tx with scriptSigs and witnesses
Rather than forcing the caller to remove these before setting the tx, ignore them when cloning into the global tx. Note that any global tx in a serialized PSBT v0 must still not contain these tx input elements as this is invalid according to BIP-174. (Strictly speaking, witnesses should never be present in the global tx because it should be serialized without them. An upcoming change adds a test case for this).
Configuration menu - View commit details
-
Copy full SHA for 765fccb - Browse repository at this point
Copy the full SHA 765fccbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e327f1c - Browse repository at this point
Copy the full SHA e327f1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37f2b0c - Browse repository at this point
Copy the full SHA 37f2b0cView commit details
Commits on Jul 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d087f62 - Browse repository at this point
Copy the full SHA d087f62View commit details -
tx: allow creating a witness stack from its bip 144 serialization
Expose this by reusing the PSBT parsing code.
Configuration menu - View commit details
-
Copy full SHA for a067e70 - Browse repository at this point
Copy the full SHA a067e70View commit details -
tx: allow serializing a witness stack to its bip 144 representation
Also adds num_items and length getters.
Configuration menu - View commit details
-
Copy full SHA for 745fe39 - Browse repository at this point
Copy the full SHA 745fe39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8655250 - Browse repository at this point
Copy the full SHA 8655250View commit details -
psbt: upgrade the tx version if required when upgrading a psbt
PSBTv2 has a minimum tx version requirement of 2, in order to support its ability to negotiate locktimes. When upgrading a v0 PSBT to v2, automatically increase the tx version to comply with the v2 spec. This means that code which internally upgrades to v2 for processing, then downgrades to v0 later should either: - Do nothing, and accept that the tx version will always be updated - Reject PSBTs containing a tx version less than 2, or - Save and restore the tx version manually, if they are assured that no v2 tx features are used.
Configuration menu - View commit details
-
Copy full SHA for 947d5ad - Browse repository at this point
Copy the full SHA 947d5adView commit details
Commits on Jul 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9f87133 - Browse repository at this point
Copy the full SHA 9f87133View commit details
Commits on Aug 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a31587c - Browse repository at this point
Copy the full SHA a31587cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51fcd15 - Browse repository at this point
Copy the full SHA 51fcd15View commit details -
Configuration menu - View commit details
-
Copy full SHA for f73e395 - Browse repository at this point
Copy the full SHA f73e395View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d2f0d4 - Browse repository at this point
Copy the full SHA 3d2f0d4View commit details