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

Notes from Tabconf #43

Closed
sanket1729 opened this issue Oct 13, 2022 · 3 comments
Closed

Notes from Tabconf #43

sanket1729 opened this issue Oct 13, 2022 · 3 comments

Comments

@sanket1729
Copy link
Member

  • We should have a finalized FinalizedCommitNode type

  • finalize() API that checks CommitNode is () -> () without any Witness

  • RedeemNode API should accept FinalizedCommitNode to Witness.

  • Value should save the Type information

  • Debug uncommented assertions in the code

  • Add a comment explaining why we Clone in encoding Witness

  • Given two finalized nodes, there are two ways to compose them:

    • _Un_finalize both of them and refinalize them again. This is the trivially correct way to do it but it may change the types of witness nodes.
    • "Unify" the nodes. This should? work if there are no cross-references. Either it fits or does not fit under unification constraints.
    • Can we say under what conditions the second approach is the correct way to do things? Should we refuse to unify if the second approach is not the same as the first?
@apoelstra
Copy link
Collaborator

cc @roconnor-blockstream the last bullet point in particular we had some doubts about and would've liked to have had you in the room. (We can also have a phone call to try to elaborate if it's not clear from this issue what we're thinking.)

@uncomputable uncomputable mentioned this issue Oct 27, 2022
@uncomputable
Copy link
Collaborator

I think we should split this into separate issues and those this one.

@uncomputable
Copy link
Collaborator

Moved to #105 #106 #107 #108

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

3 participants