diff options
| author | Pieter Wuille <[email protected]> | 2014-11-08 09:32:29 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-11-20 15:29:26 +0100 |
| commit | 98b135f97f16005687f420136114f80555bc8688 (patch) | |
| tree | 2a7fc61b615881350b2a1d7a306b50137f10d9a0 /src/script/script_error.h | |
| parent | Merge pull request #5000 (diff) | |
| download | discoin-98b135f97f16005687f420136114f80555bc8688.tar.xz discoin-98b135f97f16005687f420136114f80555bc8688.zip | |
Make STRICTENC invalid pubkeys fail the script rather than the opcode.
This turns STRICTENC turn into a softforking-safe change (even though it
is not intended as a consensus rule), and as a result guarantee that using
it for mempool validation only results in consensus-valid transactions in
the mempool.
Diffstat (limited to 'src/script/script_error.h')
| -rw-r--r-- | src/script/script_error.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/script_error.h b/src/script/script_error.h index 21153f1bd..ac1f2deae 100644 --- a/src/script/script_error.h +++ b/src/script/script_error.h @@ -42,6 +42,7 @@ typedef enum ScriptError_t SCRIPT_ERR_SIG_PUSHONLY, SCRIPT_ERR_SIG_HIGH_S, SCRIPT_ERR_SIG_NULLDUMMY, + SCRIPT_ERR_PUBKEYTYPE, /* softfork safeness */ SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS, |