50 Commits (65e4e8427d900b27f579dc12af6c74b3ec628286)

Author SHA1 Message Date
Cory Fields e9ca4280f3 script: add ToByteVector() for converting anything with begin/end 10 years ago
Pieter Wuille 9df9cf5a9f Make SCRIPT_VERIFY_STRICTENC compatible with BIP62 10 years ago
Pieter Wuille e790c370b5 Replace SCRIPT_VERIFY_NOCACHE by flag directly to checker 10 years ago
Pieter Wuille 8138cbea3c Add automatic script test generation, and actual checksig tests 10 years ago
Pieter Wuille 7c70438dc6 Get rid of the dummy CCoinsViewCache constructor arg 10 years ago
Pieter Wuille c9d1a81ce7 Get rid of CCoinsView's SetCoins and SetBestBlock. 10 years ago
Pieter Wuille 0be990ba34 Move CTxDestination from script/script to script/standard 10 years ago
jtimon 2b23a87599 Don't pass nHashType to VerifyScript 10 years ago
Pieter Wuille 6022b5dc6b Make script_{valid,invalid}.json validation flags configurable 10 years ago
jtimon cbd22a50c4 Move CScript class and dependencies to script/script 10 years ago
jtimon 86dbeea2cd Rename script.h/.cpp to scriptutils.h/.cpp (plus remove duplicated includes) 10 years ago
Jeff Garzik b2aeaa7939 Move ParseScript() helper, becoming accessible outside src/test/ 10 years ago
Pieter Wuille 4949004d68 Add CMutableTransaction and make CTransaction immutable. 11 years ago
Wladimir J. van der Laan e443ed2462
Fix transaction tests 11 years ago
Peter Todd 6380180821 Add rejection of non-null CHECKMULTISIG dummy values 11 years ago
Peter Todd 29c17498a5 Let tx (in)valid tests use any SCRIPT_VERIFY flag 11 years ago
Wladimir J. van der Laan ed67100565 Add required locks in tests 11 years ago
Wladimir J. van der Laan 3fc6846181 Add licenses for tests and test data 11 years ago
Jeff Garzik 8175c790eb script: reduce OP_RETURN standard relay bytes to 40 11 years ago
Mike Hearn 6a4c196dd6 Drop fees by 10x due to the persistently higher exchange rate. 11 years ago
Brandon Dahler 51ed9ec971 Cleanup code using forward declarations. 11 years ago
Peter Todd 22de68dffc
Relay OP_RETURN TxOut as standard transaction type 11 years ago
Jeff Garzik 0db9a805bd Revert "Switch to using raw_utf8" 11 years ago
Jeff Garzik a79342479f Relay OP_RETURN data TxOut as standard transaction type 11 years ago
Cory Fields 152e51c7af included-tests: generate binary data from test files for inclusion into test binaries 11 years ago
constantined 2ecb7555a9 Switch to using raw_utf8 11 years ago
Jeff Garzik 980bfe6ef8 Log reason for non-standard transaction rejection 12 years ago
Eric Lombrozo 05df3fc68d Removed AcceptToMemoryPool method from CTransaction. This method belongs to the mempool instance. 12 years ago
Gavin Andresen 8de9bb53af Define dust transaction outputs, and make them non-standard 12 years ago
Pieter Wuille ef3988ca36 CValidationState framework 12 years ago
Pieter Wuille 99d0d0f356 Introduce script verification flags 12 years ago
Pieter Wuille 13c51f20f6 Direct CCoins references 12 years ago
Pieter Wuille 450cbb0944 Ultraprune 12 years ago
Pieter Wuille 58bc86e37f Check for canonical public keys and signatures 12 years ago
Matt Corallo 1fcebc16c5 check tx.CheckTransaction for data-driven tx tests. 12 years ago
Matt Corallo fc4743faa8 Add data-driven transaction tests. 12 years ago
Pieter Wuille 1025440184 Refactor: split CKeyID/CScriptID/CTxDestination from CBitcoinAddress 13 years ago
Pieter Wuille 0a83c0fcef Fix tests after recent refactors 13 years ago
Pieter Wuille 0d56f11ada Fix tests after 38067c18 13 years ago
Gavin Andresen 137d0685a4 Simplify counting of P2SH sigops to match BIP 16 (thanks to Matt Corallo for prompting this). 13 years ago
Gavin Andresen 39f0d96860 Make transactions with extra data in their scriptSig's non-standard. 13 years ago
Gavin Andresen 8d7849b6db Refactored ConnectInputs, so valid-transaction-checks are done before ECDSA-verifying signatures. 13 years ago
Gavin Andresen 1466b8b78a Rework unit tests so test_bitcoin.cpp does not #include them all 13 years ago
Matt Corallo 3c8cecda1f Add file for transaction tests. 13 years ago