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

add impl of op_ctv #2143

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add impl of op_ctv #2143

wants to merge 2 commits into from

Conversation

ben2077
Copy link

@ben2077 ben2077 commented Mar 23, 2024

This is a simple CTV implementation based on my understanding of CTV. Regarding the implementation of TxHash, the current OP_TxHash and OP_CHECKTXHASHVERIFY have been well implemented in #2078.

}

for _, txOut := range vm.tx.TxOut {
outputs.Write(txOut.PkScript)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might not understand something, but aren't we missing commiting to the output values?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right bro, fixed

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.

2 participants