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

taproot deploy bit #3

Open
wakiyamap opened this issue May 7, 2021 · 1 comment
Open

taproot deploy bit #3

wakiyamap opened this issue May 7, 2021 · 1 comment

Comments

@wakiyamap
Copy link
Member

chaincfg辺り。
とりあえずsignetのみONになってるけど、0.22が来た段階で恐らくmainnetの方にも更新が来るので注意

@wakiyamap
Copy link
Member Author

該当commit記録
73b8e0d

wakiyamap pushed a commit that referenced this issue May 3, 2022
…schnorr/ecdsa

In this commit, we add a new signatureVerifier interface that will allow
us to consolidate a lot of code as we'll now have 4 distinct sig+sighash
types to verify:
  1. pre-segwit
  2. segwit v0
  3. segwit v1 (taproot key spend)
  4. tapscript spends

We'll need to be able to handle 3 of the cases for the modified
OP_CHECKSIG operator. This new abstraction allows us to keep the
implementation of the function somewhat succinct.

In this commit we implement a verifier for #3 which is needed to verify
the top-level taproot keyspend. We expose the verifier using a new
VerifyTaprootKeySpend function.
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

1 participant