aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2018-04-04 17:18:57 -0700
committerPieter Wuille <[email protected]>2018-04-04 17:30:24 -0700
commit88430cbab4dca36b6a867364cab319cde6a9ebca (patch)
treec5c687eb1633b3068b87ec2a9f90905745d07de5 /src/httpserver.cpp
parentMerge #12460: Assert CPubKey::ValidLength to the pubkey's header-relevant size (diff)
parentMake segwit failure due to CLEANSTACK violation return a SCRIPT_ERR_CLEANSTAC... (diff)
downloaddiscoin-88430cbab4dca36b6a867364cab319cde6a9ebca.tar.xz
discoin-88430cbab4dca36b6a867364cab319cde6a9ebca.zip
Merge #12167: Make segwit failure due to CLEANSTACK violation return a SCRIPT_ERR_CLEANSTACK error code
1e747e3c1e Make segwit failure due to CLEANSTACK violation return a SCRIPT_ERR_CLEANSTACK error code. (Mark Friedenbach) Pull request description: If a segwit script terminates with a stack size not equal to one, the current error code is EVAL_FALSE. This is semantically wrong, and prevents explicitly checking CLEANSTACK violations in the unit tests. This PR changes the error code (and affected unit tests) to use SCRIPT_ERROR_CLEANSTACK instead of SCRIPT_ERROR_EVAL_FALSE. Tree-SHA512: 8f7b1650f7a23a942cde1070e3e56420be456b4a7be42515b237e95557bf2bd5e7ba9aabd213c8092bea28c165dbe73f5a3486300089aeb01e698151b42484b1
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions