73 Commits (935bd0a447834fa48c218ddae2a5d835a67979ef)

Author SHA1 Message Date
  Wladimir J. van der Laan 92fd887fd4 tests: add a BasicTestingSetup and apply to all tests 6 years ago
  Suhas Daftuar 78c6bedb9c Add test for DER-encoding edge case 6 years ago
  Suhas Daftuar 6f50dbd2fd Fix NegateSignatureS to not duplicate last byte of S 6 years ago
  Pieter Wuille 9fddceda44 Avoid storing a reference passed to SignatureChecker constructors 6 years ago
  Pieter Wuille 858809a33e Use separate SignatureChecker for CMutableTransaction 6 years ago
  Pieter Wuille 092e9fe5fb Example unit tests from BIP66 6 years ago
  Cory Fields 856e862f4a namespace: drop most boost namespaces and a few header cleanups 6 years ago
  Pavel Vasin de236f57c6 clarify obscure uses of EvalScript() 6 years ago
  Pieter Wuille f67a9ce0dc Use deterministically generated script tests 6 years ago
  Pieter Wuille b6e03cc592 Add SCRIPT_VERIFY_CLEANSTACK (BIP62 rule 6) 7 years ago
  Pieter Wuille a53fd41485 Deterministic signing 6 years ago
  Pieter Wuille 98b135f97f Make STRICTENC invalid pubkeys fail the script rather than the opcode. 6 years ago
  Cory Fields 269efa30ed build: add quick consensus lib tests 7 years ago
  Pieter Wuille 4c97c64bf6 Do not use EC code in global constructors 6 years ago
  Cory Fields 219a1470c4 script: check ScriptError values in script tests 6 years ago
  Pieter Wuille f4e0aefadc Do signature-s negation inside the tests 6 years ago
  Pieter Wuille 698c6abb25 Add SCRIPT_VERIFY_MINIMALDATA (BIP62 rules 3 and 4) 7 years ago
  Pieter Wuille d752ba86c1 Add SCRIPT_VERIFY_SIGPUSHONLY (BIP62 rule 2) 7 years ago
  Cory Fields e9ca4280f3 script: add ToByteVector() for converting anything with begin/end 7 years ago
  Cory Fields 066e2a1403 script: move CScriptID to standard.h and add a ctor for creating them from CScripts 7 years ago
  Pieter Wuille 9df9cf5a9f Make SCRIPT_VERIFY_STRICTENC compatible with BIP62 7 years ago
  Pieter Wuille 2c930d932b Prettify JSON tests and minimize diffs 7 years ago
  jtimon 54510f2672 DRY: Avoid repetitions in script_test 7 years ago
  Pieter Wuille e790c370b5 Replace SCRIPT_VERIFY_NOCACHE by flag directly to checker 7 years ago
  Pieter Wuille c7829ea797 Abstract out SignatureChecker 7 years ago
  Pieter Wuille 68af7d02cf Fix vector out of bounds in script tests 7 years ago
  Pieter Wuille 8138cbea3c Add automatic script test generation, and actual checksig tests 7 years ago
  Pieter Wuille 76ec867796 Use actually valid transactions for script tests 7 years ago
  Pieter Wuille 0be990ba34 Move CTxDestination from script/script to script/standard 7 years ago
  jtimon 6dcfda2dc4 Don't pass nHashType to EvalScript nor CheckSig 7 years ago
  jtimon 2b23a87599 Don't pass nHashType to VerifyScript 7 years ago
  Pieter Wuille 6022b5dc6b Make script_{valid,invalid}.json validation flags configurable 7 years ago
  jtimon e088d65acb Separate script/sign 7 years ago
  jtimon cbd22a50c4 Move CScript class and dependencies to script/script 7 years ago
  jtimon 86dbeea2cd Rename script.h/.cpp to scriptutils.h/.cpp (plus remove duplicated includes) 7 years ago
  Peter Todd aa41ac216e
Test IsPushOnly() with invalid push 7 years ago
  jtimon f5745fa52a Declare SignatureHash() in script.h 7 years ago
  Jeff Garzik b2aeaa7939 Move ParseScript() helper, becoming accessible outside src/test/ 7 years ago
  Pieter Wuille 4949004d68 Add CMutableTransaction and make CTransaction immutable. 7 years ago
  Wladimir J. van der Laan 3fc6846181 Add licenses for tests and test data 7 years ago
  Peter Todd b41e594773
Fix script test handling of empty scripts 7 years ago
  Pieter Wuille 87fe71e1fc Add HasCanonicalPushes(), and use it in IsStandardTx 8 years ago
  Brandon Dahler 51ed9ec971 Cleanup code using forward declarations. 8 years ago
  Jeff Garzik 0db9a805bd Revert "Switch to using raw_utf8" 8 years ago
  Pieter Wuille f5857e5cb5 Inline signature serializer 8 years ago
  Cory Fields 152e51c7af included-tests: generate binary data from test files for inclusion into test binaries 8 years ago
  Luke Dashjr 1e9d3b1392 Bugfix: Since test_bitcoin is being built and run inside src/test/, try using relative directories from that point 8 years ago
  Peter Todd 214d45b6b9
Document and test OP_RESERVED weirdness 8 years ago
  constantined 2ecb7555a9 Switch to using raw_utf8 8 years ago
  Pieter Wuille dfa23b94c2 CSecret/CKey -> CKey/CPubKey split/refactor 8 years ago