aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/script.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace usage of GetScriptForWitness with GetScriptForDestinationMeshCollider2020-08-141-2/+0
|
* fuzz: add missing overrides to signature_checkerJon Atack2020-07-221-1/+1
| | | | | | | | | | and also - add missing parentheses in fuzz/scriptnum_ops.cpp - remove useless unsigned int conditional in fuzz/script.cpp These changes fix 5 compile warnings in gcc 10.
* scripted-diff: TxoutType C++11 scoped enum classMarcoFalke2020-06-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- # General rename helper: $1 -> $2 rename_global() { sed -i "s/\<$1\>/$2/g" $(git grep -l "$1"); } # Helper to rename TxoutType $1 rename_value() { sed -i "s/ TX_$1,/ $1,/g" src/script/standard.h; # First strip the prefix in the definition (header) rename_global TX_$1 "TxoutType::$1"; # Then replace globally } # Change the type globally to bring it in line with the style-guide # (clsses are UpperCamelCase) rename_global 'enum txnouttype' 'enum class TxoutType' rename_global 'txnouttype' 'TxoutType' # Now rename each enum value rename_value 'NONSTANDARD' rename_value 'PUBKEY' rename_value 'PUBKEYHASH' rename_value 'SCRIPTHASH' rename_value 'MULTISIG' rename_value 'NULL_DATA' rename_value 'WITNESS_V0_KEYHASH' rename_value 'WITNESS_V0_SCRIPTHASH' rename_value 'WITNESS_UNKNOWN' -END VERIFY SCRIPT-
* tests: Fill fuzzing coverage gaps for functions in script/script.h, ↵practicalswift2020-05-301-0/+39
| | | | script/script_error.h and script/standard.h
* Switch from Optional<T> to std::optional<T> (C++17). Run clang-format.practicalswift2020-05-141-2/+7
|
* scripted-diff: Bump copyright headersMarcoFalke2020-04-161-1/+1
| | | | | | -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT-
* fuzz: Extend script fuzz testMarcoFalke2020-04-041-4/+26
|
* tests: Simplify code by removing unwarranted use of unique_ptr:spracticalswift2020-03-111-1/+1
|
* tests: Increase fuzzing coverage of DecompressScript(...)practicalswift2020-03-111-0/+12
|
* tests: Remove unit test from fuzzing harnesspracticalswift2020-03-111-7/+0
|
* fuzz: Add assert(script == decompressed_script)MarcoFalke2020-03-071-0/+2
|
* tests: Fuzz additional functions in the script fuzzing harnesspracticalswift2020-03-071-1/+30
|
* tests: Add fuzzing harness for various CScript related functionspracticalswift2019-10-251-0/+64