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

[psetv2] Add new partial input fields #56

Open
altafan opened this issue Sep 19, 2022 · 1 comment
Open

[psetv2] Add new partial input fields #56

altafan opened this issue Sep 19, 2022 · 1 comment
Assignees

Comments

@altafan
Copy link
Collaborator

altafan commented Sep 19, 2022

The spec now defines 3 new per-input proprietary fields that must be added to our implementation:

  • PSBT_ELEMENTS_IN_EXPLICIT_ASSET
  • PSBT_ELEMENTS_IN_ASSET_PROOF
  • PSBT_ELEMENTS_IN_BLINDED_ISSUANCE
@altafan
Copy link
Collaborator Author

altafan commented Oct 25, 2022

NOTE: By adding the PSBT_ELEMENTS_IN_BLINDED_ISSUANCE input field, we don't need the argument issuanceInputBlindingArgs in generator.blindOutputs anymore.

That argument was needed to know if an input issuance (ONLY issuance, not reissuance) is blinded or not. Now, we can know this directly from the partial input field.

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

2 participants