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

txscript: Cleanup and add tests for rshift opcode. #1289

Merged
merged 1 commit into from
Jun 13, 2018

Commits on Jun 13, 2018

  1. txscript: Cleanup and add tests for rshift opcode.

    This cleans up the code for handling the right shift opcode to
    explicitly call out its semantics which are likely not otherwise obvious
    as well as improve its readability.
    
    It also adds several tests to the reference script tests which exercise
    the semantics of the right shift opcode including both positive and
    negative tests.
    davecgh committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    0ee1468 View commit details
    Browse the repository at this point in the history