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 allowed list of opcodes on consensus #4821

Closed
SWvheerden opened this issue Oct 19, 2022 · 0 comments · Fixed by #4836
Closed

Add allowed list of opcodes on consensus #4821

SWvheerden opened this issue Oct 19, 2022 · 0 comments · Fixed by #4836
Assignees

Comments

@SWvheerden
Copy link
Collaborator

We need to add a list of allowed opcodes on the consensus that's allowed per height. Similar to how output, input, etc versions are handled

stringhandler pushed a commit that referenced this issue Oct 25, 2022
Description
---
This adds in an opcode versioning that is allowed.
Refactors the validation to ensure transaction versioning info is check by blocks as well. 

Motivation and Context
---
We might need to add in new opcodes as hard forks. This adds the opcode version as part of the consensus code so we can track allowed opcodes. 

How Has This Been Tested?
---
Unit tests

Fixes: #4821
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant