aboutsummaryrefslogtreecommitdiff
path: root/src/script/interpreter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make SCRIPT_VERIFY_STRICTENC compatible with BIP62Pieter Wuille2014-10-081-21/+55
| | | | | | | | * 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.
* Replace SCRIPT_VERIFY_NOCACHE by flag directly to checkerPieter Wuille2014-10-021-5/+5
|
* Make signature cache optionalPieter Wuille2014-10-021-68/+6
|
* Abstract out SignatureCheckerPieter Wuille2014-10-021-9/+10
|
* script: don't read past the endCory Fields2014-09-251-1/+2
|
* script: Fix reference into empty vector run time exceptionENikS2014-09-251-6/+6
| | | | Edit by laanwj: `begin_ptr(sourcedata) + sourcedata.size()` -> `end_ptr(sourcedata)`
* Merge pull request #4555Wladimir J. van der Laan2014-09-171-13/+9
|\ | | | | | | | | | | | | 6dcfda2 Don't pass nHashType to EvalScript nor CheckSig (jtimon) 2b23a87 Don't pass nHashType to VerifyScript (jtimon) ce3649fb Remove CScriptCheck::nHashType (was always 0) (jtimon) 358562b Remove unused function main:VerifySignature (jtimon)
| * Don't pass nHashType to EvalScript nor CheckSigjtimon2014-09-121-11/+8
| |
| * Don't pass nHashType to VerifyScriptjtimon2014-09-121-5/+4
| |
* | cleanup new script files (no code changes)Philip Kaufmann2014-09-141-2/+2
|/ | | | | | - add missing header end comments - ensure alphabetical ordering - update copyright year and license
* Separate script/interpreterjtimon2014-09-081-0/+1048