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

Coalesce all witness fields to Proof.witness #342

Merged
merged 3 commits into from
Oct 13, 2023

Conversation

callebtc
Copy link
Collaborator

@callebtc callebtc commented Oct 13, 2023

P2PK, P2SH, and HTLC witnesses are now all stored in the same field Proof.witness. Further structure inside Proof.witness specific to each spending condition type is encoded as JSON.

Closes #340

@callebtc
Copy link
Collaborator Author

cashubtc/nuts#40 synched to changes here

@callebtc callebtc merged commit d827579 into main Oct 13, 2023
8 checks passed
@callebtc callebtc deleted the spending_conditions_proof_witness branch October 13, 2023 19:33
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.

[NUTs] P2PK and HTLC – call witness field "witness" only
1 participant