aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.h
diff options
context:
space:
mode:
authorJohnson Lau <[email protected]>2016-10-02 01:19:33 +0800
committerJohnson Lau <[email protected]>2016-10-16 23:53:35 +0800
commit4c0c25a604cec39675187507df423cff5d707ab5 (patch)
treeefdefd6a50693257a234ebf9a8988c306a54a12b /src/script/script_error.h
parentAdd standard limits for P2WSH with tests (diff)
downloaddiscoin-4c0c25a604cec39675187507df423cff5d707ab5.tar.xz
discoin-4c0c25a604cec39675187507df423cff5d707ab5.zip
Require compressed keys in segwit as policy and disable signing with uncompressed keys for segwit scripts
Diffstat (limited to 'src/script/script_error.h')
-rw-r--r--src/script/script_error.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/script_error.h b/src/script/script_error.h
index bccfdb99e..430836991 100644
--- a/src/script/script_error.h
+++ b/src/script/script_error.h
@@ -62,6 +62,7 @@ typedef enum ScriptError_t
SCRIPT_ERR_WITNESS_MALLEATED,
SCRIPT_ERR_WITNESS_MALLEATED_P2SH,
SCRIPT_ERR_WITNESS_UNEXPECTED,
+ SCRIPT_ERR_WITNESS_PUBKEYTYPE,
SCRIPT_ERR_ERROR_COUNT
} ScriptError;