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

VerifyScript not upgraded for segwit #224

Open
kanzure opened this issue Jan 19, 2020 · 3 comments
Open

VerifyScript not upgraded for segwit #224

kanzure opened this issue Jan 19, 2020 · 3 comments

Comments

@kanzure
Copy link
Collaborator

kanzure commented Jan 19, 2020

See upstream updates for VerifyScript to handle witness validation: https://github.com/bitcoin/bitcoin/blob/a654626f076a72416a3d354218d7107571d6caaf/src/script/interpreter.cpp#L1472

@dgpv
Copy link
Contributor

dgpv commented Jan 19, 2020

python-bitcointx's scripteval.py (https://github.com/Simplexum/python-bitcointx/blob/master/bitcointx/core/scripteval.py) supports segwit, but I feel it will require some work to backport.

Easier way might be to backport an interface to bitcoinconsensus library: https://github.com/Simplexum/python-bitcointx/blob/master/bitcointx/core/bitcoinconsensus.py -- there's not that much code.

@farahats9
Copy link

Any idea when this will be implemented?

@petertodd
Copy link
Owner

petertodd commented Nov 7, 2023 via email

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

4 participants