• Pieter Wuille's avatar
    Make SCRIPT_VERIFY_STRICTENC compatible with BIP62 · 9df9cf5a
    Pieter Wuille authored
    * Delete canonical_tests.cpp, and move the tests to script_tests.cpp.
    * Split off SCRIPT_VERIFY_DERSIG from SCRIPT_VERIFY_STRICTENC (the BIP62 part of it).
    * Change signature STRICTENC/DERSIG semantics to fail the script entirely rather than the CHECKSIG result (softfork safety, and BIP62 requirement).
    * Add many autogenerated tests for several odd cases.
    * Mention specific BIP62 rules in the script verification flags.
    9df9cf5a
interpreter.cpp 35.7 KB