- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.2k
feat: remove DIP0020 requirement for OP_ since it is activated long time ago #6302
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: remove DIP0020 requirement for OP_ since it is activated long time ago #6302
Conversation
| I'm really surprised it's possible to just drop a flag like that.... will need to think/test a bit... | 
| Couldn't think of any issues, seems to be a valid solution 👍 just one small suggestion, see above | 
| This pull request has conflicts, please rebase. | 
bc8678f    to
    3fe6d14      
    Compare
  
    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.
light ACK 3fe6d14
| CI failure after rebase is unrelated, see #6315 | 
| This pull request has conflicts, please rebase. | 
3fe6d14    to
    c8fd37d      
    Compare
  
    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.
utACK c8fd37d
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.
utACK c8fd37d
Issue being fixed or feature implemented
it's alternate solution for #6299 to fix a crash reported #6256
What was done?
Removed code related to DIP0020 activation for various OP codes. DIP0020 is activated long time ago and no any historical blocks are violating rules, removing it's backwards compatible.
How Has This Been Tested?
Run unit and functional tests. See also changes in data for unit tests and removed functional test.
It also re-index mainnet and testnet successfully
Also extra test is done with bitcoin#23590 - no crash with it in
feature_dip0020_activation.py[modified assuming it is always activated]Breaking Changes
N/A
Checklist: