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

Elements psbt updates #218

Closed
wants to merge 36 commits into from

Conversation

jgriffiths
Copy link
Contributor

@jgriffiths jgriffiths commented Aug 17, 2020

Updates the Elements PSBT support to match the latest changes as per ElementsProject/elements#900.

Since that spec is not finalised - yet more changes may be required.

@jgriffiths jgriffiths marked this pull request as draft August 17, 2020 02:15
@jgriffiths jgriffiths force-pushed the elements_pbst branch 6 times, most recently from c4de62c to fe658d7 Compare August 20, 2020 12:11
@jgriffiths jgriffiths force-pushed the elements_pbst branch 2 times, most recently from 506fb93 to e877af3 Compare September 8, 2020 00:40
@jgriffiths jgriffiths changed the title Elements pbst updates Elements psbt updates Sep 8, 2020
@jgriffiths jgriffiths force-pushed the elements_pbst branch 2 times, most recently from 9400bb1 to 5d8d667 Compare September 13, 2020 23:16
@jgriffiths jgriffiths force-pushed the elements_pbst branch 2 times, most recently from c40e9ad to bd62939 Compare September 16, 2020 21:57
@jgriffiths jgriffiths force-pushed the elements_pbst branch 2 times, most recently from 5ba78b1 to ddcd0f0 Compare September 27, 2020 21:15
Use these to implement the nested input/output accessor functions.
This more closely matches the transaction code however that refers to
the (commitment to) the blinded issuance amount as just the amount which
is not ideal.

Also add missing Java wrappers for these calls.
…puts

This gains us back e.g. the length checking for varbuffs and allows us
to implement the logic to handle mutually exclusive members.
Also add a test for global unknowns and fix unknown to represent a
real key value when serialised.
SWIG doesn't handle macros that define functions correctly yet, so this
is required to let SWIG work with our simplified struct macros.
@jgriffiths
Copy link
Contributor Author

Superseded with now merged PSBT/PSETv2 support, closing.

@jgriffiths jgriffiths closed this Sep 19, 2022
@jgriffiths jgriffiths deleted the elements_pbst branch September 19, 2022 11:05
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.

1 participant