-
Notifications
You must be signed in to change notification settings - Fork 62
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
Feat/taproot verify #289
Feat/taproot verify #289
Conversation
@Jeanmichel7 is attempting to deploy a commit to the keep-starknet-strange Team on Vercel. A member of the Team first needs to authorize it. |
It's probably best to go ahead and set up the caches, yeah, nice work so far! Let me know when you're ready, and I can do a deeper review. Thanks! |
Hey @Jeanmichel7 how is the progress on the PR? I would like to merge it soon, because it would be used in the Bitcoin inscriptions contracts. |
<!-- enter the gh issue after hash --> - [X] follows contribution [guide](https://github.com/keep-starknet-strange/shinigami/blob/main/CONTRIBUTING.md) - [X] code change includes tests Adding Schnorr signatures verification. Works alongside with #289 --------- Co-authored-by: j1mbo64 <[email protected]>
@lana-shanghai There are still a few TODOs for SigVerify, but as you seem to be in a hurry, there's already enough for a review. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please handle the hashcache for the rest of the functionality
calc_hash_inputs_amount and calc_hash_input_scripts in SigHashMidstateTrait::new(tx) for taproot
I think it's essential to set up the cache in order to be able to retrieve the utxos of the inputs processed in the calcHashInputAmounts and calcHashInputScript functions.
https://github.com/btcsuite/btcd/blob/master/txscript/hashcache.go#L157
Before going any further, I'd like your opinion